MCPcopy Index your code
hub / github.com/darwinia-network/darwinia

github.com/darwinia-network/darwinia @v7.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v7.0.2 ↗ · + Follow
919 symbols 1,598 edges 182 files 482 documented · 52%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

logo

Darwinia

Twitter URL Medium Telegram Discord

GitHub code lines GitHub last commit CI

Introduction

  • Cross-Chain Asset Relay Station

Darwinia Chain serves as a Polkadot Parachain that connects to Assethub and other assets through XCMP. Darwinia Chain collaborates deeply with Helix Bridge in a one-stop Bridge solution that can bridge various EVM ecosystems.

  • Omnichain Account

XAccount, standing for Cross-Chain Abstract Account, represents a pioneering approach to account abstraction at the cross-chain level. DApps on Darwinia will be able to interoperate with applications on other EVM chains through XAccount. The DApp for XAccount is coming soon.

  • EVM Chain secured by Polkadot

Darwinia Chain is parachain sharing the same level of security with Polkadot, and It is developed using Polkadot-SDK and fully compatible with EVM.

  • Comprehensive Cross-Chain Stack

Msgport is a programmable Cross-Chain Messaging Port. Just as smart contracts provide programmability for DApp developers, integration with Msgport will empower developers on Darwinia Chain with the capability for cross-chain programming.

To develop more interesting cross-chain DApps on Darwinia Chain using Msgport.

RingDAO refers to the next governance version of Darwinia. RING serves as the governance token for RingDAO, and the upgrades to Darwinia Chain will be governed by RingDAO. RING also functions as the Gas Token for Darwinia Chain and plays a role in Collator Staking, among other aspects. RingDAO also governs other projects, including Msgport and XAPI. Learn more.

Release

Release

Additional

There is a "stable" release channel, which will only be updated if the on-chain runtime upgrade is performed. The "stable" release channel is available at darwinia-release.

Collators/Validators should focus on the latest release channel.

RPC/Service suppliers should focus on the "stable" release channel.

Documentation

Contribution

License

Darwinia is open-source under the terms of the GPLv3, and we welcome contributions. Please review CONTRIBUTIONS.md for more information.

Security

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

Extension points exported contracts — how you extend this code

Reward (Interface)
Allocate the reward to a contract. [5 implementers]
pallet/staking/src/lib.rs
Config (Interface)
(no doc) [6 implementers]
pallet/ethtx-forwarder/src/lib.rs
Config (Interface)
(no doc) [6 implementers]
pallet/account-migration/src/lib.rs
Config (Interface)
(no doc) [37 implementers]
runtime/darwinia/src/pallets/governance/origin.rs
Config (Interface)
(no doc) [34 implementers]
runtime/crab/src/pallets/governance/origin.rs
Config (Interface)
(no doc) [4 implementers]
pallet/deposit/src/lib.rs
AccountToAssetId (Interface)
Convert from precompile AccountId to AssetId Note: The AssetId generation must follow our precompile AccountId rule. [2 …
precompile/assets/src/lib.rs
IdentifyVariant (Interface)
Can be called for a `Configuration` to check if it is the specific network. [1 implementers]
node/src/service/mod.rs

Core symbols most depended-on inside this repo

into
called by 240
runtime/darwinia/src/pallets/asset_manager.rs
into
called by 196
precompile/assets/src/mock.rs
percent
called by 72
runtime/common/src/lib.rs
address_of
called by 30
runtime/common/src/pallet_config.rs
build
called by 26
precompile/assets/src/mock.rs
with_balances
called by 24
precompile/assets/src/mock.rs
contains
called by 16
runtime/common/src/xcm_config.rs
build
called by 13
pallet/staking/src/mock.rs

Shape

Method 599
Function 138
Class 130
Enum 35
Interface 17

Languages

Rust100%
TypeScript1%

Modules by API surface

node/src/command.rs37 symbols
runtime/darwinia/src/weights/pallet_assets.rs34 symbols
runtime/crab/src/weights/pallet_assets.rs34 symbols
pallet/staking/src/lib.rs34 symbols
runtime/darwinia/src/weights/pallet_referenda.rs31 symbols
runtime/crab/src/weights/pallet_referenda.rs31 symbols
precompile/assets/src/tests.rs28 symbols
pallet/staking/src/mock.rs24 symbols
pallet/ethtx-forwarder/src/lib.rs19 symbols
runtime/darwinia/src/weights/pallet_scheduler.rs18 symbols
runtime/crab/src/weights/pallet_scheduler.rs18 symbols
precompile/assets/src/lib.rs18 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page