How to use the hs-client.WalletClient function in hs-client

To help you get started, we’ve selected a few hs-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github HandshakeAlliance / HNScan / src / util / clients.js View on Github external
async function initWalletAndClient() {
  _walletClient = new WalletClient(walletOptions);
  _wallet = await _walletClient.wallet(config.get("wallet-id"));
  _client = new NodeClient(clientOptions);
  _nomenclate = new NomenclateClient(nomenclateOptions);
  await _client.open();
  await _walletClient.open();
  await _wallet.open();
  await _nomenclate.open();
}

hs-client

HSD node and wallet client

MIT
Latest version published 1 year ago

Package Health Score

65 / 100
Full package analysis

Popular hs-client functions