The simplest way to create NEAR accounts is through the NEAR Wallet, however, you can also createaccounts using local tools.
The NEAR Wallet
The NEAR wallet is our web-based user-friendly wallet. You can readily use it without installing software or add-ons.
Testnet
In testnet you can directly create named accounts. Simply go to the wallet,pick a name, and you are ready to go. Remember to save somewhere safe the mnemonic phrase.
Mainnet
In the mainnet wallet you will be first given an implicit account, which you need to fund. Afterthat, you can use your implicit account to create a named one.
Local Implicit Account
Create an implicit account locally takes two steps: first you create a key-pair locally, and then you derive its address.
1. Create a ED25519 key-pair locally using near cli
# 1. Generate key pair
near generate-key my-new-account
A new key-pair will be stored at ~/.near-credentials/testnet/my-new-account.json
.
2. Convert the public_key to an account ID.
Use near-cli
once more to convert the public_key
from the .json
file to its related NEAR account address.
# Open the javascript console of near-cli
near repl
// Paste this code in the javascript console
const pk58 = 'ed25519:<data>'
nearAPI.utils.PublicKey.fromString(pk58).data.hexSlice()
The output string will be the account ID in hex (without '
), for example 98793cd91a3f870fb126f66285808c7e094afcfc4eda8a970f6648cdf0dbd6de
.
You can now share this id with someone and ask them to transfer tokens. At least 0.001Ⓝ is needed to start using the account.
tip
You can also use other languages to infer the implicit address, for example, in python you can use the base58
package: base58.b58decode(<data>).hex()
Local Named Account
In order to create a named account you have to ask the relevant smart contract to create a sub-account for you: near
in mainnet, and testnet
in testnet.
You can use near-cli
for this:
near call testnet create_account '{"new_account_id": "<account-name>.testnet", "new_public_key": "ed25519:<data>"}' --deposit 0.00182 --accountId <account-with-funds>
Notice that you need an already funded account, since you are making a contract call.
tip
The public key that you pass will become the Full Access key of the account.
FAQs
You have multiple ways to create an account, you can sign-up using your email (note: email-based accounts currently have limited ability to transfer funds or sign transactions), get a mobile wallet through telegram, or create a web wallet.
What is the minimum balance in NEAR Protocol? ›
The account must keep a minimum balance of 3.5 $NEAR to cover storage for the lockup contract itself (transactions that will try to withdraw over that amount will just fail). Delegation rewards can be withdrawn back to the lockup contract but are unlocked, so they can be withdrawn from it right away.
What is account abstraction in NEAR Protocol? ›
NEAR Protocol provides a service that allows developers to subsidize gas fees for their users. This concept, known as "Account Abstraction" in other chains, is a built-in feature in NEAR. User can wrap transactions in messages known as meta-transaction, that any other account can relay to the network.
What can the near token be used for? ›
The NEAR token is primarily used to pay transaction fees and as collateral for storing data on the blockchain. NEAR also rewards several stakeholders in the blockchain with NEAR tokens.
How many hot makes 1 near? ›
HOT to NEAR Exchange Rate
The current 1 Holo to NEAR Protocol exchange rate is 0.0003 NEAR. There are no limits to HOT to NEAR swaps here, so feel free to use ChangeNOW no matter how many coins you need to exchange!
What does a near address look like? ›
NEAR accounts are identified by a unique address, which take one of two forms: Implicit addresses, which are 64 characters long (e.g. fb9243ce... ) Named addresses, which are simpler to remember and act as domains (e.g. alice. near )
What blockchain is near on? ›
NEAR Protocol is a Proof of Stake (PoS) blockchain, positioning itself as a formidable opponent to Ethereum, all thanks to its innovative sharding solution dubbed 'Nightshade.
Is NEAR Protocol an AI coin? ›
Originally conceived as an Artificial Intelligence endeavor, NEAR underwent a transformation, pivoting its focus to become a crypto project.
What is an account abstract? ›
Account abstraction is a method of setting up a blockchain network in which users' assets are stored exclusively in smart contracts, and not in external accounts (External Owned Accounts, EOAs). When using this approach, a crypto wallet turns into a unique smart contract that can be programmed for various purposes.
Why do we need account abstraction? ›
Account abstraction promotes smart contract account security by limiting your transactions to a certain limit put by the users. Therefore, if transactions a smart contract transaction exceeds the limit, it will reject the operation, enforcing better account management and security against misuse or fraud.
ERC-2771 allows users to interact with dApps without worrying about gas fees, thanks to third-party relayers. ERC-4337 lets smart contracts (paymasters) cover transaction costs, removing the need for users to hold ETH.
How does NEAR Protocol make money? ›
Why Does NEAR Have Value? NEAR Protocol uses a native token called NEAR, which allows users to pay fees for transactions, run applications and pay for storage. Applications on NEAR must pay storage fees to the NEAR Protocol for any data that they store on the network and for performing computations.
Is NEAR Protocol a token or coin? ›
The NEAR token is used within the NEAR Protocol ecosystem to pay transaction fees and as a reward for transaction validators. NEAR is also used as collateral for storing data on the NEAR Protocol blockchain.
Is NEAR Protocol a layer 1? ›
Near Protocol is a layer-1 smart contract blockchain, notable for its unique Nightshade sharding approach to scaling. Its interoperability with Ethereum is facilitated by the Rainbow light client bridge, allowing for seamless asset and data transfers between the two networks.
How do I add near to my wallet? ›
How to get a Near wallet
- Download and install Trust Wallet.
- Add Near (NEAR) to your wallet.
- Access wallet features like buy, sell, swap and more.
How do I create a near account on Testnet? ›
Navigate to https://wallet.testnet.near.org and click on "Create Account". Next, enter your desired account name.
How does near wallet work? ›
How Does a NEAR Protocol Wallet Work? Since NEAR Protocol is built on the Ethereum blockchain, the NEAR wallet works just like any other Ethereum wallet. Data stored on the Ethereum block has an address. The address allows the owner to find and access that data in the blocks.
How do I create an email account for Accout? ›
The steps are pretty much the same whether you use an Android or iPhone.
- Step 1: Open the Gmail app. ...
- Step 2: Tap the "Add account" button. ...
- Step 3: Select "Google" ...
- Step 4: Create your email address and password. ...
- Step 5: Set up your account. ...
- Step 6: Accept the terms of service. ...
- Step 7: Sign in to your new account.