Socket
Socket
Sign inDemoInstall

github.com/gracenoah/zcashd-rpc

Package Overview
Dependencies
3
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/gracenoah/zcashd-rpc

Package rpcclient implements a Bitcoin Core JSON-RPC client. This client provides a robust and easy to use client for interfacing with a Bitcoin RPC server that uses a Bitcoin Core compatible Bitcoin JSON-RPC API. There are 3 categories of errors that will be returned throughout this package: The first category of errors are typically ErrInvalidAuth or ErrClientShutdown. The second category of errors typically indicates a programmer error and as such the type can vary, but usually will be best handled by simply showing/logging it. The third category of errors, that is errors returned by the server, can be detected by type asserting the error in a *btcjson.RPCError. For example, to detect if a command is unimplemented by the remote RPC server: Check the examples directory.


Version published

Readme

Source

zcashd-rpc

ISC License GoDoc

rpcclient implements a zcashd JSON-RPC client package written in Go. It provides a robust and easy to use client for interfacing with a zcashd 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 zcashd 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/gracenoah/zcashd-rpc

License

Package rpcclient is licensed under the copyfree ISC License.

FAQs

Last updated on 25 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc