Manage Keys

In this tutorial, you will learn how to manage your account using the fiammad command line tool.

Add Keys

Note! Once your account is created, you must keep your mnemonic phrase safe. If you lose it, you will also lose your assets.

fiammad keys add <key-name> --keyring-backend=test

A fiamma address will be automatically generated such as:


- address: fiammaXXX
  name: test-alice
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"XXX"}'
  type: local

Recover keys

fiammad keys add <key-name> --keyring-backend=test --recover

After executing the above command, you will be prompted to enter a mnemonic in the bip39 format

After bip39 mnemonic inputed, a fiamma address will be automatically generated such as:

- address: fiammaXXX
  name: test-alice
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"XXX"}'
  type: local

List Keys

You can use the command below to view the account you just created.

fiammad keys list --keyring-backend=test

A fiamma address named with test-alice will be automatically show such as:

- address: fiammaXXX
  name: test-alice
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"XXX"}'
  type: local

Export Keys

You can use the command below to show the account private key.

fiammad keys export <key-name> --keyring-backend=test --unarmored-hex --unsafe

Store Keys in Keplr Wallet

Fiamma Testnet has been integrated with the Keplr wallet. Please refer to Connect Keplr Wallet for more details. To better manage your Fiamma address, you can import it into your Keplr wallet by following these steps.

Visit the Keplr Chains website at https://chains.keplr.app, search for "Fiamma Testnet" and add it to your Keplr wallet.

Open the Keplr wallet extension and click the user avatar in the top right corner. Select "Add Wallet," then choose either "Import an existing wallet" or "Create a new wallet." Opt for the "24 words recovery phrase" and enter your mnemonic phrase, or opt for the "private key" and enter your unarmored hex private key.

Use Recovery Phrase or Private Key to Import Keys into Keplr Wallet:

import-private-key

Set a custom name for your wallet, select "Fiamma Testnet" Chain and confirm. Your Fiamma address will now appear in the Keplr wallet extension, ready for receive and send transactions. For more faucet details, please refer to Get FIA.

\

Last updated