1. Create account
> initiad keys add [key-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.
angry opera upper ...import { MnemonicKey } from '@initia/initia.js';
const key = new MnemonicKey();
console.log('mnemonic:', key.mnemonic);
// mnemonic: beauty sniff protect...
console.log('account address:', key.accAddress);
// account address: init10m5nnevplkzvv5svqf0xjx6dc4705u5dxfn2stGet test coin from faucet (Optional)
Last updated