Generate Keys

Below are the steps to generate public-private key value pair, which are used to sign the payload while transaction in the network.

  1. Go to `protocol server` folder and execute the below command

npm i
  1. To generate the public key, execute the below command

npm run generate-keys
  1. Encryption public key is not being used, This sample key(MCwwBwYDK2VuBQADIQAfXfZGKVMWhsJrC+BTN6ON0Df4R/E874SZWRSxGHMIRQ==) can be given as encryption public key while registering.

Last updated