1.0.0 • Published 6 years ago
etc-wallet v1.0.0
ETC-Wallet
Inspired By etherwallet.
Quick Start
const Wallet = require('etc-wallet')
const instance = new Wallet({ privKey: 'ih3ei2hriu23hiur2' })
instance.getBalance()
.then(balance => {
console.log('balance: ', balance)
return instance.getTransactionCount()
})
.then(count => {
console.log('count: ', count)
return instance.transfer('0x743rf23f23r23', 1)
})
.catch(err => {
console.log('error: ', err)
})
Action List
- sendRawTx
- transfer
- transferAll
- getBalance
- getTransactionCount
License MIT
1.0.0
6 years ago