> For the complete documentation index, see [llms.txt](https://docs.satlayer.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.satlayer.xyz/bvs-developers-1/developer-toolbox/wallet-guide.md).

# Wallet Guide

### Overview

SatLayer recommends having the below wallets and tools for development. &#x20;

* 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.&#x20;
* 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](https://devnet.satlayer.xyz).
* 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:&#x20;

```bash
babylond keys add my-operator
```

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:

```bash
babylond keys add my-operator --recover
```

`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.

```bash
babylond keys import-hex
```

### 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](/bvs-developers-1/developer-toolbox/satlayer-cli.md#configuration) 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. &#x20;

1. Install Leap Wallet in browser through this website: [**leap wallet**](https://www.leapwallet.io/)
2. Click the button circled in red in the upper right corner

<figure><img src="https://956158124-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM4kTGNZNYF9sQa92jm8x%2Fuploads%2FHiqLhCFEqRO0P4INDAam%2Fimage.png?alt=media&amp;token=3dc3a684-4d3b-4fa5-9874-5ba6a0cd5717" alt="" width="375"><figcaption></figcaption></figure>

3. Next, the wallet will pop up a new page. You can search some blockchains or add a custom blockchain through the `+` button:

<figure><img src="https://956158124-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM4kTGNZNYF9sQa92jm8x%2Fuploads%2F3dOqcpFWcNz4FFOfgN2B%2Fimage.png?alt=media&amp;token=6e671a5c-96e7-4bdd-b14f-73e468afddf7" alt="" width="375"><figcaption><p>Add Custom Blockchain</p></figcaption></figure>

4. Finally, add the SatLayer Devnet using the [Devnet details on this page](/bvs-developers-1/devnet-and-explorer.md#sat-bbn-testnet1).  Once you've saved the config you'll be able to use the SatLayer Babylon Devnet from your Leap wallet!

```
Chain Id: sat-bbn-testnet1
Chain Name: SatLayer Babylon Testnet
New RPC URL: https://rpc.sat-bbn-testnet1.satlayer.net
New REST URL: https://lcd1.sat-bbn-testnet1.satlayer.net
Address Prefix: bbn
Native Denom: ubbn
Coin Type: 118
Decimals: 6
Explorer URL: https://devnet.satlayer.xyz/satlayer-babylon-testnet
```

#### Adding CW20 Token

Add CW20 Token by clicking on the Gears button:&#x20;

<figure><img src="https://956158124-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM4kTGNZNYF9sQa92jm8x%2Fuploads%2FcLr6vKPN7E5BjAPNQN2D%2Fimage.png?alt=media&amp;token=74086949-9435-4238-bafa-18d93e819414" alt="" width="375"><figcaption></figcaption></figure>

Afterwards, you will enter into a new page, click this `+` button:

<figure><img src="https://956158124-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM4kTGNZNYF9sQa92jm8x%2Fuploads%2FS99qS87eRPFcCLIwcWE0%2Fimage.png?alt=media&amp;token=ecea39d7-d901-4fd5-8822-a5b0f4ee47a3" alt="" width="375"><figcaption></figcaption></figure>

6. 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:

```shell
bbn1qg5ega6dykkxc307y25pecuufrjkxkaggkkxh7nad0vhyhtuhw3sp4gequ
```

#### Exporting Private Keys as Hex-Encoded

* Inside Leap Wallet Click the setting button as follows:

<figure><img src="https://956158124-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM4kTGNZNYF9sQa92jm8x%2Fuploads%2FRJCjcPRagxYxeV1DHQsF%2Fimage.png?alt=media&amp;token=88297103-6ea7-47ea-8467-fd89c0247a0a" alt="" width="375"><figcaption></figcaption></figure>

* Click `Export Private Key` button to export private key

<figure><img src="https://956158124-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM4kTGNZNYF9sQa92jm8x%2Fuploads%2FTYLM7GnpvC3XIfzoq1Cj%2Fimage.png?alt=media&amp;token=4e55ca86-1b97-40f8-b25b-4bd30fd614a3" alt="" width="375"><figcaption></figcaption></figure>

#### **Importing Keys From Babylon CLI**

If you’ve created keys with `babylond` and want to use them in Leap Wallet, follow these steps:

<figure><img src="https://956158124-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM4kTGNZNYF9sQa92jm8x%2Fuploads%2FIO55iuPRrHEZ7hn3EDtE%2Fimage.png?alt=media&amp;token=63e4d466-9b55-46ab-9755-491f14db3191" alt="" width="375"><figcaption><p>Import Keys</p></figcaption></figure>

1. Open Leap Wallet.
2. Go to the wallet section and click **"Import using recovery phrases."**
3. Paste in your saved BIP39 mnemonic phrase.
4. 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.
