8.25.31 • Published 2 years ago

@adora-wallet/adoracore-lib-btc v8.25.31

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Adoracore JavaScript Library for Bitcoin

A pure and powerful JavaScript library for Bitcoin.

Principles

Bitcoin 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 bitcoin infrastructure, and the developer community needs reliable, open-source tools to implement bitcoin apps and services. Adoracore JavaScript Library provides a reliable API for JavaScript apps that need to interface with Bitcoin.

Get Started

Clone the Adoracore monorepo and npm install:

git clone https://github.com/Rock-n-Block/adora-wallet-core.git
npm install

cd into adoracore-lib-btc repository:

cd packages/adoracore-lib-btc

Building the Browser Bundle

To build a adoracore-lib-btc full bundle for the browser:

gulp browser

This will generate files named adoracore-lib-btc.js and adoracore-lib-btc.min.js.

Running Tests

npm 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.

Documentation

Addresses and Key Management

Payment Handling

Bitcoin Internals

Extra

Module Development

Modules

Some functionality is implemented as a module that can be installed separately:

Examples

Security

We're using the Adoracore JavaScript Library in production, as are many others, but please use common sense when doing anything related to finances! We take no responsibility for your implementation decisions.

License

Code released under the MIT license.

Copyright 2013-2022 Adora.