piotrnar /gocoin
Full Bitcoin node and offline (cold) wallet written in Go (golang)
★ 999⑂ 223👁 61⑃ 12● 66▤ 3
+0
Daily
999
stars
223
forks
61
watchers
12
prs
66
issues
3
releases
README
About Gocoin Gocoin is a full Bitcoin solution written in Go language (golang). The software architecture is focused on maximum performance of the node and cold storage security of the wallet. The wallet is designed to be used offline. It is deterministic and password seeded. As long as you remember the password, you do not need any backups ever. Wallet can be used without the client, but with the provided balio tool instead. The client (p2p node) is an application independent from the wallet. It keeps the entire UTXO set in RAM, providing an instant access to all its records and - in consequece - an extraordinary blochchain processing performance. System memory and time Gocoin node needs to sync the blockchain up to the given block number, with comparision to Bitcoin Core 30.2: !SyncChart The above data was collected using Hetzner dedicated server with Intel i7-7700 CPU, 64GB RAM, 2x512GB SSD and 1Gbit internet connection. Nodes using their default configuration (changed setting in brackets). For other performance charts see gocoin.pl website. Note that results may vary (even by 10-20%), depending on the luck of connecting to 'good' peers. Requirements Hardware client: 64-bit architecture OS and Go compiler. File system supporting files larger than 4GB. At least 32GB of system RAM. wallet: Any platform that you can make your Go (cross)compiler to build for (Raspberry Pi works). For security reasons make sure to use encrypted swap file (if there is a swap file). If you decide to store your password in a file, have the disk encrypted (in case it gets stolen). Operating System Having hardware requirements met, any target OS supported by your Go compiler will do. Currently that can be at least one of the following: Windows Linux macOS Free BSD Build environment In order to build Gocoin yourself, you will need the following tools installed in your system: Go (recent version) - http://golang.org/doc/install Git (optional) - http://git-scm.com/downloads If the tools mentioned above are properly installed, you should be able to execute go and (optionally) git from your OS's command prompt without a need to specify full path to the executables. Getting sources Download the source code from github to a local folder of your choice by executing: git clone https://github.com/piotrnar/gocoin.git Alternatively - if you don't want to use git - download the code archive from github.com/piotrnar/gocoin using any web browser. Then extract the archive to your local disk. Building Client node Go to the client/ folder and execute go build there. Wallet Go to the wallet/ folder and execute go build there. Tools Each sub-folder inside tools/ folder is a separate tool. Go to a chosen sub-folder and execute go build there. Binaries Find the latest binaries (of client, wallet and balio tool) for Windows, Linux and macOS in Releases. Older binaries can be downloaded from sourceforge.net. Note that the binaries are a
Top issues
#72Reproducible Build Verification - Requesting Build Documentation2 comments · 2026-01-27#53Add Godoc comments2 comments · 2019-11-17#55Evaluate if contributions are acceptable when the contributor signed a CLA1 comments · 2019-11-20#79rpcapi: unchecked type assertions on JSON-RPC params crash the handler instead of returning an error (getwork, validateaddress)0 comments · 2026-08-25#67IPV6 support0 comments · 2024-05-16#64test: some Unit tests missing package btc0 comments · 2024-04-26
Latest release
Gocoin 1.11.0 1.11.0 2025-11-15Find signed sha256sum.txt.asc file inside each archive with the binaries. Released on 13th of November 2025 Note: Binaries have been built with GOAMD64=v3 so they will not work on older CPUs (before Intel Core i3/i5/i7-4xxx or Ryzen 1000 series). Additionally GOEXPERIMENT=greenteagc was used.