GithubHelp home page GithubHelp logo

setheum-labs / aleph-node Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cardinal-cryptography/aleph-node

0.0 1.0 0.0 7.25 MB

Node implementation for aleph blockchain built with Substrate framework

License: Apache License 2.0

Shell 2.89% Python 2.88% Rust 92.68% Nix 1.42% Dockerfile 0.13%

aleph-node's Introduction

LOGO

Unit tests E2E Tests

This repository contains the Rust implementation of Aleph Zero blockchain node based on the Substrate framework.

Aleph Zero is an open-source layer 1 blockchain focused on privacy, scalability and energy efficiency. It is based on a unique, peer-reviewed consensus algorithm, AlephBFT (as described in our paper and implemented here).

Aleph node is based on a Substrate node where the default finality gadget (GRANDPA) has been replaced with AlephBFT. Block authoring is realized with Substrate's Aura. The chain is run in periodic sesssions (900 blocks each) utilizing the Session pallet. The authorities in each session serve for both Aura and AlephBFT authorities, and on top of that are responsible for running the Aggregator protocol producing multisignatures of finalized blocks.

Building

Please consult the BUILD guide.

Running

Connect to Aleph Zero Testnet

You can connect to global Aleph Zero Testnet network by running aleph-node --chain=testnet.

Local Network

To experiment with Aleph Node you can locally run a small blockchain network using the run_nodes.sh script from the root of this repository. Please consult the script or the output of run_nodes.sh -help for additional parameters (like the number of nodes etc.). The script starts multiple instances of Aleph Node on your local machine, so please adjust the number of nodes carefully with performance of your system in mind. By default 4 nodes are started.

You can interact with your locally running nodes using RPC (use port 9933 for node0, 9934 for node1 and so on). A more convenient alternative is to attach to it with a polkadot.js wallet app. We recommend using our fork of that app which can be found here.

Contributing

If you would like to contribute, please fork the repository, introduce your changes and submit a pull request. All pull requests are warmly welcome.

License

The code in this repository is licensed as follows:

  • all crates under bin directory are licensed under the terms of the GNU GPL version 3
  • all rest of the crates are licensed under the terms of Apache License 2.0.

aleph-node's People

Contributors

artemis-cc avatar bartoszjedrzejewski avatar damianstraszak avatar dependabot[bot] avatar fbielejec avatar fixxxedpoint avatar h4nsu avatar jamakase avatar joshuajbouw avatar kosiare avatar kostekiv avatar krzysztofziobro avatar lesniak43 avatar maciejnems avatar maciejzelaszczyk avatar marcin-radecki avatar michalseweryn avatar mike1729 avatar obrok avatar piotrmocz avatar pmikolajczyk41 avatar skrolikowski-10c avatar timorl avatar yithis avatar

Watchers

 avatar

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.