8000 feat(solana): derive PDAs by oritwoen · Pull Request #433 · agntn/keys · GitHub
[go: up one dir, main page]

Skip to content

feat(solana): derive PDAs - #433

Merged
oritwoen merged 2 commits into
mainfrom
feat/solana-program-address
Nov 25, 2026
Merged

oritwoen merged 2 commits into
mainfrom
feat/solana-program-address

Conversation

@oritwoen
@oritwoen oritwoen commented Nov 25, 2026 •
Copy link
Copy Markdown
Member

Closes #407

Solana gets keys_solana_program_address_get and keys_solana_token_address_get, both offline. Pick Token-2022 for a classic SPL mint and you get a perfectly valid address that never holds a token, no warning.


Read this PR faster    Follow each request

@oritwoen oritwoen self-assigned this Nov 25, 2026
@coldtea-pr-lens
coldtea-pr-lens Bot commented Nov 25, 2026 •
Copy link
Copy Markdown
  • Redraw · drawn at f3277a8, the branch has moved on

Architecture

Walkthrough of Solana program and token address derivation, in four steps

Read this PR faster

Inside the changed components — 1 view

Component view — Solana derivation path

Core PDA utilities, blockchain wrapper methods, and agent operations

Architecture view of Component view — Solana derivation path in agntn/keys

Data flow

Data flow diagram for agntn/keys at f3277a8

Follow each request


Review

1 finding addressed · reviewed f3277a8

Tip

Set github.draw: on-demand in .github/pr-lens.yml and PR Lens stops drawing pull requests on its own. Comment @pr-lens draw on a pull request when you want that one drawn

🪧 More tips
  • Run npx skills add coldteadotai/pr-lens, then tell your coding agent: "Diagram the change you just made with PR Lens and attach it to the pull request."
  • Run npx @coldtea/pr-lens-cli analyze --base origin/main on a branch, then npx @coldtea/pr-lens-cli render .pr-lens/graph.json. Same lenses, your own model key, before the pull request exists
  • Click the link under each diagram to open it on a canvas you can zoom, pan and step through
  • The diagrams are links. Click one to open it on the canvas, then press W or click play to walk through the change
  • Open a diagram on the canvas, then press W or click play to walk through the change one step at a time
  • The CLI's render reads .github/pr-lens.yml and applies your renames, exclusions and lane pins at draw time
  • Set github.comment.collapsed: true in .github/pr-lens.yml to fold the comment behind one View architecture… row. Drawing still runs as before
  • Add .github/workflows/pr-lens.yml with coldteadotai/pr-lens/packages/action@v0 and your model provider's key as its api-key to run PR Lens from your own CI. Any /chat/completions endpoint works
  • After a push, tick Redraw to draw the latest commit
  • Switch GitHub to dark mode and the diagrams follow. The moving dots are this pull request's data in motion
  • Set github.description: false in .github/pr-lens.yml to stop PR Lens adding buttons to your PR descriptions

Thanks for using PR Lens! It's free for OSS. If it helped, a star helps other teams find it.  Star PR Lens on GitHub

@chatgpt-codex-connector
chatgpt-codex-connector Bot commented Nov 25, 2026 •
Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T21:45:07.620117Z 6254137 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f3277a8c30

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/tool-operations/solana.ts Resolved
@devin-ai-integration devin-ai-integration Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

1 flag not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

Comment thread src/tool-operations/solana.ts Resolved
Comment thread src/tool-operations/solana.ts Resolved
@oritwoen
oritwoen merged commit 1520ff4 into main Nov 25, 2026
2 checks passed
@oritwoen
oritwoen deleted the feat/solana-program-address branch November 25, 2026 23:06
@github-actions github-actions Bot mentioned this pull request Nov 25, 2026
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.

Derive Solana program and token account addresses

1 participant

0