Exporting a wallet with the SDK
After creating a wallet, the user gets two mnemonic seed phrases, one is a BIP39 Standard phrase and the other is Algorand fixed 25 words phrase. You may choose to:
Display the seed phrase to the user directly after wallet creation.
Display as needed by fetching the encrypted seed phrase from local storage and decrypting it.
(special case) decrypting it and then converting it to the algorand version
Decrypting the seed phrase
To decrypt the seed phrase, you can simply call export
from the Wallet
module and pass the user's password.
Param
Type
Description
password
string
Required to get the user's seedphrase.
seedPhraseType?
enum
Optional param,SeedPhraseType
has two
options Standard
| Algorand
Example
Last updated