iw-icx

1.0.0 • Public • Published

iw-icx

This project provides a simple package to realize the core logic of the wallet. If you have any questions, please ask at the following website icanwallet

use case

//from mnemonic
const ecc = require('iw-icx/iw-address')
const wallet = ecc.fromMnemonic(mnemonic)
console.log(wallet)
//from privateKey
const wallet2 = ecc.fromPrivateKey(wallet.privateKey)
console.log(wallet2)
//check address
console.log(ecc.isAddress(wallet.address))

Readme

Keywords

none

Package Sidebar

Install

npm i iw-icx

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.64 kB

Total Files

4

Last publish

Collaborators

  • icanwallet