/go-bitcoin-core-rpc

An RPC client for the Bitcoin Core JSON-RPC API in Go (Golang).

Primary LanguageGoISC LicenseISC

go-bitcoin-core-rpc

ISC License GoDoc

rpcclient implements a Bitcoin Core JSON-RPC client package written in Go. It provides a robust and easy to use client for interfacing with a Bitcoin RPC server.

Status

This package is currently under active development. It is already stable and the infrastructure is complete. However, there are still several RPCs left to implement and the API is not stable yet.

Documentation

  • API Reference
  • Example Connects to a bitcoin Core RPC server using HTTP POST mode with TLS disabled and gets the current block count.

Major Features

  • Translates to and from higher-level and easier to use Go types
  • Offers a synchronous (blocking) and asynchronous API

Installation

$ go get -u github.com/stevenroose/go-bitcoin-core-rpc

License

Package rpcclient is licensed under the copyfree ISC License.