Last active
December 1, 2019 23:26
-
-
Save wisthsb1519/23c4d489caa70369759019db720b5d69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// define the recoveredAccount and being the logic to send a transaction | |
sendTransaction = () => { | |
let mnemonic = this.props.mnemonic; | |
let recoveredAccount = algosdk.mnemonicToSecretKey(mnemonic); | |
this.startTransaction(recoveredAccount).catch(e => { | |
console.log(e); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment