πͺΌPell Network - Pell Devnet 0.1.0 Node Setup

REq :
4+
8+
200+
Ubuntu 22.04+
πUpdate
sudo apt update -y && sudo apt upgrade -y
sudo apt install ca-certificates zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev tmux iptables curl nvme-cli git wget make jq libleveldb-dev build-essential pkg-config ncdu tar clang bsdmainutils lsb-release libssl-dev libreadline-dev libffi-dev jq gcc screen unzip lz4 -y
Docker :
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
docker version
Install Docker-Compose :
VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)
curl -L "https://github.com/docker/compose/releases/download/"$VER"/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
Docker Permission to User
sudo groupadd docker
sudo usermod -aG docker $USER
Contact the Pell Network Team And Collect The Accsess π₯
Docker Login :
docker login -u pellnetwork
Pull the latest Pell Node image :
docker pull docker.io/pellnetwork/pellnode-devnet:v0.1.0
Starting Pell P2P Node :
Change <your_node_name> with your moniker name :
docker run -d --name=pell-validator \
-v <your_local_path>:/root/.pellcored \
-e MONIKER="<your_node_name>" \
-p 26656:26656 \
-p 26660:26660 \
--entrypoint /root/start-pellcored.sh \
docker.io/pellnetwork/pellnode-devnet:v0.1.0
Get $PELL Test Token :
Enter the Docker container environment to retrieve your node's address. This is necessary to request test tokens for staking. Run the following command to access the running container:
docker exec -it pell-validator /bin/bash
Create and retrieve your nodeβs address with the following command:
# create your key
pellcored keys add <your_node_name>
# retrieve your key
pellcored keys show <your_node_name>
Contact the Pell team with your address to receive $PELL test tokens for staking. π₯
Once you have received the tokens, you can verify the balance of your account using this command:
pellcored query bank balances <your_pell_address> --node http://rpc-test.pell.dev:26657
Change <your_pell_address> with your Pell Adress.
Create Your Validator :
Create a new validator by staking apell tokens. Here is an example of creating a validator on PellChain Devnet. Save the transaction hash from the output.
pellcored tx staking create-validator \
--amount=1000000000000000000apell \
--pubkey=$(pellcored tendermint show-validator) \
--moniker="<your_node_name>" \
--chain-id=athens_186-1 \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1000000" \
--gas="auto" \
--fees=2500000000000001apell \
--from=<your_node_name>
amount
is the amount of tokens to be bondedmoniker
is the validator's namecommission-rate
is the commission rate on block rewards and fees charged to delegatorscommission-max-rate
is the maximum commission rate that this validator can charge. This parameter is fixed and cannot be changed after the validator is createdcommission-max-change-rate
is the maximum daily increase of the validator commission. This parameter is fixed cannot be changed after the validator is createdmin-self-delegation
is the minimum amount of apell the validator requires to have bonded at all time. If the validator's self-delegated stake falls below this limit, the validator gets jailed and kicked out of the active validator setgas-prices
is gas prices in decimal format to determine the transaction feeWhen specifying commission parameters, the
commission-max-change-rate
is used to measure % point change over thecommission-rate
. E.g. 1% to 2% is a 100% rate increase, but only 1 percentage pointmin-self-delegation
is a strictly positive integer that represents the minimum amount of self-delegated voting power your validator must always have
To confirm your validator is created, run this command which shows the current status of your validator.
pellcored query staking validator $(pellcored keys show <your_node_name> --bech val -a)
Last updated