Skip to main content

CESS

Minimum Specifications​

SpecSize
CPU4
RAM8 GB
SSD100 GB
Bandwidth5 MB

Initial Setup​

  1. Create 2 wallets on Polkadot
  2. Then, get the faucet HERE
  3. The first wallet is used to receive mining rewards
  4. The second wallet is used for mining

Open Ports​

sudo ufw allow ssh; sudo ufw allow 4001; sudo ufw allow 15001; sudo ufw enable

Install Docker (Skip if already installed)​

sudo apt update; sudo apt upgrade -y
sudo apt-get update && sudo apt install jq git && sudo apt install apt-transport-https ca-certificates curl software-properties-common -y && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" && sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin -y

Install CESS​

mkdir -p /opt/cess
git clone https://github.com/CESSProject/cess-nodeadm
cd cess-nodeadm
git checkout tags/v0.6.0
./install.sh

Set Configuration​

  • Paste this
cess profile testnet
cess config set
  • Enter cess node mode from 'authority/storage/rpcnode' = Type storage then press Enter

  • Enter cess storage listener port = Skip it just press Enter

  • Enter cess rpc ws-url = Fill with wss://testnet-rpc.cess.network/ws/

  • Enter cess storage earnings account = Paste the address from the first wallet

  • Enter cess storage signature account phrase = Paste the phrase from the second wallet

  • Enter cess storage disk path = Type /opt/cess

  • Enter cess storage space = Fill it with 100 or more, depending on your SSD size

  • Enter the number of CPU cores = Fill with whatever you want

  • Enter the staking account if you use one account to stake multiple nodes = Skip it just press Enter

  • Enter the TEE worker endpoints if you have any = Skip it just press Enter

Start Node​

cess reload

then

cess start

List of Commands​

  • Check chain logs
docker logs -f chain
  • Check bucket logs
docker logs -f miner
  • Check status
cess miner stat

If There's an Update​

  • The latest node version can be checked HERE

How to Update​

First, Stop​

cess stop
cess down

Delete​

cess purge

Delete old folders and files​

rm -r cess-nodeadm
rm -r /opt/cess; mkdir -p /opt/cess
git clone https://github.com/CESSProject/cess-nodeadm
cd cess-nodeadm
git checkout tags/SESUAI_VERSITERBARU_JIKA_SUDAH_ADA

After that, start again from the Set Configuration step​


danger

⚠️ If you want to delete ⚠️

cess down; cess purge
rm -r /opt/cess