Silius
  • Silius
  • Overview
    • Getting started
    • Architecture
    • Project structure
  • Tutorials
    • Building and running from source
    • Running in Docker
    • Running separate components
    • Alternative mempools
    • ERC-4337 examples
    • Bundler spec tests
    • P2P
  • Libraries/crates
    • Primitives
    • Contracts
    • UoPool
    • Bundler
    • RPC
    • gRPC
  • Ecosystem
    • Ethers UserOp
    • Luban the Paymaster
Powered by GitBook
On this page
  1. Tutorials

Running separate components

PreviousRunning in DockerNextAlternative mempools

Last updated 1 year ago

Since the architecture of the Silius bundler is , you can run all components together or only a single component (based on your use case).

There are 4 commands available within Silius binary:

  • bundler - runs all components

  • bundling - runs the bundling component

  • uopool - runs the user operation mempool

  • rpc - runs the RPC API

Bundler:

cargo run --release -- bundler --eth-client-address http://127.0.0.1:8545 --mnemonic-file ${HOME}/.silius/0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --beneficiary 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --entry-points 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789 --http --ws

Bundling component:

cargo run --release -- bundling --eth-client-address ws://127.0.0.1:8546 --mnemonic-file ${HOME}/.silius/0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --beneficiary 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --entry-points 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789

User operation mempool:

cargo run --release -- uopool --eth-client-address ws://127.0.0.1:8546 --entry-points 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789

RPC:

cargo run --release -- rpc --http --ws

You can also run all commands in .

modular
Docker