Protocols

NEAR: BIP39 seed phrases and the m/44'/397'/0' path

Last reviewed 1 December 2026.

Information, not advice. This page describes official NEAR documentation for SLIP-0010 derivation from a BIP39 seed. It is not financial, legal, or recovery advice, and it is not a substitute for the wallet that holds your backup.

Safety: Never type or paste a real recovery phrase into a website, chat, or any tool you do not fully control and trust. The phrase mentioned below appears in official NEAR library documentation as public test data. Public test vector, never use for funds.

A NEAR "seed phrase" in official tooling is a BIP39 mnemonic. The official near-slip10 crate, published by the NEAR organization, converts that mnemonic and an optional passphrase to a BIP39 seed, then derives an Ed25519 key with SLIP-0010.

NEAR does not have a separate official native mnemonic format analogous to a TON 24-word TON phrase. The words, checksum, and seed KDF are BIP39. What is NEAR-specific is the default path, the curve, and how a public key can become an implicit account.

Official default path

The official library's default derivation path is:

m/44'/397'/0'

397 is NEAR's coin type in SLIP-0044. Purpose, coin type, and account are all hardened, as SLIP-0010 requires for Ed25519. There is no official change level in this default path.

That default is the path official documentation uses when a caller does not supply another one. It is not a claim that every NEAR wallet stops at three levels. Official library documentation notes that some wallets derive further trailing levels under the same 44'/397' prefix. This page does not invent those longer paths. If you are restoring an account created in a specific wallet, confirm the path that wallet documents, including whether it adds extra hardened indexes after 397'.

A different account index, such as m/44'/397'/1', is a different key. Do not assume that a wallet which shows a second NEAR account used 1' unless that wallet says so.

Official test phrase

The near-slip10 README uses the BIP39 English test mnemonic of twelve abandon words ending in about, with an empty passphrase, as a public test input. Official text describes it as a canonical all-zero test vector in this context. Public test vector, never use for funds.

abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about

This page does not reprint derived secret keys from that phrase. If you need to verify an implementation, use the official crate or its published test output on a machine you trust, and keep real recovery phrases out of browsers and chats.

Seed phrases and implicit accounts

A NEAR account can have a human-readable name, with keys added as access keys, or it can be an implicit account whose identifier is derived from the public key. Official documentation treats the seed phrase as the backup for a key pair. The account name you use on-chain is a separate identifier, except in the implicit case where the account id is the hex-encoded public key.

Restoring "the phrase" therefore restores a key. Whether that key still controls a named account depends on the access keys attached to that account, not only on BIP39 derivation. If a named account's keys were rotated, the original phrase may no longer sign for it.

Hardware wallets and software wallets can still disagree about trailing path levels even when both start from BIP39 and coin type 397. That is the same class of mismatch described on the derivation paths page: same words, different child.

Named accounts and implicit accounts therefore fail in different ways. If you created an implicit account from a key and never moved it to a named account, restoring the official default path should recover that key, and the implicit account id should again be the hex public key. If you use a named account, restoring the phrase recovers a key that must still be listed among that account's access keys.

Do not paste a NEAR phrase into a generic "Bitcoin derivation" website and expect the implicit account id to appear. Even when the BIP39 seed is correct, the child key is an Ed25519 SLIP-0010 descendant at a NEAR path, not a secp256k1 BIP44 Bitcoin address.

What NEAR seed-phrase restore does not change

  • It does not change BIP39's optional passphrase. If the original wallet used one, you must supply the same passphrase.
  • It does not use a Substrate-style junction path, and it does not use SLIP39 unless a particular product has added that separately. Official near-slip10 guidance is BIP39 plus SLIP-0010.
  • It does not put a NEAR implicit account id into the mnemonic. The words encode entropy for the seed, not the account name.

FAQ

Is a NEAR seed phrase BIP39? Official near-slip10 documentation derives keys from a BIP39 mnemonic and the standard BIP39 seed, then applies SLIP-0010.

What path should I use? Official default is m/44'/397'/0'. Some wallets use additional trailing levels under 44'/397'. Confirm the path your wallet documents rather than assuming the three-level default will find every account.

Why is everything hardened? SLIP-0010 allows only hardened child derivation on Ed25519. The official default path is hardened at every published level.

Can I enter my NEAR phrase in a generic BIP39 website to "get the key"? No. Do not paste a real phrase into a website. Even a correct BIP39 seed is not a NEAR key until SLIP-0010 derivation at the NEAR path is applied, and a website that uses a different path or curve will show the wrong account.

See also

Sources