How deepbrainchain/deepbrainchain-mainchain works
DeepBrainChain is a Substrate-based blockchain whose documented participation path is to run a validator node or stake and nominate validators, earning staking rewards. The repository also implements machine rental and reporting, committee workflows, NFTs, EVM support, and RPC interfaces. The graph shows documented participation and only source-index-supported internal links; several pallet relationships and runtime wiring cannot be confirmed from the excerpts, so they are not connected.
Main entry points: service.rs Full node · lib.rs NFT operations · rpc.rs Node RPC · impls.rs Staking
Components 17
Runtime and staking
- Chain runtime
runtime/src/lib.rs - Staking
pallets/staking/src/pallet/impls.rs
Machine marketplace
- Machine rental
pallets/rent-machine/src/lib.rs - Rental termination
pallets/terminating-rental/src/lib.rs - Machine profiles
pallets/online-profile/src/lib.rs - Fault reports
pallets/terminating-rental/src/report_machine_fault.rs
Committee workflows
- Committee membership
pallets/committee/src/lib.rs - Online committee
pallets/online-committee/src/lib.rs - Maintenance committee
pallets/maintain-committee/src/lib.rs
Chain features and RPC
- NFT operations
pallets/nfts/src/lib.rs - NFT interfaces
pallets/nfts/src/impl_nonfungibles.rs - EVM tracing
client/evm-tracing/src/listeners/call_list.rs - Trace RPC
client/rpc/trace/src/lib.rs
Other components
- Validator
- Nominator
Connections 4
- Validator → Full node: runs
- Nominator → Staking: stakes and nominates
- Full node → Node RPC: configures
node/cli/src/service.rs - NFT operations → NFT interfaces: implements
pallets/nfts/src/lib.rs