MCPcopy Index your code
hub / github.com/CherryNetwork/Cherry-Node

github.com/CherryNetwork/Cherry-Node @v0.0.24

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.24 ↗ · + Follow
16,475 symbols 62,472 edges 1,296 files 5,771 documented · 35%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Substrate · GitHub license GitLab Status PRs Welcome Matrix

Substrate is a next-generation framework for blockchain innovation 🚀.

Trying it out

Simply go to substrate.dev and follow the installation instructions. You can also try out one of the tutorials.

Contributions & Code of Conduct

Please follow the contributions guidelines as outlined in docs/CONTRIBUTING.adoc. In all communications and contributions, this project follows the Contributor Covenant Code of Conduct.

Security

The security policy and procedures can be found in docs/SECURITY.md.

License

The reason for the split-licensing is to ensure that for the vast majority of teams using Substrate to create feature-chains, then all changes can be made entirely in Apache2-licensed code, allowing teams full freedom over what and how they release and giving licensing clarity to commercial teams.

In the interests of the community, we require any deeper improvements made to Substrate's core logic (e.g. Substrate's internal consensus, crypto or database code) to be contributed back so everyone can benefit.

Extension points exported contracts — how you extend this code

VotingRule (Interface)
A trait for custom voting rules in GRANDPA. [6 implementers]
client/finality-grandpa/src/voting_rule.rs
Validator (Interface)
Validates consensus messages. [8 implementers]
client/network-gossip/src/validator.rs
CliConfiguration (Interface)
A trait that allows converting an object to a Configuration [11 implementers]
client/cli/src/config.rs
NativeExecutionDispatch (Interface)
Delegate for dispatching a CodeExecutor call. By dispatching we mean that we execute a runtime function specified by it [7 …
client/executor/src/native_executor.rs
AuxStore (Interface)
Provides access to an auxiliary database. [8 implementers]
client/api/src/backend.rs
StateBackend (Interface)
State backend API. [7 implementers]
client/rpc/src/state/mod.rs
Storage (Interface)
Readonly list-cache storage trait. [8 implementers]
client/db/src/cache/list_storage.rs
SessionManager (Interface)
A trait for managing creation of new validator set. [9 implementers]
frame/session/src/lib.rs

Core symbols most depended-on inside this repo

new
called by 4727
test-utils/runtime/client/src/lib.rs
get
called by 2329
frame/support/src/storage/child.rs
saturating_add
called by 2046
frame/democracy/src/types.rs
execute_with
called by 954
primitives/state-machine/src/basic.rs
map
called by 877
client/consensus/epochs/src/lib.rs
saturating_mul
called by 829
frame/democracy/src/types.rs
into
called by 807
frame/scheduler/src/lib.rs
clone
called by 732
client/transaction-pool/src/graph/tracked_map.rs

Shape

Method 8,192
Function 4,860
Class 2,069
Interface 737
Enum 617

Languages

Rust100%

Modules by API surface

primitives/io/src/lib.rs139 symbols
client/db/src/lib.rs139 symbols
frame/elections-phragmen/src/lib.rs137 symbols
primitives/core/src/u32_trait.rs110 symbols
frame/system/src/lib.rs110 symbols
primitives/runtime/src/traits.rs101 symbols
frame/contracts/src/weights.rs101 symbols
frame/contracts/src/exec.rs98 symbols
frame/staking/src/tests.rs92 symbols
client/service/src/client/client.rs92 symbols
client/finality-grandpa/src/communication/gossip.rs89 symbols
frame/balances/src/lib.rs88 symbols

For agents

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

⬇ download graph artifact