# Wallet Management

This document mainly introduces how to config wallet on full node. Before starting this tutorial, please see Node - Installation to install gvite first.

Strongly NOT recommended:

  • Using same address for both SBP address and SBP registration address
  • Using same mnemonics to generate both SBP address and SBP registration address

# Create Wallet

# Start Full Node

Follow the instructions at Full Node Installation to start a full node.

# Create a New Wallet

Execute the following command:

Copy ./gvite rpc ~/.gvite/maindata/gvite.ipc wallet_createEntropyFile '["Your_Password"]'

This will give you the below result:

Copy { "jsonrpc": "2.0", "id": 1, "result": { "mnemonic": "ancient rat fish intact viable flower now rebuild monkey add moral injury banana crash rabbit awful boat broom sphere welcome action exhibit job flavor", "primaryAddr": "vite_f1c2d944b1e5b8cbfcd5f90f94a0e877beafeced1f331d9acf", "filename": "~/.gvite/maindata/wallet/vite_f1c2d944b1e5b8cbfcd5f90f94a0e877beafeced1f331d9acf" } }
  • mnemonic: Mnemonic phrase. Please keep it safe
  • primaryAddr: Vite address at index 0 corresponding to the mnemonic
  • filename: The location of the keyStore file

Run exit to abort

# Recover Wallet from Mnemonic

Execute the following command:

Copy vite.wallet_recoverEntropyFile("Your_Mnemonic", "Your_Password")

For example:

Now the keystore file "vite_981bca7a348de85bd431b842d4b6c17044335f71e5f3da59c0" has been regenerated under "~/.gvite/maindata/wallet/".