diff --git a/_src/_guide/tutorial-token-launch.md b/_src/_guide/tutorial-token-launch.md index fbf68a8..2b4b597 100644 --- a/_src/_guide/tutorial-token-launch.md +++ b/_src/_guide/tutorial-token-launch.md @@ -37,7 +37,7 @@ const nTokens = 10000 let tokensLeft const tokenCreator = new BigchainDB .Ed25519Keypair(bip39.mnemonicToSeed('seedPhrase').slice(0,32)) - +let createTxId function tokenLaunch() { // Construct a transaction payload const tx = BigchainDB.Transaction.makeCreateTransaction({ @@ -62,6 +62,7 @@ function tokenLaunch() { // Send the transaction off to BigchainDB conn.postTransactionCommit(txSigned) .then(res => { + createTxId = res.id tokensLeft = nTokens document.body.innerHTML ='