Skip to content

How to Run A Fullnode on GBGC Chain (GBGC)

Fullnodes Functions

  • Stores the full blockchain history on disk and can answer the data request from the network.
  • Receives and validates the new blocks and transactions.
  • Verifies the states of every accounts.

Supported Platforms

We support running a full node on Mac OS Xand Linux.

Suggested Requirements

Fullnode

  • VPS running recent versions of Mac OS X or Linux.
  • 4 cores of CPU and 8 gigabytes of memory (RAM).
  • A broadband Internet connection with upload/download speeds of 5 megabyte per second

Steps to Run a Full Node

Download gbgc_mainnet.json and static-nodes.json from https://github.com/gbgc-core/gbgc

wget https://raw.githubusercontent.com/gbgc-core/GBGCNetwork/master/gbgc_mainnet.json
wget https://raw.githubusercontent.com/gbgc-core/GBGCNetwork/master/static-nodes.json

Make node folder

mkdir node

Initialize the Node

./geth --datadir ./node init gbgc_mainnet.json

Copy the static-nodes.json to node/geth

Run the Nodes

./geth --datadir node --syncmode 'full' --gcmode=archive  --port 40605 --http --http.port 3545 --http.api 'personal,eth,net,web3,personal,admin,miner,txpool,debug' --bootnodes enode://5374d7eaa5e2b5be591246773a4a96ea20b4f35d19ed05fcf53d9ec214b80deb0d68937b15f41b3f700e64921e864a47d8a17b6f728de44d9cd462d776a2de73@45.79.122.22:0?discport=40606 --networkid 50741  --allow-insecure-unlock