Address (Account ID)
Every NEAR account is identified by a specific address. Based on their name, two types of accounts can be distinguished:
- Named accounts, with human readable names such as
- Implicit accounts, referred by 64 chars (e.g.
For an account name to be valid, it must adhere to the specification's account ID rules.
Implicit accounts are similar to the classic Bitcoin/Ethereum accounts. They are defined by a 64 character address, which corresponds to a unique ED25519 key-pair.
- The public key in base58:
- Refers to the implicit account:
Check our section on how to create implicit accounts
In NEAR, users can register named accounts (e.g.
bob.near) which are simpler to use and remember.
Moreover, named accounts can create sub-accounts of themselves, helping to better organize related-accounts. In this way, named accounts work as domains, particularly:
- Only the
registraraccount can create short top-level accounts (<32 char).
- Anyone can create long (>= 32 chars) top-level accounts.
- An account can only create immediate sub-accounts of itself.
In other words:
registrarcan create short top-level accounts (e.g.
- Anyone can create long top-level accounts, e.g.
Currently, mainnet accounts are sub-accounts of
example.near), and testnet accounts are sub-accounts of
Accounts have no control over sub-accounts, since they do NOT share access keys
Check our section on how to create named accounts