1.0.1 • Published 3 years ago

iw-xlm v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

iw-xlm

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-xlm/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))
1.0.1

3 years ago

1.0.0

3 years ago