For a quick bundler instance, use one of our public hosted endpoints for your development.
Deploy Voltaire using the latest docker image
docker run --net=host --rm -ti ghcr.io/candidelabs/voltaire/voltaire-bundler:latest --bundler_secret $BUNDLER_SECRET --rpc_url $RPC_URL --rpc_port $PORT --ethereum_node_url $ETHEREUM_NODE_URL --chain_id $CHAIN_ID --verbose --unsafe --disable_p2p
curl -sSL https://install.python-poetry.org | python3 -
poetry install
poetry env use python3.11
Follow the installation guide to install docker on ubuntu
Follow the instruction for docker's post linux instalation
docker run --rm -ti --name geth -p 8545:8545 ethereum/client-go:v1.10.26 \
--miner.gaslimit 12000000 \
--http --http.api personal,eth,net,web3,debug \
--http.vhosts '*,localhost,host.docker.internal' --http.addr "0.0.0.0" \
--ignore-legacy-receipts --allow-insecure-unlock --rpc.allow-unprotected-txs \
--dev \
--verbosity 4 \
--nodiscover --maxpeers 0 --mine --miner.threads 1 \
--networkid 1337
geth --exec 'loadScript("scripts/deploy.js")' attach http://0.0.0.0:8545
source scripts/init-params
poetry run python3 -m voltaire_bundler --entrypoint $ENTRYPOINT --bundler_secret $BUNDLER_SECRET --chain_id 1337 --verbose
Follow the instruction in eth-infinitism/bundler-spec-tests to install dependencies and run the test
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt install musl-tools
rustup target add x86_64-unknown-linux-musl
poetry run build_p2p
Thank you for considering contributing to open-source code! We welcome contributions and are grateful for even the smallest of fixes.
If you want to contribute today or follow along with the contributor discussion, you can use our main discord to chat with us about the development of Voltaire.
LGPL
None of this would have been possible without the following teams and organizations below:
- EIP-4337: Account Abstraction via Entry Point Contract specification
- eth-infinitism/bundler
- Lighthouse: Ethereum consensus client
- The Ethereum Foundation throught the Ecosystem Support Grants Program (ESP).