zeus-userop-kit 0.1.0

ERC-4337 user operation builder and bundler client for EntryPoint 0.7 and 0.8
docs.rs failed to build zeus-userop-kit-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

zeus-userop-kit

ERC-4337 user operation builder and bundler client for EntryPoint 0.7 and 0.8. It is desktop-only: it ships the Pimlico bundler and Simple7702Account support and has no WASM or JavaScript bindings.

What this fork changes

zeus-userop-kit is Zeus's fork of Ethereum's kohaku userop-kit crate, which is MIT-licensed. Zeus dropped the dyn trait and the WASM/JS bindings and added the Pimlico bundler path and Simple7702Account support. The upstream Rust implementations were later deprecated and removed from kohaku, so this fork is the maintained line.

Installation

cargo add zeus-userop-kit

Modules

  • user_operation: the unpacked JSON-RPC wire types — UserOperation, EIP-7702 Authorization, operation hashes, gas estimates and receipts — for EntryPoint 0.7 and 0.8.
  • signable_user_operation: an unsigned operation bound to its EntryPoint, with its EIP-712 hash.
  • signed_user_operation: a signed operation with an optional signed 7702 authorization, ready to submit to a bundler.
  • entry_point: the EntryPoint v0.8 address and its EIP-712 domain.
  • abis: the EntryPoint contract ABI bindings.
  • builder: UserOperationBuilder, which assembles an operation with nonce, calldata, gas, paymaster, factory and authorization fields.
  • bundler: the Pimlico bundler client (gas estimation, submission, receipt polling), its JSON-RPC transport and BundlerError.
  • smart_account: Simple7702Account support — address, nonce, authorization and calldata encoding.

License

MIT. See LICENCE.