# bitcoin-rpc

> An RPC Client for Bitcoin Core

Latest version **0.2.1** (published 2015-06-12) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install bitcoin-rpc
pnpm add bitcoin-rpc
yarn add bitcoin-rpc
bun add bitcoin-rpc
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2015-06-12 |
| First published | 2015-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Chris Arnesen |
| Maintainers | carnesen |

## Links

- npm: https://www.npmjs.com/package/bitcoin-rpc
- Repository: https://github.com/carnesen/bitcoin-rpc
- Issues: https://github.com/carnesen/bitcoin-rpc/issues
- npm.io page: https://npm.io/package/bitcoin-rpc

## Dependencies (4)

- [async](https://npm.io/package/async.md) 0.9.0
- [config](https://npm.io/package/config.md) ^1.14.0
- [lodash](https://npm.io/package/lodash.md) ^3.6.0
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.2.7

## Recent versions

- 0.2.1 (latest) — 2015-06-12
- 0.2.0 — 2015-05-31
- 0.1.0 — 2015-05-06

## README

bitcoin-rpc
================

[![Build Status](https://travis-ci.org/carnesen/bitcoin-rpc.svg)](https://travis-ci.org/carnesen/bitcoin-rpc)
[![Coverage Status](https://coveralls.io/repos/carnesen/bitcoin-rpc/badge.svg)](https://coveralls.io/r/carnesen/bitcoin-rpc)

[![NPM](https://nodei.co/npm/bitcoin-rpc.png)](https://nodei.co/npm/bitcoin-rpc/)

Examples
--------

```node
var config = require('config');
var rpc = require('bitcoin-rpc');

var opts = config.get('client');
var client = rpc.Client.create(opts);
var requests = rpc.requests;

client.sendRequest(requests.GetInfo(), console.log);
client.sendRequest(requests.ValidateAddress('19zc6mD19EiKgCbkbsd9h4jZuaYnezxBn6'), console.log);
```

---
_Source: https://npm.io/package/bitcoin-rpc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
