Before you can start building and transacting, you’ll need to create an account.
Copy
Ask AI
export ACCOUNT_NAME=test-accountinitiad keys add $ACCOUNT_NAME# - address: init17exjfvgtpn5ne4pgmuatjg52mvvtj08773tgfx# name: test-account# pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Ap+WnRzOsJGgfgsrgc4APi/EiTzl3t52ruiKGev7X9LW"}'# type: local# **Important** write this mnemonic phrase in a safe place.# It is the only way to recover your account if you ever forget your password.# glass easy miracle sign tent anchor position cluster shift calm march elite menu must nose inform antique reason meadow relief layer term crush gesture
The mnemonic key is the only way to recover your account if you forget your password.
If you want to create an EVM account, you can use the following command:
You can import an account by providing a mnemonic phrase.
Copy
Ask AI
initiad keys add $ACCOUNT_NAME --recover> Enter your bip39 mnemonicglass easy miracle sign tent anchor position cluster shift calm march elite menu must nose inform antique reason meadow relief layer term crush gesture# - address: init1x7jl4cx6pq4urdppmnhwtyzfdtn5w7ssw4hjfm# name: test-account# pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Am9tmvRft+pcol+h/unlMB9gRbKAZF/7Y8K3iWOtr9Dw"}'# type: local
The exported private key is encrypted with a passphrase. So, you can only import it using initiad CLI. It is not possible to import it directly on Wallet Apps.
To import the account using the exported private key, run: