Skip to content

Instantly share code, notes, and snippets.

@kctam
Created November 9, 2020 01:22
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 kctam/c7da0a79c63be83e10aa02345cd75fa3 to your computer and use it in GitHub Desktop.
Save kctam/c7da0a79c63be83e10aa02345cd75fa3 to your computer and use it in GitHub Desktop.
Algorand demonstration with JS SDK
const algosdk = require('algosdk');
let account = algosdk.generateAccount();
console.log("Account Address: ", account.addr);
let mn = algosdk.secretKeyToMnemonic(account.sk);
console.log("Account Mnemonic: ", mn);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment