SOLANA DEVNET

CROSS-TRANSACTION CONSISTENCY

Engineering demonstration on Solana devnet using test tokens. This page demonstrates COSMOS's workflow engineering approach — multi-step token operations with automatic on-chain compensation on failure. It is not a product, not an offer, and not connected to mainnet funds.

A token operation is not one transaction. Approval, vesting setup and distribution are separate transactions. Solana is atomic within a transaction — not across a sequence. When a later step fails, the earlier ones stay on-chain.

This runs the sequence with real SPL token transfers, and on failure executes real on-chain compensating transactions for the steps already completed. Nothing is deleted — a chain cannot delete. Each compensation is a new, independently verifiable transaction, and the token balances return to where they started.

HOW TO USE THIS DEMO
01INSTALL PHANTOM
Install the Phantom browser extension and create a wallet. The demo uses only the devnet test network — never real funds.
02SWITCH TO DEVNET
In Phantom: Settings → Developer Settings → set the network to Solana Devnet.
03GET TEST SOL
Get free devnet SOL from any faucet, e.g. faucet.solana.com. It has no monetary value.
04CONNECT WALLET
Click CONNECT in the wallet panel below and approve in Phantom.
05RUN SETUP
Click RUN SETUP to mint a test token and open the accounts. Approve both Phantom prompts. Costs about 0.02 devnet SOL.
06CHOOSE FAILURE MODE
Choose NONE to run all three steps, or FAIL AT 2 / 3 to force a failure and watch the completed steps get compensated on-chain. FAIL AT 1 fails before any transaction is sent, so there is nothing to compensate. Then click EXECUTE FLOW.
07WATCH & VERIFY
Watch the step panel and the TOKEN ACCOUNTS balances. Every signature links to Solscan for independent verification.
08DOWNLOAD THE LOG
Every run is saved in this browser and survives a refresh. Click DOWNLOAD LOG for a text record or DOWNLOAD CSV for a spreadsheet; CLEAR removes the saved runs.
If a step shows a retry or waiting message, do not click or refresh — the engine checks transaction status and recovers on its own. Keep the Phantom panel open during a run; Phantom locks itself after about 15 minutes of inactivity.
WALLET
SETUP
Creates a test SPL token, mints 1000000 to your account, and opens an escrow and a recipient account. Two wallet prompts. Needed once before running the flow.
FAILURE INJECTION
Force a step to fail, to demonstrate compensation.
RUN
01APPROVEPENDING
Record an on-chain approval for this operation.
02VESTING SETUPPENDING
Move the allocation into the escrow account. Real SPL token transfer.
03DISTRIBUTIONPENDING
Release the allocation to the recipient. Real SPL token transfer.

Devnet is a public test network. Tokens on Devnet have no monetary value. The escrow account in this demonstration is held by a keypair generated in the browser — sufficient to show funds genuinely leaving and returning, but not a trustless escrow. A production version would use a program-derived address. This demonstration does not constitute an offer to sell or a solicitation to buy any security or digital asset.

Demo updated: 3 October 2026 — run history saved in the browser, CSV export, and a per-run balance check.