MCPcopy Index your code
hub / github.com/Manta-Network/Manta

github.com/Manta-Network/Manta @v4.7.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.7.0 ↗ · + Follow
2,592 symbols 6,053 edges 237 files 1,074 documented · 41%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

github-banner

License: GPL v3 Tests on manta Twitter Discord Forum Telegram Medium

Manta is the privacy layer for Web 3. Manta's goal is to protect Web 3 users' fundamental privacy from the first principle.

Disclaimer: The code currently hasn't been properly security audited (work in progress), use it at your own risk.

:point_right: Learn more about Manta Network.

:point_right: Check out our technical documentation.

:point_right: Get involved in Manta Community.

Manta/Calamari

This is the mono-repo for Manta/Calamari nodes. * Manta: Manta's Polkadot parachain network * Calamari: Manta's canary network on Kusama * Dolphin: Manta's testnet

Build Manta/Calamari Node

  1. Setup environment bash chmod u+x ./scripts/init.sh ./scripts/init.sh
  2. Build node binary in production setting bash cargo b --profile production

    Tips: The binary will be generated under target/production/manta. For less performance critical build, cargo build --release is recommended for faster build time.

  3. Run standalone dev chain, useful for local development bash cargo run -- --chain=calamari-localdev --alice --tmp

    Tip: The chain only produces blocks when you submit extrinsics

Semantic Versioning

Manta/Calamari's version number: v<x>.<y>.<z>

where:

  • <x> is the major version, i.e. major product release.
  • <y> is the middle version, i.e. adding major features.
  • <z> is the minor version, i.e. performance improvement and bug fixes.

Contributing

  • please submit your code through PR.
  • please run cargo +nightly fmt before pushing your code.

Minimum supported rust compiler

This project's MSRV is rustc 1.74

Extension points exported contracts — how you extend this code

AssetIdType (Interface)
Asset Id [21 implementers]
primitives/manta/src/assets.rs
Config (Interface)
(no doc) [102 implementers]
runtime/integration-tests/src/xcm_mock/parachain.rs
Config (Interface)
(no doc) [11 implementers]
pallets/pallet-lottery/src/mock.rs
Config (Interface)
(no doc) [8 implementers]
pallets/manta-sbt/src/lib.rs
Config (Interface)
(no doc) [6 implementers]
pallets/parachain-staking/src/mock.rs
Config (Interface)
(no doc) [7 implementers]
pallets/collator-selection/src/lib.rs
Config (Interface)
(no doc) [6 implementers]
pallets/manta-pay/src/lib.rs
Config (Interface)
(no doc) [5 implementers]
pallets/tx-pause/src/lib.rs

Core symbols most depended-on inside this repo

get_call_details
called by 239
runtime/calamari/src/diff_tx_fees.rs
get_call_details
called by 232
runtime/manta/src/diff_tx_fees.rs
build
called by 219
pallets/parachain-staking/src/mock.rs
with_balances
called by 179
pallets/parachain-staking/src/mock.rs
with_candidates
called by 170
pallets/parachain-staking/src/mock.rs
with_delegations
called by 107
pallets/parachain-staking/src/mock.rs
roll_to
called by 99
pallets/parachain-staking/src/mock.rs
len
called by 67
pallets/parachain-staking/src/set.rs

Shape

Method 1,422
Function 764
Class 251
Interface 104
Enum 51

Languages

Rust99%
TypeScript1%
Ruby1%

Modules by API surface

pallets/parachain-staking/src/tests.rs216 symbols
pallets/parachain-staking/src/types.rs68 symbols
pallets/manta-sbt/src/lib.rs57 symbols
pallets/parachain-staking/src/lib.rs52 symbols
runtime/manta/src/weights/xcm/mod.rs51 symbols
runtime/calamari/src/weights/xcm/mod.rs51 symbols
pallets/manta-support/src/manta_pay.rs43 symbols
runtime/integration-tests/src/xcm_mock/xcm_tests.rs42 symbols
pallets/parachain-staking/src/benchmarks.rs38 symbols
pallets/pallet-lottery/src/mock.rs37 symbols
node/src/command.rs37 symbols
pallets/parachain-staking/src/mock.rs36 symbols

For agents

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

⬇ download graph artifact