Bare-bones Solana transaction playground, based off of Neodyme's poc-framework.
- Execute a transaction or a batch of transactions locally, and retrieve intermediate states (convenient to simulate e.g. Jito bundles execution)
- Automatically load all accounts involved in the transaction(s) from the specified cluster
- Consumable as:
- Rust crate
- HTTP server wrapper & client to decouple version sets, to avoid unnecessary dependency hell when possible
- Fetch account(s) through HTTP interface
- This does not spin a local validator, and instead simply exposes a
Bank
to execute transactions and interact with accounts. - Depending on your needs, you might be better off using (in increasing order of abstraction):
- Neodyme's poc-framework
- solana's ProgramTest utility
- solana-test-validator
- RPC simulation
- devnet
- PROD!
core/
: transaction execution logicserver/
: wrapper server exposing thecore
logic through HTTPclient/
: client for above serverclient-gen/
: library exposing a single macro to generate a client within your own crate, and avoid binding the solana dependencies (useful in case of dependency pinning hell, even though versions are compatible)example/
: sample usage of the client-gen