testnet account. This account will allow you to deploy and test your applications without spending any real money.
You can create a testnet NEAR account through one of the following methods:
Using a Wallet
Go to wallet.near.org and choose one of the wallets listed there. Do not worry, the list has been curated, so you can be sure that all wallets listed there are safe to use. In general, all wallets will offer similar functionality, so in theory you can choose any of them. However, know that some wallets will readily allow you to create named accounts (e.g.alice.testnet), which are easier to remember.
Remember to write down the seed phrase, as it is the only way to access your account!
Through the CLI
When developing smart contracts you will expend lots of time interacting with the NEAR blockchain through the command line interface (CLI). First, you will need to install the NEAR CLI:- npm
- Cargo
- Mac and Linux (binaries)
- Windows (binaries)
<account.testnet> and fund it using the testnet faucet. Make sure to replace <account.testnet> with your desired account name.
Importing Existing Accounts
If you want to use an existing NEAR account in another wallet or in the CLI, you can import it using your seed phrase or private key.1. Export your seed phrase or private key
1. Export your seed phrase or private key
From your current wallet, use its account backup/export flow.If the account was created with the CLI, run:
2. Import into a wallet
2. Import into a wallet
In your destination wallet, choose the account import/restore option and provide your seed phrase.
3. Import into the CLI
3. Import into the CLI
Run:Then follow the prompts to enter your seed phrase or private key.
Next Steps
Now that you have created a NEAR account, you can start developing applications on the NEAR Protocol. Here are some resources to help you get started:- Fund the wallet through one of our faucets
- Create your first smart contract
- Build a Web3 Application
- Learn how to build an Auction App from end-to-end