Server Wallet creation and Key settings

This page guides the wallet creation to be used by the Issuer or on the SP server.

Wallet Creation for Server

Download the server wallet creation tool

CLI Tool Download Link

Wallet creation

Move to the place where the downloaded Wallet creation tool is located by using the Terminal (command prompt).

Use the command line as below to create the Wallet for the server

$ java -jar wallet.cli-1.0.2.jar keymanager createstore -p

Enter the password to use to lock the Wallet as the printed statement of "key manager password" appears.

Add the secrete key on the created Wallet for server

As Wallet is created, use the command line as below to add the file secrete key on the created Wallet.

java -jar wallet.cli-1.0.2.jar keymanager addkey -i key1 -k [Scatter λΉ„λ°€ ν‚€] -p

As the task is finished change the created i.wallet file name to either 'issuer.wallet' or 'sp.wallet'. After changing the names locate the file to project path/config/my location. (When the file already exists replace it).

Command operation description

Command - keymanager SubCommad - Add Key -i - bring keymanager Key ID -k - Enter the secrete key (WIF base58 format) [privatekey] - the private key of the account used when creating the DID account.

The key herein will be added to this server Wallet by exporting the saved PrivateKey within the Scatter that is created for use in the Admin Console.

Last updated