pub struct EvmChain {
pub name: &'static str,
pub rpc_url: &'static str,
pub chain_id: u64,
}Expand description
A curated supported chain: human name → RPC endpoint + EIP-155 chain id. RPCs
are public + CORS-enabled (Access-Control-Allow-Origin: *, verified
2026-06-18) so a browser fetch reaches them directly; an agent calls them
by name. tempo is the active localharness chain (testnet or mainnet).
Fields§
§name: &'static strLower-case lookup key the agent passes (e.g. "base").
rpc_url: &'static strPublic, CORS-enabled JSON-RPC endpoint.
chain_id: u64EIP-155 chain id.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvmChain
impl RefUnwindSafe for EvmChain
impl Send for EvmChain
impl Sync for EvmChain
impl Unpin for EvmChain
impl UnsafeUnpin for EvmChain
impl UnwindSafe for EvmChain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more