# artbytecore-lib

> A pure and powerful JavaScript ArtByte library.

Latest version **0.13.22** (published 2017-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install artbytecore-lib
pnpm add artbytecore-lib
yarn add artbytecore-lib
bun add artbytecore-lib
```

## 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.13.22 |
| Published | 2017-10-07 |
| First published | 2017-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 (+14 in 3 direct dependencies) |
| Install scripts | no |
| Author | BitPay |
| Maintainers | bushstar |
| Keywords | artbyte, bitcoin, transaction, address, p2p, ecies, cryptocurrency, blockchain, payment, bip21, bip32, bip37, bip69, bip70, multisig |

## Links

- npm: https://www.npmjs.com/package/artbytecore-lib
- Repository: https://github.com/Bushstar/artbytecore-lib
- Homepage: https://github.com/Bushstar/artbytecore-lib#readme
- Issues: https://github.com/Bushstar/artbytecore-lib/issues
- npm.io page: https://npm.io/package/artbytecore-lib

## Dependencies (7)

- [bs58](https://npm.io/package/bs58.md) =2.0.0
- [bn.js](https://npm.io/package/bn.js.md) =2.0.4
- [lodash](https://npm.io/package/lodash.md) =3.10.1
- [elliptic](https://npm.io/package/elliptic.md) =3.0.3
- [inherits](https://npm.io/package/inherits.md) =2.0.1
- [scryptsy](https://npm.io/package/scryptsy.md) =2.0.0
- [buffer-compare](https://npm.io/package/buffer-compare.md) =1.0.0

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 0.13.22 (latest) — 2017-10-07
- 0.13.21 — 2017-10-04

## README

ArtBytecore Library
=======

A pure and powerful JavaScript ArtByte library.

## Principles

ArtByte is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Bitcoin network allows for highly resilient artbyte infrastructure, and the developer community needs reliable, open-source tools to implement artbytecore apps and services.

## Get Started

```
npm install artbytecore-lib
```

```
bower install artbytecore-lib
```

## Documentation

The complete docs are hosted here: [bitcore documentation](http://bitcore.io/guide/). There's also a [bitcore API reference](http://bitcore.io/api/) available generated from the JSDocs of the project, where you'll find low-level details on each bitcore utility.

- [Read the Developer Guide](http://bitcore.io/guide/)
- [Read the API Reference](http://bitcore.io/api/)

To get community assistance and ask for help with implementation questions, please use our [community forums](https://forum.artbytecore.io/).

## Examples

* [Generate a random address](https://github.com/Bushstar/artbytecore-lib/blob/master/docs/examples.md#generate-a-random-address)
* [Generate a address from a SHA256 hash](https://github.com/Bushstar/artbytecore-lib/blob/master/docs/examples.md#generate-a-address-from-a-sha256-hash)
* [Import an address via WIF](https://github.com/Bushstar/artbytecore-lib/blob/master/docs/examples.md#import-an-address-via-wif)
* [Create a Transaction](https://github.com/Bushstar/artbytecore-lib/blob/master/docs/examples.md#create-a-transaction)
* [Sign a ArtByte message](https://github.com/Bushstar/artbytecore-lib/blob/master/docs/examples.md#sign-a-artbyte-message)
* [Verify a ArtByte message](https://github.com/Bushstar/artbytecore-lib/blob/master/docs/examples.md#verify-a-artbyte-message)
* [Create an OP RETURN transaction](https://github.com/Bushstar/artbytecore-lib/blob/master/docs/examples.md#create-an-op-return-transaction)
* [Create a 2-of-3 multisig P2SH address](https://github.com/Bushstar/artbytecore-lib/blob/master/docs/examples.md#create-a-2-of-3-multisig-p2sh-address)
* [Spend from a 2-of-2 multisig P2SH address](https://github.com/Bushstar/artbytecore-lib/blob/master/docs/examples.md#spend-from-a-2-of-2-multisig-p2sh-address)


## Security

We're using ArtBytecore in production, as are [many others](http://bitcore.io#projects), but please use common sense when doing anything related to finances! We take no responsibility for your implementation decisions.

If you find a security issue, please email bushsolo@gmail.com.

## Contributing

Please send pull requests for bug fixes, code optimization, and ideas for improvement. For more information on how to contribute, please refer to our [CONTRIBUTING](https://github.com/Bushstar/artbytecore-lib/blob/master/CONTRIBUTING.md) file.

## Building the Browser Bundle

To build a artbytecore-lib full bundle for the browser:

```sh
gulp browser
```

This will generate files named `bitcore-lib.js` and `bitcore-lib.min.js`.

You can also use our pre-generated files, provided for each release along with a PGP signature by one of the project's maintainers. To get them, checkout a release commit (for example, https://github.com/Bushstar/artbytecore-lib/commit/e33b6e3ba6a1e5830a079e02d949fce69ea33546 for v0.12.6).

## Development & Tests

```sh
git clone https://github.com/Bushstar/artbytecore-lib
cd artbytecore-lib
npm install
```

Run all the tests:

```sh
gulp test
```

You can also run just the Node.js tests with `gulp test:node`, just the browser tests with `gulp test:browser`
or create a test coverage report (you can open `coverage/lcov-report/index.html` to visualize it) with `gulp coverage`.

## License

Code released under [the MIT license](https://github.com/Bushstar/artbytecore-lib/blob/master/LICENSE).

Copyright 2013-2017 BitPay, Inc. nitcore is a trademark maintained by BitPay, Inc.

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