Documentation
Build Solana dApps with Ruby on Rails 8. Wallet auth, RPC, tokens, transactions, real-time updates, and custom program interaction — as modular gems.
Quickstart
From rails new to a running, wallet-authenticated dApp in about ten minutes. The fastest path through the whole stack.
The gems
Use what you need. Each gem works standalone or together via the solrengine meta-gem.
solrengine
The meta-gem. One install wires up the whole stack — auth, tokens, transfers, realtime, and the generator.
solrengine-auth
Sign In With Solana. Wallet authentication for any Wallet Standard wallet — no passwords, no emails.
solrengine-rpc
Solana JSON-RPC client. Balances, token accounts, signatures, blockhash, and transactions.
solrengine-tokens
SPL token metadata from Jupiter, cached USD prices, and wallet portfolios persisted in your DB.
solrengine-transactions
SOL transfers built with @solana/kit, signed by the wallet, with background confirmation tracking.
solrengine-realtime
WebSocket account monitoring that pushes balance changes to your views via Turbo Streams.
solrengine-programs
Anchor program interaction. Parse IDLs into account models, instruction builders, and PDA derivation.
Two custody models
The gems above are the non-custodial path — your users bring their own wallets. SolRengine also covers the custodial path, where you hold wallets for your users.
Wallet-per-User (SDP)
Custody wallets provisioned per user on the Solana Developer Platform — the solana-sdp client and the solrengine-sdp Rails engine. Requires a managed custody provider and Kora; devnet-oriented while SDP is pre-mainnet.
New to Solana on Rails?
Read Add Solana Wallet Login to Rails in Under a Minute for a focused walkthrough of the auth flow, or jump straight into the Quickstart.