Skip to Content
Network Mainnet Machine Secret

Machine Secret

Our prover nodes need a machine secret generated and signed using an imported ECDSA key.

Importing a Private Key

To import an ECDSA private key, use the hex-encoded private key string itself in the PRIVATE_KEY variable. The 0x hex prefix is optional.

KEY_NAME=prover-node PRIVATE_KEY=0x********************************** prover-node store-key -k $KEY_NAME \ -p $PRIVATE_KEY

Using existing Private Key

If your current private key file follows the Web3 Secret Storage Definition , you may place the file at ~/.fermah/keys/name.json instead of importing it.

Generating and Adding a Machine Secret Key to the Configuration

This command generates a Machine Secret Key from the imported ECDSA key and updates the configuration file accordingly.

prover-node gen-machine-secret
Last updated on