import {initDB, getDB} from '../db/db';
import { restoreFromKeyStore } from '../utils/account';
+import accountsSDK from './accounts';
function walletSDK(bytom) {
this.http = bytom.serverHttp;
return retPromise;
};
+walletSDK.prototype.list = function(pubkey) {
+ let net = this.bytom.net;
+ let pm = {pubkey};
+ return this.http.request('account/wallets', pm, net);
+};
+
/**
* Restore wallet.
*