MCPcopy Index your code
hub / github.com/dominant-strategies/go-quai

github.com/dominant-strategies/go-quai @v0.55.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.55.0 ↗ · + Follow
8,684 symbols 33,346 edges 468 files 4,081 documented · 47% 90 cross-repo links updated 14d agov0.55.0 · 2026-06-25★ 2,39784 open issues

Browse by type

Functions 7,692 Types & classes 992
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 5,140
Function 2,552
Struct 744
Interface 109
TypeAlias 108
FuncType 31

Languages

Go100%

Modules by API surface

core/types/proto_block.pb.go496 symbols
core/types/wo.go202 symbols
core/core.go186 symbols
quai/api_backend.go154 symbols
p2p/mocks/mockedPeerStore.go144 symbols
core/types/block.go144 symbols
core/rawdb/accessors_chain.go142 symbols
internal/quaiapi/backend.go135 symbols
core/types/transaction.go135 symbols
core/tx_pool.go113 symbols
core/types/auxpow.go107 symbols
core/headerchain.go103 symbols

Dependencies from manifests, versioned

github.com/DataDog/zstdv1.4.5 · 1×
github.com/adrg/xdgv0.4.0 · 1×
github.com/bahlo/generic-list-gov0.2.0 · 1×
github.com/benbjohnson/clockv1.3.5 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/btcsuite/btclogv0.0.0-2017062815530 · 1×
github.com/btcsuite/go-socksv0.0.0-2017010517252 · 1×

For agents

$ claude mcp add go-quai \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page