Skip to content

dominant-strategies/go-quai

Folders and files

NameName
Last commit message
Last commit date
Mar 21, 2025
Aug 26, 2024
Mar 6, 2025
Feb 4, 2025
Mar 28, 2025
Mar 28, 2025
Jan 30, 2025
Jan 27, 2025
Jan 2, 2025
Aug 21, 2024
Mar 28, 2025
Jun 27, 2024
Jan 27, 2025
Jan 3, 2025
Feb 4, 2025
Mar 28, 2025
Aug 1, 2024
Feb 18, 2025
Mar 24, 2025
Mar 28, 2025
Jan 11, 2024
Mar 3, 2025
Nov 2, 2023
Jan 13, 2025
Aug 26, 2024
Aug 26, 2024
Oct 2, 2023
Mar 6, 2025
Oct 25, 2023
Aug 26, 2024
Aug 9, 2024
Oct 9, 2024
Feb 4, 2025
Feb 4, 2025
Jan 24, 2025

Repository files navigation

Go Quai

The reference implementation of the Quai protocol, written in Go.

API Reference Go Report Card Discord

Usage

Building from source

Once you have the necessary prerequisites, clone the go-quai repository and navigate to it using:

git clone https://github.com/dominant-strategies/go-quai.git
cd go-quai
make go-quai

After a successful build, the binary will be located at build/bin/go-quai.

Running a node

To run a go-quai node, simply execute the go-quai start command. Be sure to specify the parameters you wish to use, such as your coinbase address (if you plan on mining), and which slices you wish to participate in.

For example, here is the run command for miner (0x00a3e45aa16163F2663015b6695894D918866d19) in cyprus-1 (zone-0-0) on the "garden" test network:

./build/bin/go-quai start --node.slices "[0 0]" --node.coinbases "0x00a3e45aa16163F2663015b6695894D918866d19" --node.environment "garden"

For the full list of available options and their default values, consult the help menu:

./build/go-quai --help

All configuration options may be supplied in a config file too, located in the directory specified by --global.config-dir. Note specified on the command-line will override options specified in the config file.

Running tests

To run the included unit tests, run the following command:

./build/go-quai test

Contributing

We welcome community contributions! If you find a bug, have a feature request, or would like to help out with development, we would love to hear from you; no fix is too small. Please take a look at [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines for contributing to the project.

License

This software is licensed under the GNU Genreral Public License, Version 3. See LICENSE for details.