8000 feat(tools): derive plain brainwallets by oritwoen · Pull Request #205 · agntn/keys · GitHub
[go: up one dir, main page]

Skip to content

feat(tools): derive plain brainwallets - #205

Merged
oritwoen merged 1 commit into
mainfrom
feat/plain-brainwallets
Oct 1, 2026
Merged

oritwoen merged 1 commit into
mainfrom
feat/plain-brainwallets

Conversation

@oritwoen
@oritwoen oritwoen commented Oct 1, 2026
Copy link
Copy Markdown
Member

Closes #191

Plain brainwallets go through keys_brainwallet_derive too, as kdf: "sha256" or "keccak256" with an Ethereum address on request, so the brainwallet.org and RushWallet kind stop needing a SHA-256 done by hand.

@oritwoen oritwoen self-assigned this Oct 1, 2026
@coldtea-pr-lens
coldtea-pr-lens Bot commented Oct 1, 2026 •
Copy link
Copy Markdown

◈ PR Lens

🟢 +0 new · 🟠 ~7 changed · 🔴 -0 removed · 1 flow · 14 files · commit 0eec14b


Architecture

Architecture diagram for agntn/keys at 0eec14b

7 components touched across 6 lanes.

Play the interactive walkthrough


Inside the changed components — 2 views

Component view — Tool operations

Tool parameter validation, plain vs salted recipe parsing, and multi-chain address resolution.

Architecture view of Component view — Tool operations in agntn/keys

Component view — Brainwallet derivation

Passphrase hashing via iterative SHA-256 or Keccak-256 rounds and salted KDF algorithms.

Architecture view of Component view — Brainwallet derivation in agntn/keys

Data flow

Data flow diagram for agntn/keys at 0eec14b

Deriving a plain brainwallet

Follow each request, response and payload


View

  • Architecture lens
  • Data flow lens
  • Expand every detail

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
  • 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
  • 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 and data flow 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
  • 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

@cloudflare-workers-and-pages
Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://feat-plain-brainwallets-agntn-keys.oritwoen.workers.dev (commit 0eec14b)

This URL reflects your latest Preview deployment

Preview Deployments by commit

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

View logs ↗
https://7c0f15af-agntn-keys.oritwoen.workers.dev 0eec14b 2026-10-01T20:15:08.715Z Visit the dashboard ↗

@oritwoen
oritwoen merged commit 63a1040 into main Oct 1, 2026
4 checks passed
@oritwoen
oritwoen deleted the feat/plain-brainwallets branch October 1, 2026 20:20
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 plain SHA-256 brainwallets

1 participant

0