Skip to content

rooware-io/executor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Executor

Bare-bones Solana transaction playground, based off of Neodyme's poc-framework.

Features

  • 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

Gotchas

  • 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):

Workspace breakdown

  • core/: transaction execution logic
  • server/: wrapper server exposing the core logic through HTTP
  • client/: client for above server
  • client-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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages