Create Your BABY Address

Your BABY key derives the address where BABY token can be received. Below are the steps to create your BABY key and retrieve a BABY address, and how to recover the key with the mnemonic phrase.

1. Install the babylond binary

The babylond binary creates your Babylon Genesis keys. You'll need to use babylond v1.0.0-rc.5. Here's how to install the binary:

First, clone the official Babylon GitHub repository.

git clone https://github.com/babylonlabs-io/babylon.git
Cloning into 'babylon'...

Navigate to the cloned repository and checkout the v1.0.0-rc.5 release tag.

cd babylon
git checkout v1.0.0-rc.5
Note: switching to 'v1.0.0-rc.5'.

Install the binary with the make install command.

make install
go build -mod=readonly -tags "netgo ledger mainnet" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=babylon -X github.com/cosmos/cosmos-sdk/version.AppName=babylond -X github.com/cosmos/cosmos-sdk/version.Version=v1.0.0-rc.3 -X github.com/cosmos/cosmos-sdk/version.Commit=b5646552a1606e38fcdfa97ed2606549b9a233f7 -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger" -w -s' -trimpath -o /home/rafilx/projects/github.com/babylonlabs-io/babylon/build/  ./...

Verify the installation by checking the version:

babylond version
v1.0.0-rc.5

2. Create Babylon Key

Create a Babylon key pair using the babylond keys add command. The key pair is stored in your file system for later use.

The command takes one parameter baby-key-name e.g. my-baby-key-name and these flag options:

  • --home sets where the new key will be stored. In most cases, $HOME/.babylond is used.
  • --passphrase sets the key encryption password (recommended for encrypted keyrings) without CLI interactivity.
  • --hd-path sets the HD derivation path of the private key.
  • --keyring-backend sets the keyring backend. Options include [file, os, kwallet, test, pass, memory]. See details about available backends here. While test is the default, an encrypted keyring is recommended. If test is specified, the key will be created in keyring-test under --home.
  • --recover allows you to recover an existing key using a seed phrase instead of creating a new one. We show how to import an existing key in the subsequent section.

An example command look like this:

Reminder: if you used the --keyring-backend flag to create the key, use the same flag and option to access it later. After completing these steps, your Babylon key pair will be generated.

babylond keys add my-baby-key-name --home $HOME/.babylond --keyring-backend file
Enter keyring passphrase (attempt 1/3):
...
- address: bbn17ew0he6svxrqj2c7mef7qsyg0assc2upa5gy7w
  name: my-baby-key-name
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A5UjwURAlm0ndhMLfmNKIe4wzc8NnsBkNOgr7Ogx6kQQ"}'
  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.

bad mnemonic private split ... real frown cabin few

Reminder: if you used the --keyring-backend flag to create the key, use the same flag and option to access it later. After completing these steps, your Babylon key pair will be generated.

⚠ Warning! Store the mnemonic phrases in a safe place. Using these mnemonic phrases is the only way you can recover your keys if they're lost or corrupted.

You can view your created key and the address by running the command below:

babylond keys show my-baby-key-name --home $HOME/.babylond --keyring-backend file
Enter keyring passphrase (attempt 1/3):
...
- address: bbn17ew0he6svxrqj2c7mef7qsyg0assc2upa5gy7w
  name: my-baby-key-name
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A5UjwURAlm0ndhMLfmNKIe4wzc8NnsBkNOgr7Ogx6kQQ"}'
  type: local

View all of your keys by running babylond keys list.

3. Import existing key

To import an existing key using your mnemonic seed phrase, run babylond keys add <your-baby-key-name> including the --recover flag needed for recovery. You'll be prompted to enter your bip39 mnemonic — your 24-word mnemonic phrases created before.

You will run the command with output something like this:

babylond keys add test-key-recovered --recover --home $HOME/.babylond --keyring-backend file
> Enter your bip39 mnemonic
insane goat audit please ... fury plug monitor rib

- address: bbn1p86s3dxf48anxdsjk0430mye4yy4wzw5rm9fld
  name: test-key-recovered
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Az1zFH5lCTVvJFX7AHVeKLBX6TtqzAWE63G/E3TsIKJE"}'
  type: local

Search Your Wallet Address Here

Wallet 1101

bbn1hkfgvje5amf3wy55g5ny65xe9ngugl4pr3j6ut

Wallet 1102

bbn1p8pm4gdd4nt9rd048nrxhlkvw6y07psv0dgrtq

Wallet 1103

bbn1v5ppjzpf8sz3u5mxk890pwv08wjv2auq0mf9wh

Wallet 1104

bbn1f2mm28uvwz7l4ngyq55mmahrd9yvzy5ux59v8e

Wallet 1105

bbn1yr993mdgf7g9ynk3xg4yv6sydhr4cqypzj56nl

Wallet 1106

bbn1a4y8c6wll223nxfhhy6aytge9zq6rwvhdfnx6f

Wallet 1107

bbn1tmpf9xu9zsuf8qhu6k7gs0tmpg37ukrvmn37du

Wallet 1108

bbn14u27yrk7gu36ygtgzu2u68lna78l4spxdv8las

Wallet 1109

bbn1t8tqj3n0yzn9c2septvlk7h0js6glgjpk6rwsd

Wallet 1110

bbn10yhvk6jh37zwzqggaqghdwjtl9zafqmgp5zntp

Wallet 1111

bbn10jj3cs5fz0vxxw05pwc2smf6wk5jkt2w0swjad

Wallet 1112

bbn1fzg6q8mymplywcd9jtc775yyu607spj0tydm4y

Wallet 1113

bbn1y3vcgpeptzjf6xnfye04d0l9r3qx52st84q2fj

Wallet 1114

bbn1n9g4dwxrq8z4nd46l33zf5jwcllgrt9wfg8nvm

Wallet 1115

bbn1wkse89zqdrgkctyqufrq89dn376cxt2489lwun

Wallet 1116

bbn1zq9pt3p6wzarytksw07k6xeww6rudgudqv7duf

Wallet 1117

bbn1ydvseq9axn6nyswftvrv740g2su37zujjj668n

Wallet 1118

bbn19w2twlajr5x7l30qswvj3flmk9e2jevlxjk0fh

Wallet 1119

bbn14gwr58f6y5em9hkug7vhx0c3pgjk8a9sj4t0nj

Wallet 1120

bbn1q3v4442uqfkczqunk8vtfg39tlwxhc836mrfp3

Wallet 1121

bbn1h7zkdt82va69vn4zg0xgar42fkyujj6kugmshs

Wallet 1122

bbn1qny9qvv402z32w3epxe0fgyug6cd4qe855f5rr

Wallet 1123

bbn1trl8ttv0jz2z37978r26sthrqhm6rv69fhgs87

Wallet 1124

bbn1wfaracvnc9fqdsw2ypgxc9uss9smwdcpaq6l0l

Wallet 1125

bbn1adcgpheezjzgjh56cde7tn47w8709xznj3g79y

Wallet 1126

bbn1wlq0a0e2pxm6yuzpqg9p2w69hnr6mefr5l204z

Wallet 1127

bbn176tvvhxmy7amsn7tcym4v56q6tfcmp2c8dzsrg

Wallet 1128

bbn1hv7pedc6nw9r53mvd2kdax9q456wrw2l25n2n2

Wallet 1129

bbn16nfpuhtva2u3y2c4qxt7x8xnmtzuz3gsngy9eq

Wallet 1130

bbn19zz2j55dyxu60cmxqzkww66d8xw26k84dy2x8n

Wallet 1131

bbn1zvfwff72rwfzp3ucng04r0zwwhnvuugljkr7zh

Wallet 1132

bbn1ezhtxvaskvqsx8drcd626l95dj8sl4tyt4vrcd

Wallet 1133

bbn189qw7mk96samgtc49uclzq04042su5hkmqtu79

Wallet 1134

bbn1aw07dtk02luxj30kpjmf4hah9caqug38yy87d3

Wallet 1135

bbn16qucwg63mtt8t88qezzyj8smnt2086zzkxwgvj

Wallet 1136

bbn1zvjcec5h5tnmwnqy66n95uvwkfud8vh2y5dzxf

Wallet 1137

bbn1g3e7ejsw2mqt677exjgvja26tpnshlqllfuk8z

Wallet 1138

bbn16cu5ptq9a0f462jj237vqwsw8vf9l4mqzcnkkz

Wallet 1139

bbn132chtxezuyatfmku9qjj0e93yspfvk962dzlp7

Wallet 1140

bbn1nrc67y745v700jn5j6yymhes8jjamugzsyqz4x

Wallet 1141

bbn17q5e366whe5xln36q9tpvyvfncdzmfnp7ss2y0

Wallet 1142

bbn1sssfshffkr2hjnauhpmlukxrmkgyvy0wjstx50

Wallet 1143

bbn1504vem6f84vghcfv4r2xq4kx247t32pmhy0r26

Wallet 1144

bbn14pdc2lq9kdmsg65gwzpcxyh25ykfsjed555zqv

Wallet 1145

bbn1vxwvafwt82zwshfmsj0wwp7eevxk95rqaytuad

Wallet 1146

bbn1n5pmq8xcmldz8sph8e3kgskneucg7xyf0fnlpq

Wallet 1147

bbn1v34jatysj4wyhgg26al5xcvkjkuycmvltffk5t

Wallet 1148

bbn1jrklrr5j7hru55w0jqh7zy5d6y7yd437z7n87g

Wallet 1149

bbn1t39fl4qnd9pjhu94xf4hjg5nnm7nfe7xm307gw

Wallet 1150

bbn1k2zlwakwcctrr96sah9h2pqc4sx5xnlp8uf8a6

Wallet 1151

bbn1mh5vhl52e48c7v5zxz57m8e0u0k55s0ecmc72e

Wallet 1152

bbn1ekdzt5kgjcmru2kg0jnpvc5jll8as8tukmwysm

Wallet 1153

bbn133nlz6vvhzl7n7383hxkypkv8wkufqhsxvd0su

Wallet 1154

bbn15m6ltf9wrujnash76vhckrvdr4h2d0cs29nre9

Wallet 1155

bbn1gk5d9xrndew4wxcdq24272j0jpgqynjjeq3qqa

Wallet 1156

bbn1sjpz2kc4yh5m6rvfy3ct4plfqdcz3pf0r65ryr

Wallet 1157

bbn18wlkdc04ul0f9sryqqzg53y5x8tnjxv8jz8k9q

Wallet 1158

bbn1rvy6dtyg5vu9nek3uymshzww2crugr88r3qtc6