2048: every move is a transaction
Click Load the game, then Play, and use the arrow keys (or swipe). It runs on devnet, Solana’s free test network, so nothing costs real money.
What Solana is doing
Play opens a game account and a session key
Your board and score live in a small account that the 2048 program owns. Play also creates a session key: a short-lived key, funded with a little devnet SOL, that the program accepts for moves, so you don’t approve every one.
Each arrow key sends a transaction
The transaction holds one instruction,
push_in_direction, with the direction you pressed. The session key signs it and pays the fee, a fraction of a cent.The program updates your board
The 2048 program merges the tiles and writes the new board and score to your game account, and updates the high-score list. It all happens in one transaction: every change, or none.
The game shows the move before it’s final
To feel instant, the game draws the result as soon as a validator processes the transaction, and rolls the move back if the network doesn’t confirm it.
Checkout: a customer pays 1 USDC
One tap, and the shop sees the order paid. Both demos below send real devnet transactions, each linked to Explorer.1 USDC
Order #1001 waiting
What Solana is doing
Sign: the customer approves 1 USDC
The transaction holds one transfer, from the customer's USDC account to the shop's. A test wallet on the server signs it here, where a customer's wallet app would.
Send: a validator runs the transfer
The validator producing blocks right now runs the Token program, which checks the signature and the balance, then moves the USDC. The fee is a fraction of a cent.
Final: the shop sees it paid
Once the network confirms the block, the payment is final. The shop watches its account and marks the order paid.
Create a token
One tap creates a new token on devnet: a Token-2022 mint with its name and symbol stored in the mint itself.DEMO
No token yet
What Solana is doing
Sign: a new address for the token
The server makes a keypair for the new mint account. The demo wallet signs to pay the fee and rent, and the new key signs to claim the address.
Send: Token-2022 sets up the mint
One transaction creates the account, sets 6 decimals and who can mint, and writes the name and symbol into the mint itself, with the metadata extension.
Final: the token exists
Once the network confirms the block, the token is final. Anyone can look it up, and its mint authority can start minting.
Solana right now
Payments like these settle on mainnet with real money all day. Below is mainnet as it runs: each block as it’s produced, with how many transactions it held. Hover over or tap a block to see what it is, with a link to Explorer.Loading live mainnet data…