Socket
Socket
Sign inDemoInstall

github.com/MegaGrindStone/btcwallet_client/rpcclient

Package Overview
Dependencies
5
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/MegaGrindStone/btcwallet_client/rpcclient

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

FAQs

Last updated on 14 Sep 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