Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 2.13 KB

README.md

File metadata and controls

67 lines (50 loc) · 2.13 KB

PWR Chain Validator Node Guide

Important Note: This is the inaugural testnet launch. While we strive for perfection, there might be unforeseen issues. We appreciate all feedback, bug reports, or any other issues reported in our Discord server.

Requirements:

  • CPU: Single Core
  • Memory: 1 GB RAM
  • Disk: 25 GB SSD
  • Open Ports: 8231, 8085

Setup on Ubuntu Server:

  1. Update OS:

    sudo apt update
  2. Install Java:

    apt install openjdk-19-jre-headless
  3. Clone the PWR Validator Node Repository:

    git clone https://github.com/PWR-Labs/PWR-Validator-Node.git
  4. Navigate to the Validator Node Directory:

    cd PWR-Validator-Node
  5. Set Up your Password:

    sudo nano password
    • Enter your desired password.
    • Press Ctrl + x to close.
    • Press Y to confirm saving the password.
  6. Run the Node: Replace <YOUR_SERVER_IP> with your server's actual IP.

    java -jar validator.jar password <YOUR_SERVER_IP>
    • Upon initialization, the node will generate a wallet, store it locally, and display an address in the format:
      My address: 0xf4b2f12afa634c206bdf5f0dd6dd90f024ad62b7
      
  7. Become a Validator Node:

    • Initially, your node will synchronize with the blockchain but will not assume validator responsibilities until it possesses staked PWR Coins.

    • To obtain sufficient PWR Coins for staking, apply to become a testnet validator on our Discord server. Once approved, share the displayed address with the team, and you'll receive a 100k PWR stake.

    • After claiming your coins, your node will initiate a transaction to enlist as a validator.

  8. Running in the Background: If you wish to run the node in the background, ensuring it remains active after closing the terminal, utilize the nohup command:

    nohup java -jar validator.jar password <YOUR_SERVER_IP> &

Congratulations, you've now set up and run a PWR Chain validator node!