Machine Secret
Setting up authentication in prover nodes.
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
Whitelist Keys
Please provide the Machine Secret public keys through our form at Fermah AVS - Operator Application Form - For Testnet. We will notify you once your key has been registered, upon which you can continue with the remaining steps.
Last updated
Was this helpful?