Use cases

What people build with Reley.

Anything the live chain refuses or makes slow. Permissioned paths, upgrade dress rehearsals, oracle edge cases, CPI integration tests, CI without quotas.

Permissioned paths

Run the admin path you don't have keys for.

Patch a pool admin, vault manager, or program upgrade authority to your wallet. Walk the CPI tree locally.

Mint anything

Mint USDC, BONK, or any token to your wallet.

Flip mint authority on a cloned mint. Fund test scenarios with as much liquidity as you need.

Replay + debug

Re-run a failed mainnet tx with a debugger.

Hydrate at slot - 1, execute locally, compare account diffs and CU per frame against the chain.

Edge cases

Push oracles to extreme prices. Force liquidations.

Set Pyth / Switchboard feeds to any value. Test how your program behaves at the edge of its config.

Upgrades

Test the new program before you redeploy.

Clone live state, swap in the new program, replay top traffic. Catch regressions before mainnet does.

CPI integration

Wire your program against any protocol locally.

Clone Meteora, Kamino, Jupiter, Drift, anything. Build the CPI path, simulate, ship with confidence.

Workflows

Reproduce bugs your team can re-run with one click.

Stack airdrops, warps, snapshots, txs into a script. Share the sandbox as a JSON-RPC URL.

CI + tests

Run integration tests without RPC quotas.

SVM sandbox boots in milliseconds. No archive node, no rate limits, no shared state.

Use case

Test the admin path
you never had keys for.

Your program CPIs into Meteora's DLMM. The pool admin is a Meteora-controlled key. The integration path you actually need to exercise is the one only that key can call.

Reley clones the pool, the vaults, the oracle, every bin array, every mint. Then it patches pool.admin to your local wallet. The CPI tree runs. You see compute, logs, and account diffs at every frame.

Same shape for Kamino vault managers, Drift insurance authorities, Jupiter route ops, any permissioned PDA on mainnet.

clone the pool surface
$ reley account add <pool_pda> --program METEORA_DLMM
+ vault_a vault_b oracle bin_array[0..32]
+ mint_a mint_b ata_user ata_treasury
51 accounts hydrated @ slot 348,201,118
patch the admin field
$ reley patch pool --set admin=$WALLET
using IDL meteora_dlmm@0.30.1
field admin: PublicKey encoded 32B
patch staged · scope: project · auto-apply on sandbox reset
run the CPI path
$ reley tx send --ix UserProg::do_admin_thing
▾ UserProg 14,221 cu
▾ Meteora_DLMM::admin_rebalance 102,418 cu
▸ TokenProgram::transfer 4,712 cu
▸ TokenProgram::transfer 4,712 cu
tx ok · 6 accounts mutated · log lines: 38

Stop testing
against production.

Source under PolyForm Noncommercial 1.0. macOS today. Windows and Linux next.

Apple Silicon + Intel · macOS 12+