chainbyteswallet

Simple Standalone Wallet

Showing:

Popularity

Downloads/wk

60

GitHub Stars

8

Maintenance

Last Commit

2yrs ago

Contributors

4

Package

Dependencies

5

Size (min+gzip)

339.6KB

License

GPL-3.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Chainbyteswallet

npm package

NPM Version Downloads Stats Gitter

Created by ChainBytes team. ChainBytes is a software and hardware development company , developing blockchain software solutions and Bitcoin ATM kiosks. If you need a more personalized wallet white-labeled for your brand or additional coins support you can contact us via: www.chainbytes.com

Simple Standalone Wallet

Installation

npm install chainbyteswallet --save

To Use

// Must set the address and wif to your public address and private key to send from

const wif='';
const address = '';
const wallet = require("chainbyteswallet");
const payor = {"address": address, "wif": wif};
const payee = [{"name": "Person1", "wallet": "1983LDmpGo1iBjz9AAqNEStcaGiya8Wx8N", "amount": 5},
                {"name": "Person2", "wallet": "17J1VUivqLNzw89k5aEfZz3rBk9Pg7hWyY", "amount": 5}]


// 2 people paid $5 USD worth of btc name,wallet,amount array of bitcoin wallets to send usdAmount to.
wallet.pushPayment(payee,payor,'text in transaction opcode').then((result)=> {
    console.log(result);
})
wallet.getAccount(payee[0].wallet).then((result) => {
    console.log(result)  // Show transaction of payments to that address
})

Tests

Mocha tests

npm test

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100