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:
sudo apt update
sudo apt install -y git clang curl libssl-dev llvm libudev-dev pkg-config
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

rustup update nightly
rustup update stable
rustup target add wasm32-unknown-unknown --toolchain nightly

Running the Node

Clone Cherry-Node repository

git clone https://github.com/CherryNetwork/Cherry-Node.git
cd Cherry-Node

Run Build Script

Mainnet:

chmod +x scripts/run_mainnet.sh
./scripts/run_mainnet.sh

Testnet:

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

Mainnet:

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

Testnet:

cargo b --release && ./target/release/cherry
--chain cherry-testnet
--bootnodes /ip4/13.38.120.202/tcp/30333/p2p/12D3KooWBBz9C5t8vZBCPW1bhKwDDp2gqgMpSYTdWkZ2iBTLPxLd
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0"
Copy link
On this page
Prerequisites
Hardware Requirements
Install Rust
Install dependencies
Initialize your wasm build environment
Running the Node
Clone Cherry-Node repository
Run Build Script