-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support specification of private key to claimer #350
Conversation
93fbe8a
to
8589b9c
Compare
8589b9c
to
f645def
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should also be possible to alternatively define a CARTESI_AUTH_PRIVATE_KEY_FILE
, as we have for CARTESI_AUTH_MNEMONIC_FILE
.
See: https://github.com/cartesi/rollups-node/blob/main/internal/config/generate/Config.toml#L154-L162
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment about Doc text.
This PR adds the option to specify CARTESI_AUTH_PRIVATE_KEY to pass to the authority-claimer in case the user have a simple private key in hand, and not a mnemonic.
The value of the private key must be a hex string of 32 bytes, without the traditional starting
0x
.i.e.:
59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
closes #344