Wallet Guide
Overview
SatLayer recommends having the below wallets and tools for development.
Babylon CLI is the primary low level developer tool used to interact with the Babylon Chain, everything from creating, exporting, and recovering wallets, to querying on-chain data and signing transactions.
Leap Wallet is one of the most flexible and developer friendly browser extension wallets compatible with Cosmos chains. The GUI is simple, and is supported by our Devnet Explorer.
SatLayer CLI is command line tool to interact with SatLayer core contracts. With this tool, users can register BVS,/Operators, stake tokens, claim rewards, perform queries and some other operation.
Babylon CLI
Creating a New Address
To create a new address, use the babylond
command and run:
In this example, weβve named the wallet my-operator. After creating the wallet, babylond
will display the BIP39 mnemonic phrase in the console. Save this phrase in a secure place; it is essential for wallet recovery and for accessing the same key from other devices. The default keyring-backend is os
.
Importing Address From BIP39
If you already have a wallet and want to use it for your operator account, you can import it by entering your BIP39 mnemonic. To do so, run:
babylond
will prompt you for your BIP39 mnemonic. Enter the phrase exactly as it is, press Enter, and your key should be successfully imported.
Importing Address From Hex
If you exported and saved your keys as a hex, you can import it by entering the below command.
SatLayer CLI
You can directly use SatLayer CLI, it will create default config file in your computer "{$HOME}/.config/satlayer/config.toml"
. It can read the babylon default directory to access your private keys. It's safe to use and won't upload to anywhere. View the doc to config SatLayer CLI.
NOTICE: if you want to use other config file, please set SATLAYER_CONFIG
environment variable.
Leap Wallet
Adding SatLayer Devnet
Follow the below steps to add SatLayer's Devnet to Leap Wallet, allowing you to see Devnet native tokens (BBN) and submit Devnet transactions to the SatLayer Devnet.
Install Leap Wallet in browser through this website: leap wallet
Click the button circled in red in the upper right corner
Next, the wallet will pop up a new page. You can search some blockchains or add a custom blockchain through the
+
button:
Finally, add the SatLayer Devnet using the Devnet details on this page. Once you've saved the config you'll be able to use the SatLayer Babylon Devnet from your Leap wallet!
Adding CW20 Token
Add CW20 Token by clicking on the Gears button:
Afterwards, you will enter into a new page, click this +
button:
Configure the new CW20 token:
Simply in the contract address of the CW20 token and details like denomination, decimals and it's name will be filled automatically. For example, a test token on our devent:
Exporting Private Keys as Hex-Encoded
Inside Leap Wallet Click the setting button as follows:
Click
Export Private Key
button to export private key
Importing Keys From Babylon CLI
If youβve created keys with babylond
and want to use them in Leap Wallet, follow these steps:
Open Leap Wallet.
Go to the wallet section and click "Import using recovery phrases."
Paste in your saved BIP39 mnemonic phrase.
You can also import using private key by
babylond keys export --unarmored-hex --unsafe <keyName>
, you'll get hex-encoded private key, and import it into Leap Wallet.
Your keys will now be accessible in Leap Wallet, allowing for convenient, GUI-based management.
Last updated