Wanchain - We Are All Connected!
WebsiteBridgeExplorerEcosystem
  • 👋 Welcome to Wanchain
  • Products
    • WanBridge
      • Bridge-to-Earn
      • XP
    • XFlows
      • XP
    • XPort
      • XPort developer handbook
      • Supported chains
    • XStake
  • Cross-Chain Infrastructure
    • Wanchain Bridge Node Group
    • Wanchain L1 blockchain
      • Network information
    • WAN coin
      • How to get WAN coins
      • WAN coin faucets
      • xWAN
  • The Convert n' Burn System
    • Overview
    • Bridge fees
      • Conversion and distribution
    • Discounts
  • Developers
    • XPort Developer Handbook
  • PoS Validator Nodes
    • Important Terms and Parameter
    • Recommended Hardware & Software
    • Mainnet Node Setup (Quick Start)
    • Mainnet Node Setup (Manually)
    • Getting Started With AWS
    • Common Operations (CLI)
    • Delegation Guide
    • Commonly Used Scripts
    • GWAN PoS API
    • Partner Model Staking Guide
    • Staking FAQ
  • Wanchain Bridge Nodes
    • Fact Sheet
    • How to deploy a Bridge Node
  • External Links
    • Blog
    • Email
    • GitHub
    • Telegram
    • Telegram Tech Support
    • Twitter/X
    • WanBridge
    • XFlows
    • XStake
    • WanScan
    • Website
Powered by GitBook
On this page
  • Download gwan node
  • Account Setup
  • Starting GWAN Node
  • Register Validator Node
  • Switching Node to a New Server
  1. PoS Validator Nodes

Mainnet Node Setup (Manually)

PreviousMainnet Node Setup (Quick Start)NextGetting Started With AWS

Last updated 9 months ago

This tutorial shows you how to manually start a validator node using GWAN. This method does not require sudo privileges and does not require the use of docker.

This method is suitable for developers with the technical ability to flexibly customize and modify instructions according to their specific environment.

Download gwan node

First get the latest gwan node, select the version for your operating system and download it at:

Here is the Linux version for your reference:

wget https://github.com/wanchain/go-wanchain/releases/download/v2.1.2/gwan-linux-amd64-2.1.2-e7e0f23d.tar.gz

tar -zxvf gwan-linux-amd64-2.1.2-e7e0f23d.tar.gz

cd gwan-linux-amd64-2.1.2-e7e0f23d

Check version information:

./gwan version

Account Setup

Use the following script to setup a new account:

./gwan account new 

Enter password twice and get the generated account addresses

Use the following command to get the account public key:

(assuming the address just created is AAA and the password is BBB)

./gwan account pubkeys AAA BBB

The obtained key1 and key3 are the two public keys that we need to create the validator node later.

NOTE:key1 and key3, not key2

Starting GWAN Node

(assuming AAA is the address we just created)

./gwan --etherbase AAA --unlock AAA --mine 

After entering the password as prompted, the node starts

Note: At this time, the node is running in the foreground, and will be stopped after closing the terminal or Ctrl-C.

If you need to run the node in the background, try running with pm2, nohup, screen or other background startup mode.

Register Validator Node

Switching Node to a New Server

See FAQ

You can register through the official . See instructions here.

https://github.com/wanchain/go-wanchain/releases/tag/v2.1.2
WanWallet