Deploys Node in Pryzm Project

TLanderon
2 min readJul 16, 2024

--

Github | Twitter | Keybase

Validator Information

Deployment Steps

To deploy the Pryzm node using Docker, follow the instructions below:

Step 1: Update and Install Dependencies

sudo apt update && sudo apt upgrade -y
sudo apt install -y build-essential git curl jq

Step 2: Install Docker

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker ${USER}

Step 3: Clone Pryzm Repository

git clone https://github.com/pryzm-labs/pryzm
cd pryzm

Step 4: Configure Docker Compose

Create a docker-compose.yml file with the following configuration:

version: '3.1'
services:
pryzmd:
image: pryzm-labs/pryzmd:latest
container_name: pryzmd
ports:
- "26656:26656"
- "26657:26657"
volumes:
- pryzmd_data:/root/.pryzmd
restart: always
command: [
"pryzmd", "start",
"--pruning=default",
"--p2p.laddr=tcp://0.0.0.0:26656",
"--rpc.laddr=tcp://0.0.0.0:26657",
"--grpc.address=0.0.0.0:9090",
"--grpc-web.enable=false"
]
volumes:
pryzmd_data:

Step 5: Initialize the Node

docker run -v pryzmd_data:/root/.pryzmd pryzm-labs/pryzmd:latest init TLanderon --chain-id pryzm-testnet

Step 6: Configure the Node

Replace the placeholders in the configuration files with your node details:

{
"moniker": "TLanderon",
"account_address": "pryzm1t76tufmmtukymlfntfynpsuy9z3thpketx4njk",
"operator_address": "pryzmvaloper1t76tufmmtukymlfntfynpsuy9z3thpke4nkaad",
"hex_address": "3931DB9B016F0CE93BBDE9E20ED7DB0BCDC42D9A",
"signer_address": "pryzmvalcons18ycahxcpduxwjwaaa83qa47mp0xugtv66h6ng9",
"consensus_pub_key": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "1GO7ih382wQc3RdAbO5n7aDO9eQdh4IFUutiq+UbaF0="
}
}

Step 7: Start the Node

docker-compose up -d

--

--