# crypto-balances-test

> Easy check addresses balances of various crypto tokens. Script automaticaly recognize a protocol by address and return balance of tokens associated with it.

Latest version **0.1.3** (published 2016-11-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install crypto-balances-test
pnpm add crypto-balances-test
yarn add crypto-balances-test
bun add crypto-balances-test
```

Provides the command `balance`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2016-11-23 |
| First published | 2016-11-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+6 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Valery Litvin |
| Maintainers | goalkeeper112 |
| Keywords | token, blockchain, crypto, balance, money, currency, bitcoin, btc, litecoin, ltc, dogecoin, doge, counterparty, xcp, dogeparty, xdp, openassets, ethereum, eth, altcoin, ripple, nxt, nem, dash, bitshares, bitusd, bts, omni, omnichest, factom, factoids |

## Links

- npm: https://www.npmjs.com/package/crypto-balances-test
- Repository: https://github.com/goalkeeper112/crypto-balances
- Homepage: https://github.com/goalkeeper112/crypto-balances#readme
- Issues: https://github.com/goalkeeper112/crypto-balances/issues
- npm.io page: https://npm.io/package/crypto-balances-test

## Dependencies (6)

- [big.js](https://npm.io/package/big.js.md) ^3.1.3
- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [numeral](https://npm.io/package/numeral.md) ^1.5.3
- [request](https://npm.io/package/request.md) ^2.67.0
- [bluebird](https://npm.io/package/bluebird.md) ^2.3.0
- [bs58check](https://npm.io/package/bs58check.md) ^1.0.3

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.3 (latest) — 2016-11-23
- 0.1.2 — 2016-11-23
- 2.1.3 — 2016-11-23

## README

# Crypto-balances
[![Join the chat at https://gitter.im/ValeryLitvin/crypto-balances](https://badges.gitter.im/ValeryLitvin/crypto-balances.svg)](https://gitter.im/ValeryLitvin/crypto-balances?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![npm version](https://badge.fury.io/js/crypto-balances.svg)](https://badge.fury.io/js/crypto-balances)
[![Code Climate](https://codeclimate.com/github/ValeryLitvin/crypto-balances/badges/gpa.svg)](https://codeclimate.com/github/ValeryLitvin/crypto-balances)
[![Issue Count](https://codeclimate.com/github/ValeryLitvin/crypto-balances/badges/issue_count.svg)](https://codeclimate.com/github/ValeryLitvin/crypto-balances)

Easy check addresses balances of various crypto tokens. Script automaticaly recognize a protocol by address and return balance of tokens associated with it.

On repo project folder type:
```
~ » npm run balance 0xfc30a6c6d1d61f0027556ed25a670345ab39d0cb

  { status: 'success',
  service: 'http://api.etherscan.io',
  address: '0xfc30a6c6d1d61f0027556ed25a670345ab39d0cb',
  asset: 'ETH',
  quantity: '0.29' }

  0.29 ETH
```

## Node.js

```
var balance = require('crypto-balances');
balance("0xfc30a6c6d1d61f0027556ed25a670345ab39d0cb", function(error, result) {
  console.log(result);
});

[{"quantity":"0.29","asset":"ETH"}]
```

## Supported Protocols

- Using `https://chain.so`: Bitcoin, Litecoin
- Using `http://dogechain.info`: Dogecoin
- Using `http://etherscan.io`: Ethereum
- Using `http://blockscan.com`: Counterparty
- Using `https://api.coinprism.com`: Open Assets Protocol
- Using `https://api.ripple.com`: Ripple and Ripple based IOUs
- Using `http://omnichest.info`: Omni
- Using `http://jnxt.org`: NXT and NXT AE (on port 7876)
- Using `http://bigalice3.nem.ninja`: NEM (on port 7890)
- Using `http://node.cyber.fund`: Bitshares with account names (on port 8055)
- Using `http://node.cyber.fund`: Factom (on port 8077)
- Using `https://chainz.cryptoid.info`: Dash, PeerCoin, etc

## Installation

```
~ » git clone https://github.com/ValeryLitvin/crypto-balances
~ » cd crypto-balances
~ » make init
~ » make build
```

## Tests
```
~ » npm test
```

## Next Milestone
- Move all urls to config file

## License

Under MIT License

## Contributing
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create new Pull Request

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