Cherry
Search…
Installing the Cherry Node

Prerequisites

Hardware Requirements

We suggest running the node on at least
  • RAM: 4GB
  • CPU: 2
  • Hard Disk Space: 40GB
Operating system: preferably a recent Debian-based Linux distribution.

Install Rust

For debian-based distros:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
After installation, run rustc --version to check if the installation was successful.

Install dependencies

For debian-based distros:
1
sudo apt update
2
sudo apt install -y git clang curl libssl-dev llvm libudev-dev pkg-config
Copied!
For other Linux Distribution please visit Substrate's Documentation https://docs.substrate.io/v3/getting-started/installation/#1-build-dependencies. Keep in mind that we also need pkg-configinstalled.

Initialize your wasm build environment

1
rustup update nightly
2
rustup update stable
3
rustup target add wasm32-unknown-unknown --toolchain nightly
Copied!

Running the Node

Clone Cherry-Node repository

1
git clone https://github.com/CherryNetwork/Cherry-Node.git
2
cd Cherry-Node
Copied!

Run Build Script

Mainnet:

1
chmod +x scripts/run_mainnet.sh
2
./scripts/run_mainnet.sh
Copied!

Testnet:

1
chmod +x scripts/run_testnet.sh
2
./scripts/run_testnet.sh
Copied!
or you run it yourself if you installed all the required dependencies:

Mainnet:

1
cargo b --release && ./target/release/cherry
2
--chain cherry-mainnet
3
--bootnodes /ip4/15.236.154.200/tcp/30333/p2p/12D3KooWC3UYsfPTpBvDr5oqc8CRe2jftT5kaVYpfhYojjLT4HWB
4
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0"
Copied!

Testnet:

1
cargo b --release && ./target/release/cherry
2
--chain cherry-testnet
3
--bootnodes /ip4/13.38.120.202/tcp/30333/p2p/12D3KooWBBz9C5t8vZBCPW1bhKwDDp2gqgMpSYTdWkZ2iBTLPxLd
4
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0"
Copied!