Skip to content

Latest commit

 

History

History
 
 

bitcore-lib-bte

Bitwebcore JavaScript Library for Bitweb

NPM Package Build Status Coverage Status

A pure and powerful JavaScript library for Bitcoin.

Principles

Bitweb is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Bitweb network allows for highly resilient bitweb infrastructure, and the developer community needs reliable, open-source tools to implement bitweb apps and services. Bitwebcore JavaScript Library provides a reliable API for JavaScript apps that need to interface with Bitweb.

Get Started

Clone the Bitcore monorepo and npm install:

git clone https://github.com/bitweb-project/bitcore.git
npm install

cd into bitwebcore-lib repository:

cd packages/bitwebcore-lib

Building the Browser Bundle

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

gulp browser

This will generate files named bitwebcore-lib.js and bitwebcore-lib.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 Bitwebcore 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.

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

Contributing

See CONTRIBUTING.md on the main bitcore repo for information about how to contribute.

License

Code released under the MIT license.

Copyright 2013-2022 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc. Copyright 2021-2023 Bitweb Project, Bitwebcore is bitcorelib implementation for Bitweb.