MCPcopy Index your code
hub / github.com/equilibriumco/pathfinder

github.com/equilibriumco/pathfinder @v0.22.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.22.7 ↗ · + Follow
5,320 symbols 20,007 edges 458 files 938 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Pathfinder logo

Welcome to Pathfinder

A Starknet full node giving you a safe view into Starknet.

For detailed instructions on how to install, run and use Pathfinder please check our documentation site.

License

Licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contributing

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

Extension points exported contracts — how you extend this code

ToDto (Interface)
Convert a pathfinder common (ie. core) type to a p2p dto type [10 implementers]
crates/p2p/src/sync/client/conv.rs
IntoRpcEndpoint (Interface)
This trait is implemented for all types that implemented [`subscription::RpcSubscriptionEndpoint`], or for async functio [9 …
crates/rpc/src/jsonrpc/router.rs
Storage (Interface)
Read-only storage used by the [Merkle tree](crate::tree::MerkleTree). [5 implementers]
crates/merkle-tree/src/storage.rs
Codec (Interface)
A `Codec` defines the request and response types for a request/streaming-response [`Behaviour`](crate::Behaviour) protoc [4 …
crates/p2p_stream/src/codec.rs
ToProtobuf (Interface)
(no doc) [34 implementers]
crates/p2p_proto/src/lib.rs
ProposerSelector (Interface)
A trait for selecting the proposer for a given height and round. This trait allows consumers to provide custom proposer [4 …
crates/consensus/src/lib.rs
ProcessStage (Interface)
(no doc) [19 implementers]
crates/pathfinder/src/sync/stream.rs
GatewayApi (Interface)
(no doc) [4 implementers]
crates/gateway-client/src/lib.rs

Core symbols most depended-on inside this repo

new
called by 1862
crates/validator/src/lib.rs
clone
called by 1046
crates/pathfinder/src/sync.rs
map
called by 990
crates/p2p/src/peer_data.rs
serialize_field
called by 540
crates/rpc/src/dto.rs
into_iter
called by 499
crates/common/src/state_update.rs
iter
called by 400
crates/p2p/src/peers.rs
clone
called by 371
crates/rpc/src/jsonrpc/router/subscription.rs
send
called by 267
crates/p2p/src/core/client.rs

Shape

Function 2,050
Method 1,952
Class 980
Enum 293
Interface 45

Languages

Rust99%
Python1%
TypeScript1%

Modules by API surface

crates/storage/src/connection/transaction.rs102 symbols
crates/gateway-types/src/reply.rs83 symbols
crates/common/src/lib.rs71 symbols
crates/gateway-client/src/lib.rs70 symbols
crates/merkle-tree/src/tree.rs69 symbols
crates/storage/src/connection/trie.rs65 symbols
crates/executor/src/types.rs63 symbols
crates/common/src/state_update.rs63 symbols
crates/common/src/transaction.rs60 symbols
crates/crypto/src/algebra/field/felt.rs59 symbols
crates/rpc/src/method/simulate_transactions.rs56 symbols
crates/rpc/src/types/class.rs52 symbols

For agents

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

⬇ download graph artifact