QIE Blockchain Docs
  • QIE Blockchain
  • Fundamental Topics
    • How can i add QIE to Metamask?
    • What is Blockchain?
    • What is QIE?
    • What are Smart Contracts?
    • What are Dapps?
    • What’s Changing in the QIE Blockchain Ecosystem?
    • QIE Blockchain Whitepaper
  • Consensus
    • Consensus
    • What is Proof Of Stake?
    • Proof Of Stake
    • Why Transition to Proof Of Stake?
    • Migration Process
  • Build & API
    • Run a QIE Blockchain full node
      • Starting a Full Node
      • Genesis File
    • Becoming a Validator on the New QIE Blockchain
      • Steps for Validator Setup
    • QIE Blockchain CLI Parameters
    • RPC API
      • QIE methods
      • Txpool methods
      • WEB3 methods
Powered by GitBook
On this page
  1. Build & API
  2. Run a QIE Blockchain full node

Starting a Full Node

PreviousRun a QIE Blockchain full nodeNextGenesis File

Last updated 11 months ago

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 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!

https://docs.qiblockchain.online/build-and-api/run-a-qi-blockchain-full-node/genesis-file