# blockchain-wallet

> blockchain.info wallet API client for node.js

Latest version **0.0.4** (published 2014-04-13) · 0 weekly downloads

## Install

```sh
npm install blockchain-wallet
pnpm add blockchain-wallet
yarn add blockchain-wallet
bun add blockchain-wallet
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2014-04-13 |
| First published | 2013-05-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ~0.10 |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Preston Skupinski |
| Maintainers | pskupinski |
| Keywords | btc, bitcoin, blockchain, wallet |

## Links

- npm: https://www.npmjs.com/package/blockchain-wallet
- Repository: https://github.com/pskupinski/node-blockchain-wallet
- Issues: https://github.com/pskupinski/node-blockchain-wallet/issues
- npm.io page: https://npm.io/package/blockchain-wallet

## Dependencies (1)

- [request](https://npm.io/package/request.md) 2.34.0

## Recent versions

- 0.0.4 (latest) — 2014-04-13
- 0.0.3 — 2013-05-05
- 0.0.2 — 2013-05-04

## README

node-blockchain-wallet
======================

An unofficial node.js client for the [blockchain.info wallet api](http://blockchain.info/api/blockchain_wallet_api).

## Installation

node-blockchain-wallet is available as `blockchain-wallet` on npm.

```
npm install blockchain-wallet
```

## Usage

```javascript
var BlockchainWallet = require('blockchain-wallet'),
    blockchainWallet = new BlockchainWallet("YourGuid", "YourPassword"),
    // Certain API methods require a second password if the wallet is second password protected, while others don't at all.
    transactionBlockchainWallet = new BlockchainWallet("YourGuid", "YourPassword", "YourSecondPassword");

blockchainWallet.list(function(err, data) {
  if(err) {
    throw err;
  }

  console.log(data);
});

// Send a donation to blockchain.info.
transactionBlockchainWallet.payment("1JArS6jzE3AJ9sZ3aFij1BmTcpFGgN86hA", 500, {"note": "Thanks"}, function(err, data) {
  if(err) {
    throw err;
  }

  console.log(data);
});
```

## Reference

A method-by-method [reference](https://github.com/pskupinski/node-blockchain-wallet/wiki/API-Reference) is available on the wiki.

## License

This module is [ISC licensed](https://github.com/pskupinski/node-blockchain-wallet/blob/master/LICENSE.txt).

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