Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/luncher/etc-wallet
- Owner: Luncher
- License: mit
- Created: 2018-08-24T03:52:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-24T06:23:43.000Z (over 6 years ago)
- Last Synced: 2024-11-07T04:44:21.437Z (2 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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