Zentanetwork is a forkless Proof of Stake (PoS) consensus for communication and data storage. The construction of a forkless network enables Zentalk and Zentavault to make the perfect provision for Zentachain ecosystem.
# Clone Zentanetwork repository
git clone https://github.com/ZentaChain/Zentanetwork
# This command is a fast check
cargo test --all
# This command will firstly compile the code
cargo build --release
# Start the local-net
./target/release/zentachain --local
# Start Alice
./target/release/zentachain --chain local --alice /tmp/alice
# Start Bob with the boostnode id
./target/release/zentachain chain local --bob /tmp/bob --port 30334 --bootnodes '/ip4/127.0.0.1/tcp/30333/p2p/BOOTNODEID'
# Run single-node development-net
./target/release/zentachain --dev
# Run single-node Zajin-net
$ ./target/release/zentachain --chain zajin
# Start the main-net
./target/release/zentachain --chain zikaron
# Start the main-net of Alnitak
./target/release/zentachain --chain alnitak
# Purging chain-database
./target/release/zentachain purge-chain --"chain-ID"
First, install Docker and Docker Compose.
Then run the following command to start a single node development chain.
./scripts/docker_run.sh
# Run node without re-compiling
./scripts/docker_run.sh ./target/release/zentachain --dev --ws-external
# Purge the local dev chain
./scripts/docker_run.sh ./target/release/zentachain purge-chain --dev
# Check whether the code is compilable
./scripts/docker_run.sh cargo check
# For a breakdown of the node command-line options
./target/release/zentachain --help
For deeper insights into the Zentanetwork
Under active development.