Skip to content

Instantly share code, notes, and snippets.

@ryanswrt
Last active July 25, 2019 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanswrt/d5a5a3901cfd4c2554c0c89a3000fe8e to your computer and use it in GitHub Desktop.
Save ryanswrt/d5a5a3901cfd4c2554c0c89a3000fe8e to your computer and use it in GitHub Desktop.
...
// line 72 in index.js
const wallet = Wavelet.loadWalletFromPrivateKey(privateKey);
const walletAddress = Buffer.from(wallet.publicKey).toString('hex');
setAccount(await client.getAccount(walletAddress));
setAccountSocket(
await client.pollAccounts(
{
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment