GithubHelp home page GithubHelp logo

dziabko / manta Goto Github PK

View Code? Open in Web Editor NEW

This project forked from manta-network/manta

0.0 0.0 0.0 8.73 MB

The main repo for manta blockchain nodes.

License: GNU General Public License v3.0

Rust 98.23% Dockerfile 0.63% HTML 0.14% Ruby 0.45% Handlebars 0.53% Shell 0.02%

manta's Introduction

github-banner

License: GPL v3 GitHub Workflow Status (branch) Twitter Discord Telegram Medium

Manta is a privacy preserving DeFi stack on Polkadot/Substrate. The code currently hasn't been properly security audited (work in progress), use it at your own risk.

Build Manta/Calamari Node

chmod u+x ./scripts/init.sh
./scripts/init.sh
cargo b --profile production

Tips: The binary will be generated under target/production/manta.

Manta Developement

Currently, there are two developing branches:

  • manta: Manta Network/Calamari Network's parachain runtime
  • dolphin: Dolphin testnet runtime (a standlone testnet runs its own consensus)

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 verison, 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.

ci build

publish draft releases

the publish draft releases workflow builds:

  • manta the manta/calamari parachain executable
  • wasm runtimes:
    • manta the manta parachain wasm runtime
    • calamari the calamari parachain wasm runtime

the workflow is triggered whenever a tag containing a semver is pushed to the github repo. if you have a branch derived from the manta branch, you may trigger a ci-build and create a draft release (only available to Manta-Network org members) with commands similar to the following:

# clone the repo and checkout the `manta` branch
git clone --branch manta [email protected]:Manta-Network/Manta.git

# create a new branch called `my-awesome-feature`, derived from branch `manta` which contains the ci build workflow
git checkout -b my-awesome-feature manta

# ... add my awesome feature ...
git add .
git commit -m "added my awesome feature"

# create a tag pointing to the last commit that is also named with the semver and latest commit sha `v3.0.0-<short-git-sha>` (eg: `v3.0.0-abcd123`)
git tag -a v3.0.0-$(git rev-parse --short HEAD) -m "manta and my awesome feature"

# push my awesome feature branch **and** my new tag to origin (github)
git push origin my-awesome-feature --tags

now you can watch the ci build your awesome feature and publish your draft release on the actions tab. note that draft releases become available relatively quickly, but wasm and binary artifacts are only added to the draft release when their ci build completes, which may be an hour or more after your git push.

Minimum supported rust compiler

This project's MSRV is rustc 1.57

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.