Skip to content

HathorNetwork/hathor-wallet-lib

Repository files navigation

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);