> For the complete documentation index, see [llms.txt](https://services.rpcdot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.rpcdot.com/pell-network/pell-network-pell-devnet-0.1.0-node-setup.md).

# Pell Network - Pell Devnet 0.1.0 Node Setup

<figure><img src="/files/QI5Mx65H463FqaQ7cUGC" alt=""><figcaption></figcaption></figure>

### REq :&#x20;

| CPU | RAM | Disk | Ubuntu        |
| --- | --- | ---- | ------------- |
| 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 :&#x20;

```
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 :&#x20;

```
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  :fire:&#x20;

### Docker Login :&#x20;

```
docker login -u pellnetwork
```

### Pull the latest Pell Node image :&#x20;

```
docker pull docker.io/pellnetwork/pellnode-devnet:v0.1.0
```

### Starting Pell P2P Node :&#x20;

Change \<your\_node\_name> with your moniker name :&#x20;

```
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  :&#x20;

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. :fire:

#### 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.&#x20;

### Create Your Validator :&#x20;

#### 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 bonded
* `moniker` is the validator's name
* `commission-rate` is the commission rate on block rewards and fees charged to delegators
* `commission-max-rate` is the maximum commission rate that this validator can charge. This parameter is fixed and cannot be changed after the validator is created
* `commission-max-change-rate` is the maximum daily increase of the validator commission. This parameter is fixed cannot be changed after the validator is created
* `min-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 set
* `gas-prices` is gas prices in decimal format to determine the transaction fee
* When specifying commission parameters, the `commission-max-change-rate` is used to measure % *point* change over the `commission-rate`. E.g. 1% to 2% is a 100% rate increase, but only 1 percentage point
* `min-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)
```
