Use the following command to view your Nubit address list:
nkey list --p2p.network $NETWORK --node.type $NODE_TYPE
Import Using Mnemonic Phrase Into Nubit-Node
nkey add my_nubit_key --recover --keyring-backend test --node.type $NODE_TYPE --p2p.network $NETWORK
Enter your mnemonic phrase, when prompted with "Enter your bip39 mnemonic,"
Import Using Private Key Into Nubit-Node
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:
nkey import my_nubit_key ~/nubit-da/nubit-node/account1.private --keyring-backend test --node.type $NODE_TYPE --p2p.network $NETWORK
If you want to delete all your keys, run this command below:
rm -rf $HOME/.nubit-$NODE_TYPE*
If you want to delete specific keys, run this command below:
nkey delete (YOUR_KEY_NAME) --keyring-backend test --p2p.network $NETWORK --node.type $NODE_TYPE