MCPcopy Index your code
hub / github.com/alloy-rs/chains

github.com/alloy-rs/chains @v0.2.35

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.35 ↗ · + Follow
292 symbols 467 edges 10 files 13 documented · 4% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

alloy-chains

Canonical type definitions for EIP-155 chains.

Supported Rust Versions

Alloy will keep a rolling MSRV (minimum supported rust version) policy of at least 6 months. When increasing the MSRV, the new Rust version must have been released at least six months ago. The current MSRV is 1.85.0.

Note that the MSRV is not increased automatically, and only as part of a minor release.

Adding a new chain

Add or update the chain in registry/manual.json, then run:

uv run python scripts/update-registry.py

The script updates assets/chains.json and regenerates src/generated/ from the manual registry. Do not edit generated files directly.

Note on no_std

All crates in this workspace should support no_std environments, with the alloc crate. If you find a crate that does not support no_std, please open an issue.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in these crates by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Core symbols most depended-on inside this repo

kind
called by 15
src/chain.rs
add
called by 8
scripts/update-registry.py
id
called by 5
src/chain.rs
next
called by 4
src/named.rs
unique
called by 4
scripts/update-registry.py
rs_str
called by 4
scripts/update-registry.py
default
called by 3
src/named.rs
parse_names
called by 3
scripts/update-registry.py

Shape

Method 202
Function 72
Class 14
Enum 4

Languages

Rust87%
Python13%

Modules by API surface

src/chain.rs131 symbols
scripts/update-registry.py38 symbols
src/named.rs37 symbols
src/generated/named.rs35 symbols
scripts/templates/generated_named.rs35 symbols
src/spec.rs12 symbols
scripts/phf-codegen.rs4 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add chains \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact