Solana Ruby Gems

Open source Ruby gems for building on Solana.

Solana's official SDKs and tooling are built primarily for TypeScript and Rust. To make the ecosystem more accessible to Ruby and Rails developers, we maintain a set of open source gems that port core Solana functionality into idiomatic Ruby, along with other open source work we contribute back to the ecosystem.


solana-ruby-kit

A Ruby port of @anza-xyz/kit, the official Solana TypeScript SDK. It provides an idiomatic Ruby implementation with static type support via Sorbet, covering cryptographic operations, transaction construction and signing, a JSON-RPC client, WebSocket subscriptions, and program interfaces — mirroring the structure of the original SDK.

View on GitHub
solana-ruby-wallet-adapter

A Ruby on Rails gem port of @solana/wallet-adapter, with Sorbet static types throughout. It provides wallet metadata discovery, server-side Ed25519 signature verification, and Sign-In-With-Solana (SIWS) challenge/response flows — bridging browser-based wallet connections with backend transaction handling and authentication, without a React dependency.

View on GitHub
rwa-classification

A draft Solana application standard for declaring real-world asset representations on-chain — what asset a token represents, what claim the holder has, and where to find extended data. It layers self-declared classification in Token-2022 metadata, expiring attestations via the Solana Attestation Service, and signed off-chain discovery data, with a dependency-free TypeScript parser, validator, and trust resolver plus live devnet examples.

View on GitHub
ioniqx-rwa-client

A Ruby client for the ioniqx real-world asset program suite on Solana, built on top of solana-ruby-kit. It covers what the base kit does not: Anchor instruction discriminators, IDL-to-instruction mapping with the right codecs, transfer-hook extra account resolution, instruction builders for the five ioniqx programs, and reading RWA classification metadata and attestations.

View on GitHub
solana-ruby-watchtower

An off-box monitor for Solana validators, built for active/standby HA pairs. Like agave-watchtower it alerts when the vote account stops voting or goes delinquent. It also reads the gossip table to catch what failover tooling misses: a dead node, the staked identity running on an unknown host, or both nodes running the staked identity at once. Alerts go to Telegram, Slack or Discord once, again while a problem lasts, and when it clears. It depends only on the Ruby standard library and runs as a standalone daemon or as jobs inside a Rails app.

View on GitHub
© 2026 idhra, inc. — All Rights Reserved.