Recovery Phrase Derivations
Why one Amadeus recovery phrase can open two addresses (Standard EIP-2333 and Legacy), why an older phrase can show an empty account, and how each wallet and the SDK handle it.
A 12-word recovery phrase does not store your address. A wallet derives your key from the phrase, and Amadeus wallets have used two different derivations over time. The same phrase therefore opens two different addresses: a Standard one and a Legacy one. Your funds are on whichever address your wallet showed when you used it.
The Two Derivations
Standard (eip2333) | Legacy (legacy) | |
|---|---|---|
| How the key is derived | The phrase's BIP39 seed goes through EIP-2333 BLS12-381 key derivation along the path m/12381'/36969'/0'/0'/0' | The 64-byte BIP39 seed of the phrase is used directly as the Amadeus seed |
| Used by | Current wallets: the mobile app, Chrome extension 1.6.3 and later, @amadeus-protocol/sdk 1.4.0 and later, and the hub, Prime Hub and cli-wallet | Chrome extension 1.6.2 and earlier, and @amadeus-protocol/sdk 1.3.0 and earlier |
| Status | Used for every new wallet | Kept only so older wallets can still be recovered |
In the path, 12381 is the BLS purpose number and 36969 is the Amadeus coin type. The Standard derivation makes an Amadeus phrase open the same address in every current Amadeus wallet and tool.
Why an Older Phrase Can Show an Empty Account
Chrome extension 1.6.3 (October 2026) switched new and restored phrases to the Standard derivation. If your wallet was created with extension 1.6.2 or earlier, its address is the Legacy address of your phrase. Restoring that phrase in a wallet that only derives the Standard address opens a different address, usually with no balance and no history.
Your funds are not lost. They are still on the Legacy address, and the same phrase still controls it.
Only restoring a phrase is affected:
- A wallet that was updated in place keeps its address, because the wallet stores the derived key itself, not just the phrase
- A private key (64-byte Base58 seed) always opens the same address
- An encrypted
.amadeusbackup restores each account with its stored key, so it also opens the same addresses
Chrome extension 1.6.3 and 1.6.4 restored phrases with the Standard derivation only. From 1.7.0 the extension's onboarding import checks both addresses, and from 1.9.0 every phrase import does, including Add account → Import.
How the Wallets Choose
When you import a recovery phrase, the mobile app and the Chrome extension derive both addresses and ask the network whether each one has history: a current balance (PRIME included) or any transaction sent or received. Then the wallet picks or suggests an account:
| What the wallet finds | What happens |
|---|---|
| One address has history, the other is empty | That address is selected |
| Neither has history | The Standard address is selected |
| Both have history | You choose |
| The check fails or times out | You choose |
The wallet always shows you both addresses, so you can pick the other one if it is the address you used before.
Chrome Extension
The import screen lists a Standard account and a Legacy account, each with its address and a Has history, No history or Couldn't check badge, and selects one following the rules above. If one of the two is already in the wallet, the other is selected. Use the latest version from the Chrome Web Store.
When you reveal the recovery phrase of a Legacy account, the extension shows a Legacy account warning: when you restore that phrase in another wallet, choose the legacy account.
Mobile App
During Import Existing Wallet and Settings → Manage Accounts → Import Account, the app shows both accounts as Standard · address and Legacy · address, each marked "has activity", "no activity" or "couldn't check", and asks you to confirm the suggested account or choose the other. If one of them is already in your wallet, it offers the other; if both are, it says so. See Mobile Wallet.
New wallets and accounts created in the mobile app use the Standard derivation. Reveal Recovery Phrase warns you when the account is a Legacy account.
Web Wallet
The web wallet does not use recovery phrases. It works with a 64-byte private key, so derivations do not apply to it.
I Restored My Phrase and the Account Is Empty
- Check that you are on the right network (Mainnet or Testnet)
- Find the address you used before, for example in an old transaction on the explorer or in a message where you shared it
- Import the phrase again in the latest Chrome extension or the mobile app, and pick the account whose address matches. For an older wallet this is usually the Legacy account.
- If you have the private key or a
.amadeusbackup of the old wallet, importing that opens the original address directly
For Developers: Handling Both Derivations with the SDK
@amadeus-protocol/sdk has the functions the wallets use. Since 1.4.0, mnemonicToSeedBase58() returns the Standard seed only; in 1.3.0 and earlier it returned the Legacy seed. To support users with older phrases, derive both.
Derive both candidates. mnemonicToCandidateKeypairs() (SDK 1.5.0 or later) returns the Standard candidate first and the Legacy candidate second, each with derivation, seed (64-byte Base58, ready for TransactionBuilder) and publicKey. It does not check the BIP39 checksum, so validate the phrase first:
import { mnemonicToCandidateKeypairs, validateMnemonic } from '@amadeus-protocol/sdk'
export function listPhraseAccounts(phrase: string) {
// Candidates skip the checksum, so validate first
if (!validateMnemonic(phrase)) throw new Error('Invalid recovery phrase')
const [standard, legacy] = mnemonicToCandidateKeypairs(phrase)
console.log('Standard:', standard.publicKey)
console.log('Legacy: ', legacy.publicKey)
return { standard, legacy }
}
Match a known address with resolveCandidateForAddress. When you already know the user's address, for example to sign an API key or a transaction as that account, use resolveCandidateForAddress() (SDK 1.6.0 or later). It validates the phrase (and throws if it is invalid), trims the address and returns the candidate whose publicKey matches, or null if neither derivation opens it:
import { resolveCandidateForAddress, TransactionBuilder } from '@amadeus-protocol/sdk'
export function builderForAddress(phrase: string, walletAddress: string) {
// Throws if the phrase fails the BIP39 wordlist or checksum check
const candidate = resolveCandidateForAddress(phrase, walletAddress)
if (!candidate) throw new Error('This phrase does not open that address')
console.log('Derivation:', candidate.derivation)
return new TransactionBuilder(candidate.seed)
}
Pick an account on import with resolveMnemonicImport. This is the logic behind the tables above (SDK 1.6.0 or later). addressHasActivity() checks balances and transactions in both directions, and answers 'unknown' instead of 'inactive' when a request fails or times out (8 seconds by default). Pass the API base URL your app already uses:
import { addressHasActivity, resolveMnemonicImport, validateMnemonic } from '@amadeus-protocol/sdk'
const apiBaseUrl = 'https://mainnet-rpc.ama.one/api'
export async function pickAccountToImport(phrase: string) {
if (!validateMnemonic(phrase)) throw new Error('Invalid recovery phrase')
const result = await resolveMnemonicImport(phrase, (address) =>
addressHasActivity(apiBaseUrl, address)
)
for (const candidate of result.candidates) {
console.log(candidate.derivation, candidate.publicKey, candidate.activity)
}
console.log('reason:', result.reason)
// needsChoice: show both candidates and let the user pick
return result.needsChoice ? null : result.chosen
}
result.reason is 'single-active', 'none-active', 'both-active' or 'check-failed'. needsChoice is true for the last two, and chosen is then null. For a phrase that has never been used, both candidates come back inactive, the reason is 'none-active' and chosen is the Standard candidate. Whatever you pick, show the user the other address too.
To label an account that was saved with its phrase but without a recorded derivation, use derivationForSeed(phrase, seed). It returns 'eip2333', 'legacy' or null, and never throws.
For signing API keys from a phrase, see Use the right seed for a recovery phrase.