Skip to content

Add v3 payout-wallet keygen + bind-at-create-key helper#9

Closed
epanonymous wants to merge 2 commits into
mainfrom
feat/v3-keypair-keygen-g7
Closed

Add v3 payout-wallet keygen + bind-at-create-key helper#9
epanonymous wants to merge 2 commits into
mainfrom
feat/v3-keypair-keygen-g7

Conversation

@epanonymous

@epanonymous epanonymous commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add generatePayoutWallet() for local Bitplanet v3 ed25519 keypair generation, returning base58 pubkey and secret material.
  • Bind generated payout pubkeys during agent registration by default while returning the generated secret only to the SDK caller.
  • Support external/passkey wallet binding via a caller-supplied payoutWallet.pubkey, payoutWallet.publicKey, or payout_pubkey.
  • Update the manual publish dry-run path to use npm pack --dry-run, avoiding failures on already-published package versions.

Dependency note

  • Adds tweetnacl for small offline ed25519 key generation and bs58 for base58 encoding.

Validation

@epanonymous

Copy link
Copy Markdown
Contributor Author

Closing — superseded by #10 (lazy auto-generate + bind on first API call). #9 implemented the registration-time / bind-at-create-key (G7) model, which is the up-front-wallet path we abandoned in favor of the frictionless lazy bind. See #10.

@epanonymous epanonymous deleted the feat/v3-keypair-keygen-g7 branch June 18, 2026 10:04
@epanonymous

Copy link
Copy Markdown
Contributor Author

Closed as incorrect / superseded — this is the old up-front "bind the payout wallet when you create the key" (G7) approach, which was killed in favor of lazy auto-bind. Use #10 (wallet auto-binds silently on first API call) instead. Head branch deleted. (GitHub doesn't allow deleting PRs, only closing — leaving this note so it doesn't mislead.)

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.

1 participant