Skip to content

Fix public key display - #22

Merged
chong-he merged 4 commits into
mainfrom
fix-pubkey-display
Aug 19, 2026
Merged

Fix public key display#22
chong-he merged 4 commits into
mainfrom
fix-pubkey-display

Conversation

@chong-he

@chong-he chong-he commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Closes #18

For Import operator mode, extract the public key from the private key JSON file so that the correct public key is shown

Tested and it's working, the correct pubkey is now shown in the Anchor main page dashboard

@shane-moore

Copy link
Copy Markdown
Collaborator

lgtm overall, one thing: anchor's own keygen writes the field as lowercase pubkey since v1.1.0 (sigp/anchor#721), only go-ssv keystores use pubKey. so importing an anchor-generated key (incl. one this package created in New Operator mode) makes jq -r '.pubKey' print null, which then gets posted to dappmanager as the pubkey. repro'd locally with anchor keygen. suggest jq -r '.pubkey // .pubKey // empty' and only writing the file when non-empty.

@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown

Dappnode bot has built and pinned the built packages to an IPFS node, for commit: d03015b

This is a development version and should only be installed for testing purposes.

  1. Package anchor.dnp.dappnode.eth

Install link

Hash: /ipfs/QmSg7GmHEysPHSMH7ncUpQprpf3y3HgjcUWAz1JZdm9bzx

(by dappnodebot/build-action)

@chong-he
chong-he merged commit 94a3200 into main Aug 19, 2026
6 checks passed
Sign up for free to 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.

Displayed operator public key is incorrect

2 participants