HathorNetwork / hathor-wallet-lib

Lib to create wallets using Hathor's full node API.
https://hathor.network/
MIT License
20 stars 13 forks source link
hathor lib wallet

Hathor Wallet Library

Library used by Hathor Wallet. More information at Hathor Network website.

Install

npm install @hathor/wallet-lib

Setting storage

This lib requires a storage to be set so it can persist data. Take a look at src/storage.js for the methods this storage object should implement.

const hathorLib = require('@hathor/wallet-lib');
hathorLib.storage.setStore(storageFactory);