Much Safer! KeyStore Import/Export Function is Added to Rainbow v2.4

IRISnet
IRISnet Blog
Published in
3 min readSep 11, 2019

On September 11, Rainbow Wallet version v2.4 is released, which adds Keystore file export/import private key function (currently only supports IRIS Hub wallet). What is Keystore? How to use it correctly? Here is a detailed explanation for you.

Keystore file is a file format (JSON) that stores private keys in the wallet. It is generated by a user-defined wallet password. It can protect wallet security to a certain extent. The degree of security depends on the strength of the password that the user encrypts the Keystore. Therefore, it is recommended that the Keystore file be encrypted with passwords as strong as possible. It is not recommended to use passwords like 123456 or abcdefg, which is extremely unsafe.

If you forget your Keystore password, you can re-import your wallet through mnemonics, set a new password, and re-export a new Keystore file using the new password. Rainbow wallet can’t help you to find Keystore and password, so they must be kept properly.

So why should we use Keystore? Wouldn’t it be better to use mnemonics directly?

In fact, Keystore is equivalent to an encrypted mnemonic word. Only through the Keystore file and the corresponding password can you manage your wallet account. Only Keystore files cannot authorize you to manage your wallet account. But it can be done just with mnemonics. So using Keystore is relatively safer.

How to export the Keystore file of the wallet?

  • For users without an IRIS Hub address, please first create your wallet first and backup mnemonics.

Detailed tutorial: New Rainbow Tutorial 1: Install and Create

  • For users with an IRIS Hub address but without a Rainbow wallet account, please first import your wallet through mnemonics and set a password.

Detailed tutorial: New Rainbow Tutorial 1: Install and Create

  • For users with both an IRIS Hub address and a Rainbow wallet account, please follow the instructions below:

1. In [Manage Wallet] under tab [Me], you can see the wallet that has been created/imported.

2. Select [Export Keystore] and enter your password to view Keystore in your wallet.

3. Copy Keystore and back up it.

If you already have a wallet supporting IRIS Hub, please do the following.

1. In [Manage Wallet] under tab [Me], you can see the wallet that has been created/imported.

2. Select [Export Keystore] and enter your password to view Keystore in your wallet.

3. Copy Keystore and back up it.

How to import the Keystore file?

Keystore is mainly used for wallet import:

1. Tap the switching button in the upper right corner of the home page and select [Import Wallet]. Or tap [Manage Wallet] under [me] and select [Import Wallet];

2. Choose [Import through Keystore], input the Keystore data of wallet, and input user-defined wallet [Name] and [Password] to finish the wallet import. (If you forget your wallet password, please find it by mnemonic)

Notice:

1. The password for Keystore is unique and unchangeable. If you want to change your wallet’s password, you need to re-import your wallet with a mnemonic word or a private key and encrypt it with a new password to generate a new Keystore.

2. The security of the Keystore depends on the strength of the encryption of the Keystore.

--

--

IRISnet
IRISnet Blog

Built with Cosmos-SDK, IRISHUB enables cross-chain interoperability while providing modules to support distributed business systems.