Skip to content

GoodDaisy/rundler

Repository files navigation

Rundler

Development

Build & Test

Prerequisites:

rustup toolchain add nightly

Run tests:

git clone https://github.com/OMGWINNING/rundler
cd rundler
cargo test --all

Run locally:

Running locally requires access to an Ethereum RPC node on the network the Rundler is running on. For testing it is recommended to run a local devlopment node.

Steps to run Geth in dev mode locally:

  1. cd test
  2. docker compose up (use -d) to run in background.

Steps to run Rundler locally:

  1. Copy the default .env file. By default, this will be pointing at the local Geth node.
cp test/.env.default .env
  1. (Optional) Fund and deploy contracts. Contracts are deployed from the account-abstraction repo. This does the following:
    • Creates an account for the bundler to use.
    • Deploys the EntryPoint.
    • Deploys a SimpleAccountFactory.
    • Deploys a VerifyingPaymaster.
    • Deploys a SimpleAccount.
    • Funds each of the accounts.
cargo run --bin deploy_dev_contracts
  1. (Optional) Modify the BUNDLER_PRIVATE_KEY field if using a different account than was funded in #2.

  2. Start the Rundler

cargo run node

Contributing:

About

An ERC-4337 Bundler in Rust

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 93.4%
  • Solidity 3.3%
  • TypeScript 2.3%
  • Other 1.0%