Getting started
Overview
Reley is a per-project, per-session SVM sandbox loaded with real on-chain Solana programs. Clone, patch, replay, and publish a session as a Solana-compatible JSON-RPC endpoint.
What you get
Cloneany program by pubkey. Program, account state, Anchor IDL, transitive PDAs.Patchany field on any cloned account. IDL-aware for Anchor, native layouts for SPL Token / Token-2022, raw splices for anything else.Replayany historical mainnet transaction by signature. Hydrates atslot - 1, executes, diffs.Servea session as Solana JSON-RPC atlocalhost:8899/session/<id>. Wire-compatible with @solana/web3.js, Anchor, Phantom dev mode.
Who this is for
Solana program developers, security researchers, integrators, and educators who need to exercise execution paths mainnet authority keys will not give them.
If your program CPIs into a permissioned protocol and you need the admin path, Reley clones the protocol, patches the admin, and lets you run the CPI tree locally.
Where to go next
Install
pnpm, Node 22, native modules.
First session
5-minute end-to-end walkthrough.
Clone
Resolution, caching, transitive accounts.
Patch
IDL fields, native layouts, raw splices.