/Manta

The main repo for manta blockchain nodes.

Primary LanguageRustGNU General Public License v3.0GPL-3.0

github-banner

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg?style=flat-square)](https://www.gnu.org/licenses/gpl-3.0) ![Tests on manta](https://img.shields.io/github/actions/workflow/status/Manta-Network/Manta/check_tests.yml?branch=manta) [![Twitter](https://img.shields.io/badge/-Twitter-5c5c5c?style=flat-square&logo=Twitter)](https://twitter.com/mantanetwork) [![Discord](https://img.shields.io/badge/Discord-gray?style=flat-square&logo=discord)](https://discord.gg/n4QFj4n5vg) [![Forum](https://img.shields.io/discourse/status?server=https%3A%2F%2Fforum.manta.network&style=flat-square)](https://forum.manta.network) [![Telegram](https://img.shields.io/badge/Telegram-gray?style=flat-square&logo=telegram)](https://t.me/mantanetworkofficial) [![Medium](https://img.shields.io/badge/Medium-gray?style=flat-square&logo=medium)](https://mantanetwork.medium.com/)

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.

👉 Learn more about Manta Network.
👉 Check out our technical documentation.
👉 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
chmod u+x ./scripts/init.sh
./scripts/init.sh
  1. Build node binary in production setting
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.

  1. Run standalone dev chain, useful for local development
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.62