Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/luncher/etc-wallet

Classic Etherwallet Wrapper
https://github.com/luncher/etc-wallet

Last synced: about 2 months ago
JSON representation

Classic Etherwallet Wrapper

Awesome Lists containing this project

README

        

## ETC-Wallet

>Inspired By [etherwallet](https://github.com/ethereumproject/etherwallet).

## Quick Start

```javascript
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