Skip to content

feat: implement validator passphrase - #208

Merged
ItsANameToo merged 17 commits into
feat/mainsailfrom
feat/implement-validator-passphrase
Jun 19, 2026
Merged

feat: implement validator passphrase#208
ItsANameToo merged 17 commits into
feat/mainsailfrom
feat/implement-validator-passphrase

Conversation

@shahin-hq

@shahin-hqshahin-hq commented Jun 19, 2026

Copy link
Copy Markdown

Summary

Closes: https://app.clickup.com/t/2570579/86e1kefb0

This PR refactors validator registration/update to use passphrase instead of public key.

I used the following snippet for testing with SDK tester:

builder = newValidatorRegistrationBuilder()
.validatorPassphrase((String) validatorConfig.get("validatorPassphrase"))
.gasPrice(parseLong(validatorConfig.get("gasPrice")))
.gasLimit(parseLong(validatorConfig.get("gasLimit")))
.nonce(nonce.longValue())
.value((newBigInteger("250").multiply(BigInteger.TEN.pow(18))).toString())
.recipientAddress((String) wellKnownContracts.get("consensus"));

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@shahin-hq
shahin-hq marked this pull request as ready for review June 19, 2026 08:38
@ItsANameToo
ItsANameToo merged commit 95452ed into feat/mainsailJun 19, 2026
1 check passed
@ItsANameToo
ItsANameToo deleted the feat/implement-validator-passphrase branch June 19, 2026 13:57
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@shahin-hq@ItsANameToo