The Rails framework for building Solana dapps.
Rails is the most productive web framework. Solana is the fastest blockchain. SolRengine connects them.
Most Solana dapps are CRUD apps with wallet auth — exactly what Rails was built for. You don't need React, Next.js, or a JavaScript backend to build on Solana. You need a framework that gets out of your way.
SolRengine gives Rails developers:
- Wallet Authentication — Sign in with any Solana wallet via SIWS. Ed25519 verification in Ruby.
- RPC Client — Talk to Solana from Ruby. Balances, tokens, transactions, blockhash.
- Token Portfolio — SPL token metadata from Jupiter. USD prices. Persisted in your database.
- SOL Transfers — Build transactions with @solana/kit, sign with the wallet, track confirmation.
- Real-time Updates — Solana WebSocket subscriptions push to your UI via Turbo Streams.
All using the Rails 8 default stack: Hotwire, Turbo, Stimulus, Solid Queue, Solid Cache, Solid Cable, SQLite.
gem "solrengine"rails generate solrengine:install
rails db:prepare
bin/dev| Gem | What |
|---|---|
| solrengine | Meta-gem — bundles everything |
| solrengine-auth | SIWS wallet authentication |
| solrengine-rpc | Solana JSON-RPC client |
| solrengine-tokens | Token metadata + portfolio via Jupiter |
| solrengine-transactions | SOL transfers + confirmation tracking |
| solrengine-realtime | WebSocket monitoring + Turbo Streams |
| solrengine-programs | Anchor IDL parsing, Borsh serialization, program interaction |
| solana-sdp | Custodial path — Ruby SDK for the Solana Developer Platform (wallets + payments) |
| solrengine-sdp | Custodial path — Rails engine: Wallet-per-User provisioning, tracked transfers, live balances |
Each gem works independently or together via solrengine.
The first seven gems cover the connect-your-wallet path; the two SDP gems add a Wallet-per-User custodial path on the Solana Developer Platform. Both are first-class and mix in one app.
WalletTrain — Solana wallet with token portfolio, SOL transfers, and real-time updates.
PiggyBank — Time-locked SOL savings using a custom Anchor program via solrengine-programs.
A moviendo.me project.