1.1.0 • Published 4 years ago

mnemonic-balance v1.1.0

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

mnemonic-balance

Made by CharmoulaSfax

mnemonic-balance is used to get Bitcoin and Ether balance of a given mnemonic (Bip39)

Buy me a Coffee

114zmqyxgWvMeUhesaEKgqbpHympUjMzZy

Installation

The module is intended to be used in browsers as well as in Node.js and is therefore released in the npm registry and can be installed using:

npm i mnemonic-balance

Usage

All the examples assume that this library is initialized as follow:

var balance = require('mnemonic-balance');

Get Bitcoin Balance

const mnemonicKey = 'mnemonic'
balance.getBtcBalance(mnemonicKey).then(balance => console.log(balance))

Get Eth Balance

const mnemonicKey = 'mnemonic'
balance.getEthBalance(mnemonicKey).then(balance => console.log(balance))

That's all folks. If you have ideas on how we can further compress the ids please open an issue!

1.1.0

4 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago