Skip to content

feat: add NEAR implicit accounts - #257

Merged
aeitwoen merged 1 commit into
mainfrom
feat/near
Oct 6, 2026
Merged

aeitwoen merged 1 commit into
mainfrom
feat/near

Conversation

@aeitwoen

@aeitwoen aeitwoen commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

Closes #251

NEAR implicit accounts land in keys as near, and the account is literally the public key in hex. Strip ed25519: off a NEAR key and what's left is the Solana address of the same secret, kind of hilarious.

@aeitwoen
aeitwoen requested a review from oritwoen as a code owner October 6, 2026 13:13
@aeitwoen aeitwoen self-assigned this Oct 6, 2026
@coldtea-pr-lens

coldtea-pr-lens Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Nothing flagged · reviewed dfd92ab


Architecture

Architecture diagram for agntn/keys at dfd92ab

Play the walkthrough


Inside the changed components — 2 views

Component view — NEAR Blockchain Integration

NEAR driver implementation for ed25519 derivation, SLIP-10 paths, and implicit accounts

Architecture view of Component view — NEAR Blockchain Integration in agntn/keys

Component view — Tool Operations & Key Parsing

Tool parameter schemas, key parsing with ed25519:⁠ prefix support, and HD scanning

Architecture view of Component view — Tool Operations & Key Parsing in agntn/keys

Data flow

Data flow diagram for agntn/keys at dfd92ab

Follow each request


View

  • Architecture lens
  • Data flow lens
  • Expand every detail

Tip

The CLI's render reads .github/pr-lens.yml and applies your renames, exclusions and lane pins at draw time

🪧 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
  • Untick Architecture lens or Data flow lens under View to hide a diagram, or tick Expand every detail to open every section. The comment redraws in a few seconds
  • 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
  • Set github.comment.collapsed: true in .github/pr-lens.yml to fold the comment behind one View architecture and data flow row. Drawing still runs as before
  • 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
  • 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
  • Push a commit and the drawing stays, with a note that it is out of date. Tick Redraw in the note to draw the new head
  • Switch GitHub to dark mode and the diagrams follow. The moving dots are this pull request's data in motion

Thanks for using PR Lens! It's built by Coldtea, free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T13:16:37.151669Z dfd92ab PR opened
ℹ️ 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.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://feat-near-agntn-keys.oritwoen.workers.dev (commit dfd92ab)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://dff6a2c4-agntn-keys.oritwoen.workers.dev dfd92ab 2026-10-06T13:15:54.261Z Visit the dashboard ↗

@aeitwoen
aeitwoen merged commit 002426c into main Oct 6, 2026
4 checks passed
@aeitwoen
aeitwoen deleted the feat/near branch October 6, 2026 13:19
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 NEAR implicit accounts

1 participant