Skip to content

Instantly share code, notes, and snippets.

@wisthsb1519
Last active December 1, 2019 23:26
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 wisthsb1519/615afeddde3eaf663505b491e51343f4 to your computer and use it in GitHub Desktop.
Save wisthsb1519/615afeddde3eaf663505b491e51343f4 to your computer and use it in GitHub Desktop.
// starting transaction here with the account from mnemonic
startTransaction = async recoveredAccount => {
//Get the relevant params from the algod
try {
let params = await AlgorandClient.getTransactionParams();
let endRound = params.lastRound + parseInt(1000);
let assetID = Number.parseInt(this.state.assetID);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment