Closed gtmickey closed 6 months ago
I want to get seed and store on localdb rather than store user's mnemonic. I saw substrate_bip39 can get seed from api. but no sr25519 support. Keyring support sr25519, but keyring made _seed as private value, cannot get it.
@justkawal can you check this one?
@gtmickey Sorry for late reponse.
I guess you could get the seed with:
final List<int> seed = await KeyPair.sr25519.seedFromUri('your mnemonic uri');
I want to get seed and store on localdb rather than store user's mnemonic. I saw substrate_bip39 can get seed from api. but no sr25519 support. Keyring support sr25519, but keyring made _seed as private value, cannot get it.