π Installation
π» Hardware Requirements
Components | Minimum Requirements |
---|---|
CPU | 6 |
RAM | 32 GB |
STORAGE | 200 GB SSD |
1οΈβ£ Installation packages and dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y
β‘οΈ Go Installation
cd $HOME
VER="1.23.0"
wget "https://golang.org/dl/go$VER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VER.linux-amd64.tar.gz"
rm "go$VER.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin
2οΈβ£ Install node
echo "export PELL_PORT="57"" >> $HOME/.bash_profile
source $HOME/.bash_profile
mkdir -p $HOME/.pellcored/cosmovisor/upgrades/v1.1.5/bin
rm -rf ./pellcored
wget -O pellcored https://github.com/0xPellNetwork/network-config/releases/download/v1.1.6/pellcored-v1.1.6-linux-amd64
chmod +x ./pellcored
sudo mv ./pellcored $HOME/.pellcored/cosmovisor/upgrades/v1.1.5/bin/pellcored
sudo ln -sfn $HOME/.pellcored/cosmovisor/upgrades/v1.1.5 $HOME/.pellcored/cosmovisor/current
sudo ln -sfn $HOME/.pellcored/cosmovisor/current/bin/pellcored /usr/local/bin/pellcored
go install cosmossdk.io/tools/cosmovisor/cmd/[email protected]
cd
mkdir -p /root/.pellcored/lib
wget "https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm.$(uname -m).so" -O "/root/.pellcored/lib/libwasmvm.$(uname -m).so"
echo "alias pellcored='LD_LIBRARY_PATH=/root/.pellcored/lib:\$LD_LIBRARY_PATH /usr/local/bin/pellcored'" >> ~/.bashrc
source ~/.bashrc
β‘οΈ Create a service
sudo tee /etc/systemd/system/pellcored.service > /dev/null <<EOF
[Unit]
Description=pellcore node service
After=network-online.target
[Service]
User=root
ExecStart=$(which cosmovisor) run start --chain-id ignite_186-1
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
Environment="DAEMON_HOME=/root/.pellcored"
Environment="DAEMON_NAME=pellcored"
Environment="UNSAFE_SKIP_BACKUP=true"
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/root/.pellcored/cosmovisor/current/bin"
Environment="LD_LIBRARY_PATH=/root/.pellcored/lib:$LD_LIBRARY_PATH"
[Install]
WantedBy=multi-user.target
EOF
β‘οΈ Letβs activate it
sudo systemctl daemon-reload
sudo systemctl enable pellcored
β‘οΈ Initialize the node
pellcored config set client chain-id ignite_186-1
pellcored config set client keyring-backend test
pellcored config set client node tcp://localhost:${PELL_PORT}657
pellcored init "Moniker-Name" --chain-id ignite_186-1
β‘οΈ Genesis addrbook and others
rm -rf /root/.pellcored/config/app.toml
wget https://raw.githubusercontent.com/0xPellNetwork/network-config/refs/heads/main/testnet/app.toml -O /root/.pellcored/config/app.toml
rm -rf /root/.pellcored/config/config.toml
wget https://raw.githubusercontent.com/0xPellNetwork/network-config/refs/heads/main/testnet/config.toml -O /root/.pellcored/config/config.toml
sed -i 's/^moniker = .*/moniker = "Moniker-Name"/' /root/.pellcored/config/config.toml
rm -rf /root/.pellcored/config/genesis.json
wget https://raw.githubusercontent.com/0xPellNetwork/network-config/refs/heads/main/testnet/genesis.json -O /root/.pellcored/config/genesis.json
curl https://raw.githubusercontent.com/MictoNode/pellnetwork/refs/heads/main/addrbook.json -o ~/.pellcored/config/addrbook.json
β‘οΈ Port
sed -i.bak -e "s%:26658%:${PELL_PORT}658%g;
s%:26657%:${PELL_PORT}657%g;
s%:6060%:${PELL_PORT}060%g;
s%:26656%:${PELL_PORT}656%g;
s%^external_address = \"\"%external_address = \"$(wget -qO- eth0.me):${PELL_PORT}656\"%;
s%:26660%:${PELL_PORT}660%g" $HOME/.pellcored/config/config.toml
sed -i.bak -e "s%:1317%:${PELL_PORT}317%g;
s%:8080%:${PELL_PORT}080%g;
s%:9090%:${PELL_PORT}090%g;
s%:9091%:${PELL_PORT}091%g;
s%:8545%:${PELL_PORT}545%g;
s%:8546%:${PELL_PORT}546%g;
s%:6065%:${PELL_PORT}065%g" $HOME/.pellcored/config/app.toml
β‘οΈ Peers and Seeds
SEEDS="[email protected]:57656,[email protected]:57656"
PEERS="[email protected]:26656,[email protected]:26656,[email protected]:58656,[email protected]:26656,[email protected]:28656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:40656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:58656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:4050,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:58656,[email protected]:57656,[email protected]:26656,[email protected]:11656"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.pellcored/config/config.toml
β‘οΈ Pruning
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.pellcored/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.pellcored/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"10\"/" $HOME/.pellcored/config/app.toml
β‘οΈ Indexer
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.pellcored/config/config.toml
β‘οΈ Gas Settings
sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0apell"|g' $HOME/.pellcored/config/app.toml
β‘οΈ Prometheus
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.pellcored/config/config.toml
β‘οΈ Starter Snap (thx Itrocket)
pellcored tendermint unsafe-reset-all --home $HOME/.pellcored
SNAPSHOT_URL="https://server-5.itrocket.net/testnet/pell/"
LATEST_SNAPSHOT=$(curl -s $SNAPSHOT_URL | grep -oP 'pell_\d{4}-\d{2}-\d{2}_\d+_snap\.tar\.lz4' | sort | tail -n 1)
if [ -n "$LATEST_SNAPSHOT" ]; then
FULL_URL="${SNAPSHOT_URL}${LATEST_SNAPSHOT}"
if curl -s --head "$FULL_URL" | head -n 1 | grep "200" > /dev/null; then
curl "$FULL_URL" | lz4 -dc - | tar -xf - -C $HOME/.pellcored
else
echo "Snapshot URL not accessible"
fi
else
echo "No snapshot found"
fi
β‘οΈ Letβs get started
sudo systemctl restart pellcored
journalctl -fu pellcored -o cat
β‘οΈ Log Command
sudo journalctl -fu pellcored -o cat
β‘οΈ Create wallet
Warning
Donβt forget to backup the wallet words!
pellcored keys add wallet-name --keyring-backend=test
β‘οΈ Import wallet
pellcored keys add wallet-name --recover --keyring-backend=test
β‘οΈ Create Validator
Reminder
You canβt create a validator without Sync. You must have to catch the latest block.
rm -rf /root/validator.json
cat > ./validator.json << EOF
{
"pubkey": $(pellcored tendermint show-validator),
"amount": "1000000000000000000apell",
"moniker": "<your_node_name>",
"identity": "optional identity signature (ex. UPort or Keybase)",
"website": "validator's (optional) website",
"security": "validator's (optional) security contact email",
"details": "validator's (optional) details",
"commission-rate": "0.1",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
EOF
pellcored tx staking create-validator ./validator.json --chain-id=ignite_186-1 --fees=0.000001pell --gas=1000000 --from=wallet-name --keyring-backend=test -y
β‘οΈ Delegate to Yourself
pellcored tx staking delegate $(pellcored keys show wallet-name --bech val -a) 1000000000000000000apell --from wallet-name --chain-id ignite_186-1 --fees=0.000001pell --gas=1000000 --keyring-backend=test -y
β‘οΈ Edit Validator
pellcored tx staking edit-validator \
--chain-id ignite_186-1 \
--commission-rate 0.05 \
--new-moniker "validator-name" \
--identity "" \
--details "" \
--website "" \
--security-contact "" \
--from "wallet-name" \
--node http://localhost:${PELL_PORT}657 \
--fees=0.000001pell \
--gas=1000000 \
--keyring-backend=test
-y
β‘οΈ Complete deletion
cd $HOME
sudo systemctl stop pellcored
sudo systemctl disable pellcored
sudo rm -rf /etc/systemd/system/pellcored.service
sudo systemctl daemon-reload
sudo rm -f /usr/local/bin/pellcored
sudo rm -f $(which pellcored)
sudo rm -rf $HOME/.pellcored
sed -i "/PELL_PORT_/d" $HOME/.bash_profile
β‘οΈ Block check
local_height=$(curl -s localhost:${PELL_PORT}657/status | jq -r .result.sync_info.latest_block_height); network_height=$(curl -s https://pell-testnet-rpc.mictonode.com/status | jq -r .result.sync_info.latest_block_height); blocks_left=$((network_height - local_height)); echo "Your node height: $local_height"; echo "Network height: $network_height"; echo "Blocks left: $blocks_left"
- Your node height - the current block of your node
- Network height - the last block of the network
- Blocks left - how many blocks your node has left to sync.
On This Page
- π» Hardware Requirements
- 1οΈβ£ Installation packages and dependencies
- β‘οΈ Go Installation
- 2οΈβ£ Install node
- β‘οΈ Create a service
- β‘οΈ Letβs activate it
- β‘οΈ Initialize the node
- β‘οΈ Genesis addrbook and others
- β‘οΈ Port
- β‘οΈ Peers and Seeds
- β‘οΈ Pruning
- β‘οΈ Indexer
- β‘οΈ Gas Settings
- β‘οΈ Prometheus
- β‘οΈ Starter Snap (thx Itrocket)
- β‘οΈ Letβs get started
- β‘οΈ Log Command
- β‘οΈ Create wallet
- β‘οΈ Import wallet
- β‘οΈ Create Validator
- β‘οΈ Delegate to Yourself
- β‘οΈ Edit Validator
- β‘οΈ Complete deletion
- β‘οΈ Block check