Login process to an application using wallet mnemonic - General - Algorand
Login process to an application using wallet mnemonic
post by vidhyanand on May 17, 2021
i have seen login process to an application using wallet mnemonic.
How can i create a log in process like above for my dApp. Any pointers in developer docs?
post by JasonW on May 18, 2021
I believe originmint is primarily showcasing creating NFTs as a demo site. For a production Dapp, I would suggest providing a login mechanism through a wallet provider like the ones shown here: Community Projects - Algorand Developer Portal
Or even the mobile wallet with QR Codes:
- Payment Prompts with Algorand Mobile Wallet | Algorand Developer Portal
- Algorand QR Code Generator | Algorand Developer Portal
If you want to see how to recover accounts using the mnemonic, each SDK supports this operation. For example in JavaScript this would be:
const myAccount = algosdk.mnemonicToSecretKey(passphrase);