Skip to main content

Importing a NEAR Account

If you created a NEAR account using a wallet or the CLI, you can export its seed phrase (or private key) to use it in other wallets or tools. Let's cover how to:

  1. Exporting an existing account
  2. Import an existing account into a wallet
  3. Import an existing account into the CLI

Exporting Your Seed Phrase

You can export your seed phrase from the wallet you used to create your account. Most wallets will have an option to "Export Seed Phrase" or "Backup Account". Follow the instructions provided by your specific wallet.


Importing Into a Wallet

To import an existing account into a wallet, follow the instructions provided by the specific wallet you are using. Most wallets will have an option to "Import Account" or "Restore from Seed Phrase"


Importing Into the CLI

To import an existing account into the CLI, you can use the following command:

near account import-account

This command will prompt you to enter your seed phrase or private key. Once you enter it, the CLI will import your account and you can start using it.