Error in Docs - Sequencer Setup - Private Key

On the docks for setting up a Sequencer there is an error which may lead to users leaking their private key

On Step 3: Fund Your Publisher Account the following command is used to get the account which needs to be funded: jq -r '.validators[0].attester.eth' aztec-sequencer/keys/keystore.json. This command actually returns the private key for the attester account, not the address that needs to be funded.

The command should be jq -r ‘.attester’ ~/.aztec/keystore/key1_attesterN_staker_output.json

Sorry for not creating a PR, but I didn’t want to dox my Github and creating a throwaway account is a PITA

1 Like

Thanks for flagging this @poppy240

You’re right in that the current command in the docs will retrieve the private_key and not the public address. I will make a PR to rectify this.

For reference the command I used to retrieve the first publisher address was

 jq -r '.[0].attester' /pathToYourKeyStore/keystore/key2_staker_output.json

Keep in mind you only to do this if you did not specify separate publishers since the node will fall back to using the attester as the publisher.

Thanks again!

Update: Fixed