Crate anvil_server

Source
Expand description

Bootstrap [axum] RPC servers.

Modulesยง

  • config ๐Ÿ”’
  • error ๐Ÿ”’
    Error variants used to unify different connection streams
  • handler ๐Ÿ”’
  • ipcipc
    IPC handling
  • pubsub ๐Ÿ”’
  • ws ๐Ÿ”’

Structsยง

Traitsยง

  • The general purpose trait for handling RPC requests and subscriptions
  • Helper trait that is used to execute ethereum rpc calls

Functionsยง

  • Configures an [axum::Router] that handles JSON-RPC calls via HTTP.
  • Configures an [axum::Router] that handles JSON-RPC calls via both HTTP and WS.
  • router_inner ๐Ÿ”’