Installation
Step-by-step guide on how to install and run Quai Network
To use Quai Network, you need to install it first. This page outlines how to install and build Quai Network from the source repository. With this method, Quai Network will run as a full node with certain parameters already set. If you wish to learn more about running go-quai as a subset of the network, visit the go-quai repository.

Prerequisites

Go Install MacOS / Ubuntu

1
// Fresh Go Install version 1.17.7
2
wget -c https://golang.org/dl/go1.17.7.linux-amd64.tar.gz
3
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.17.7.linux-amd64.tar.gz
4
export PATH=$PATH:/usr/local/go/bin
Copied!

Terminal Commands

1
// Install go-quai
2
git clone https://github.com/spruce-solutions/go-quai // clone go-quai onto your machine
3
cd go-quai // move into go-quai directory
4
cp network.env.dist network.env // copies environment variables to your machine
5
make go-quai // generates go-quai binary
6
make run-full-node // start full node running a 3x3 WITHOUT MINING
7
// OR
8
make run-full-mining // start full mining node
9
10
// View logs of running nodes
11
cat nodelogs/zone-1-1.log
12
13
// Stop go-quai
14
make stop
Copied!

Ports

Text
TCP/UDP
HTTP
WebSockets
prime
30303
8546
8547
region-1
region-2
region-3
30304
30305
30306
8578
8580
8582
8579
8581
8583
zone-1-1
zone-1-2
zone-1-3
zone-2-1
zone-2-2
zone-2-3
zone-3-1
zone-3-2
zone-3-3
30307
30308
30309
30310
30311
30312
30313
30314
30315
8610
8642
8674
8612
8644
8676
8614
8646
8678
8611
8643
8675
8613
8645
8677
8615
8647
8679
To view a YouTube tutorial on how to set up a Bronze Age Quai Network node, click here.
To read our article offering a step-by-step guide on how to set up a Bronze Age Quai Network node, click here.