Skip to content

Add stake delegation with optional key registration - #57

Merged
Nebyt merged 2 commits into
mainfrom
feat/stake-delegation
Aug 24, 2026
Merged

Nebyt merged 2 commits into
mainfrom
feat/stake-delegation

Conversation

@Nebyt

@Nebyt Nebyt commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add CSL stake-delegation certificates and getPoolKeyHash on top of pool-id classification.
  • Add a Delegate card: account info, CIP-95 stake-key resolution, optional registration, sign and submit.

Stack

  • Base: feat/pool-id
  • Depends on: pool-id classification
  • Independent of the token-mint stack. Both stacks touch cslTools.js; merge one stack fully before the other, or rebase the second.

Test plan

  • npx jest src/utils/poolId.test.js src/components/cards/staking/logic/stakeKey.test.js src/components/cards/staking/delegateCard.test.js
  • Send stays disabled until a pool ID is entered
  • Get Account info shows registration and current pool
  • Delegate with an unregistered CIP-95 key includes a stake registration cert

Made with Cursor

Build a Delegate card that resolves a CIP-95 stake key, attaches a pool-id certificate, and registers the key when the wallet has none yet.

Co-authored-by: Cursor <cursoragent@cursor.com>
Base automatically changed from feat/pool-id to main August 24, 2026 12:34
@Nebyt
Nebyt merged commit ae2311f into main Aug 24, 2026
5 checks passed
@Nebyt
Nebyt deleted the feat/stake-delegation branch August 24, 2026 12:49
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