Starting a Full Node

Welcome to the QIE Blockchain node setup guide! Follow these steps carefully to get your node up and running. You don't need to be a computer genius; just follow the instructions below.

Step 1: Open Your Terminal For Windows: Search for "CMD" or "Command Prompt" in your start menu and open it. For macOS or Linux: Search for "Terminal" and open it.

Step 2: Install Git Before we can clone the QIE Blockchain binaries, we need to ensure that Git is installed on your machine. Run this command to install Git: bash Copy code sudo apt-get install git -y

Step 3: Update Your Package List It's always a good idea to have the latest updates before installing something new. Run the command below to update your system's package list: bash Copy code sudo apt-get update

Step 4: Clone the QIE Blockchain Binaries Now, we're going to download (or "clone") the QIE Blockchain binaries from GitHub. Execute the following command: bash Copy code git clone https://github.com/QIBlockchain/qi-blockchain-binaries

Step 5: Enter the Cloned Directory After cloning, we need to go into the directory that was just created. Change directory by running: bash Copy code cd qi-blockchain-binaries

Step 6: Initialize QIE Blockchain Secrets We need to set up some secrets for our node to operate securely. Initialize the secrets with this command: bash Copy code ./qichain secrets init --data-dir test-chain-1

Step 7: Start Your QIE Blockchain Node It's time to start your node and connect it to the QIE Blockchain.

Step 14 : Run this command to create new file nano genesis.json

Step 15 : Copy the mainnet genesis file from the link in left hand navigation bar or click on https://docs.qiblockchain.online/build-and-api/run-a-qi-blockchain-full-node/genesis-file Use this command to run your node: bash

Copy code ./qichain server --data-dir ./test-chain-1 --chain genesis.json --grpc-address :10000 --libp2p 172.16.0.228:10001 --jsonrpc 172.16.0.228:10002 --seal --block-time 5

Step 8: Confirm Your Node is Running If everything went well, your node should now be running. You won't get a specific "success" message, but if you don't see any error messages, that means it's working!

Troubleshooting : If you encounter errors during any step, carefully read the error message. It often provides hints on what went wrong. If you're stuck, don't hesitate to search online for the error message or ask for help in forums. Congratulations! You've just set up your QIE Blockchain node. By following these steps, you've contributed another valuable node to the network. Thank you for participating!

Last updated