backup
Users can choose to back up the gateway key, authenticator key and app encryption file for recovery when needed
Backup is divided into manual backup and on-chain backup. On-chain backup only needs a small amount of gas to back up to the chain and can be downloaded at any time
Manual backup
Click the gateway option on the left, click the [Download Key File] button, and save it to the specified location
On-chain backup
Click the gateway option on the left, click the [Storage on Gateway Key Chain] button, enter the password, and the storage will be completed after the chain is successfully uploaded
restore
If it is stored on the chain, the [Storage button on the gateway key chain] button will be changed to [Download the key on the chain], after clicking, the three files will be saved in the GatewayKey directory under the gateway directory
GatewayKey/
├── fmc.jks # app signature file
│── node_key.json # Gateway key file
└── priv_validator_key.json # validator private key file
in the chain stop state Move fmc.jks to the home directory
In the linux system, use the
echo $HOME
command to view the location of the current user's home directory
In the windows system, open the resource manager and enter
%homepath%
in the address bar You can enter the current user's home directory
Move node_ key.json and priv_ validator_ key.json to the gateway directory .stcd/config/ Down
If it is stored manually, similarly, restore the corresponding file to the corresponding location