CESS
Official Links
Minimum Specifications
Spec | Size |
---|---|
CPU | 4 |
RAM | 8 GB |
SSD | 100 GB |
Bandwidth | 5 MB |
Initial Setup
- Create 2 wallets on Polkadot
- Then, get the faucet HERE
- The first wallet is used to receive mining rewards
- 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.5.7
./install.sh
Set Configuration
- Paste this
cess profile testnet
cess config set
Enter cess node mode from 'authority/storage/rpcnode' = Type
storage
then press EnterEnter 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 sizeEnter 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 bucket
- Check status
cess bucket 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
⚠️ If you want to delete ⚠️
cess down; cess purge
rm -r /opt/cess