Building and running from source
Last updated
Last updated
Silius is built in Rust. , then clone the repository and enter the directory.
At the moment, the recommended version of Rust is 1.71.1.
Before you can build the project, you need some prerequisites installed:
libclang-dev
, pkg-config
and libssl-dev
on Debian/Ubuntu.
Ethereum execution client JSON-RPC API with enabled . For production, you can use or . For testing, we are using Geth dev mode (tested with ); so you need to install for running tests.
>=0.8.12.
and .
There are also some other third-party dependencies you need to setup (mainly ERC-4337 related smart contracts). These commands will clone the account abstraction repos and compile the smart contracts.
After everything is setup, you can start the build:
You can now run the Silius with the following command:
Some of the most commonly used CLI params are:
eth-client-address
: HTTP or WS address to the Ethereum execution client (client should have debug
RPC interface enabled, if not you need to run the bundler in unsafe mode with --uopool-mode unsafe
)
mnemonic-file
: path to the seed phrase of the bundler's account
datadir
: path to the folder where db file will be saved (in case the storage is database)
beneficiary
: address to where the gas left is sent
entry-points
: address of the ERC-4337 singleton entry point smart contract
http
: enable HTTP JSON-RPC endpoints
ws
: enablr WS JSON-RPC endpoints
eth-client-proxy-address
: HTTP address to the Ethereum execution client, where to forward the standard calls to the execution client