let phrase = "all foster both consider pay session trip comma liberty father bet coach reunion town news"
let mnemonic_sentence = Seed.toMnemonicList(phrase);
let rootKey = Seed.deriveRootKey(phrase);
privateKey = rootKey.to_bech32();
account = await walletServer.createOrRestoreShelleyWallet('aaa', mnemonic_sentence, 'bbb');
And I get this error:
response: {
status: 409,
statusText: 'Conflict',
data: {
code: 'wallet_already_exists',
message: 'This operation would yield a wallet with the following id: a91f4a5507c1af... However, I already know of a wallet with this id.'
}
},
isAxiosError: true,
toJSON: [Function: toJSON]
2- After one week, I want to login my wallet with my phrase.
I use this code:
let phrase = "..." // My phrase when I create the wallet
let mnemonic_sentence = Seed.toMnemonicList(phrase);
account = await walletServer.createOrRestoreShelleyWallet('aa', mnemonic_sentence, 'aa-wallet');
But I get wallet_already_exists error.
It’s OK! but I want to access my wallet with phrase.