Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
/ btccli Public archive

Controll bitcoind and bitcoin-cli from golang.

License

Notifications You must be signed in to change notification settings

dabankio/btccli

Repository files navigation

Bitcoin cli wrapper

  • Start and stop bitcoind from golang.
  • Using go to wrap bitcoin cli.

Useful for integreting bitcoin to tests.

See bitcoin-core-apis

Zero dependency.

Currently not support windows

Im developing under macOS and linux, not enough time to deal with windows.

How to use?

  • env variable BITCOIN_BIN_PATH to your [bitcoin bin] path (see init.go
  • init.go
  • func.go
  • other funcs normally start with name which same as file preffix (eg:func in cli_wrap.go usually like cliXxx)

Notice:

  • Some behaviors may be effected by your local bitcoin.conf.

TODO

versions

Im considering keep same as bitcoincore version, currently 0.18.0.

LiCENSE

BSD 3-Clause License

About

Controll bitcoind and bitcoin-cli from golang.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages