Skip to content
SolRengine
Case study

Solana Bytes — a hex visualizer and arcade game

Paste any Solana address and see its raw account bytes color-coded by field — then turn it into an 8-bit arcade game. A Rails app that decodes on-chain data in Ruby.

auth rpc all networks
Live demo View source
bytes.solrengine.org
Solana Bytes — a hex visualizer and arcade game screenshot

Solana Bytes is an interactive hex visualizer for Solana accounts — paste any address and it dumps the raw account bytes, color-coded by field, with hover tooltips that decode each region. Then it flips into a Byte Challenge: an 8-bit arcade game where you hunt for specific fields in a gray hex dump, build streaks, and climb a leaderboard.

It’s the most playful app in the showcase, and a good demonstration that “decode raw on-chain bytes” is something Rails can do cleanly — entirely in Ruby.

What it does

How it’s built

Decoding bytes in Ruby

The whole app hinges on turning raw getAccountInfo bytes into meaningful, labeled regions. That decoding — discriminators, pubkeys, u64 amounts, Token-2022 extension TLVs, ELF headers — runs server-side in Ruby presenters, fed by solrengine-rpc. The front end only renders the structured output the server produces.

Game integrity, server-side

A leaderboard invites cheating, so the streak can’t live in the browser:

The SolRengine gems behind it

It also leans on base58 for address decoding and rack-attack for rate limiting.

Try it

← All showcases Build your own →