https://github.com/renzodd/digibyte-js
A pure and powerful JavaScript DigiByte library
https://github.com/renzodd/digibyte-js
bitcore-lib digibyte
Last synced: 10 months ago
JSON representation
A pure and powerful JavaScript DigiByte library
- Host: GitHub
- URL: https://github.com/renzodd/digibyte-js
- Owner: RenzoDD
- License: mit
- Created: 2021-11-18T23:00:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-29T02:22:58.000Z (over 1 year ago)
- Last Synced: 2024-12-04T09:40:45.572Z (over 1 year ago)
- Topics: bitcore-lib, digibyte
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/digibyte-js
- Size: 1.28 MB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# DigiByte JS

[](https://www.npmjs.com/package/digibyte-js)


**A pure and powerful JavaScript DigiByte library** forked from Bitpay's [Bitcore Lib](https://github.com/bitpay/bitcore/tree/master/packages/bitcore-lib) library.
DigiByte is a powerful peer-to-peer platform for the next generation of financial technology. The decentralized nature and the speed of the DigiByte network allows for highly resilient software infrastructure, and the developer community needs reliable, open-source tools to implement DigiByte apps and services.
## Get Started 📦
```sh
npm install digibyte-js
```
## Documentation & Examples 📖
You can find all the documentation [here](https://github.com/RenzoDD/digibyte-js/tree/develop/src/docs)
- [Generate a random address](docs/examples.md#generate-a-random-address)
- [Generate a address from a SHA256 hash](docs/examples.md#generate-a-address-from-a-sha256-hash)
- [Import an address via WIF](docs/examples.md#import-an-address-via-wif)
- [Create a Transaction](docs/examples.md#create-a-transaction)
- [Sign a DigiByte message](docs/examples.md#sign-a-digibyte-message)
- [Verify a DigiByte message](docs/examples.md#verify-a-digibyte-message)
- [Create an OP RETURN transaction](docs/examples.md#create-an-op-return-transaction)
- [Create a 2-of-3 multisig P2SH address](docs/examples.md#create-a-2-of-3-multisig-p2sh-address)
- [Spend from a 2-of-2 multisig P2SH address](docs/examples.md#spend-from-a-2-of-2-multisig-p2sh-address)
## Development 🛠️
```sh
git clone https://github.com/RenzoDD/digibyte-js
cd digibyte-js
npm install
```
## Building the Browser Bundle ✨
To build a digibyte-js full bundle for the browser:
```sh
npm install -g browserify
npm run build
```
This will generate a file named `digibyte.js`.
## Security 🛡️
We're using DigiByte JS 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.
Projects using DigiByte JS:
* [DigiFaucet](https://www.digifaucet.org/)
If you find any flaw or trouble please submit a new thread on [Github Issues](https://github.com/RenzoDD/digibyte-js/issues)
## Donate 💰
DigiByte: DDiazXQ3bd9dnsRZ9HJRxs9T9idpgaKYs7
## Developers ✒️
[](https://github.com/RenzoDD)
[](https://github.com/bitpay)
## License 📄
Code released under the [MIT License](./LICENSE.md).