Manage Keys
Last updated
Last updated
Note: Thanks to your contributions, cycle I of our TestNet Phase 3 journey has officially wrapped up! Now we're one step closer to onboarding the world to Bitcoin. Stay tuned for the next steps!
Use the following command to view your Nubit address list:
If initializing the light node for the first time, a Nubit address named my_nubit_key
will be automatically generated.
Please securely store your MNEMONIC, PUBKEY and AUTHKEY. The PUBKEY will serve as the unique credential for your light node address and play a crucial role in authentication during the alpha testnet campaign.
If you missed the mnemonic phrase for your address, no need to worry; you can use the following command to view your mnemonic phrase:
You can also use the following command to view the unarmored hex private key for the address: (Make sure your light node is running!)
Replace my_nubit_key
with the name of the address you want to query.
To check your PUBKEY, please use this command: (Make sure your light node is running!)
Your Nubit light node address PUBKEY will be shown in this area.
Nubit DA Alpha Testnet has been integrated with the Keplr wallet. Please refer to Connect Keplr Wallet for more details. To better manage your nubit address, you can import it into your Keplr wallet by following these steps.
Visit the Keplr Chains website at chains.keplr.app, search for "Nubit Alpha Testnet," and add it to your 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.
Set a custom name for your wallet, select "Nubit Alpha Testnet" Chain and confirm. Your Nubit address will now appear in the Keplr wallet extension, ready for receive and send transactions. For more faucet details, please refer to Get NUB.
You can create a Nubit address in the Keplr wallet (please refer to Connect Keplr Wallet) and import its mnemonic phrase into nubit-node. Replace my_keplr_key
with the desired key name. When prompted with "Enter your bip39 mnemonic,"
enter your mnemonic phrase:
Nubit-node also supports importing addresses using private key files. Refer to the following command, replacing my_nubit_key
with the desired key name and ~/nubit-da/nubit-node/account1.private
with the actual location of your private key file:
Please note that nubit-node will only use the first key it encounters. If you wish to switch to a new key, you need to delete the previous key. This command will clear all your address data in nubit-node, so proceed with caution! We recommend exporting your keys and storing them safely before deleting any addresses to ensure you can reuse them later:
You can also use the following command to delete specific key:
For optimal management, we recommend saving only one set of key named my_nubit_key
and avoiding the retention of multiple keys. Additionally, when deciding to delete a key, always remember to export your key and save it securely before deletion. This precaution ensures that you can restore it later if needed.