Skip to content

feat(*): add withPrivateKey method for scoped private key access#426

Merged
drichar merged 2 commits intomainfrom
feat/withPrivateKey
Feb 21, 2026
Merged

feat(*): add withPrivateKey method for scoped private key access#426
drichar merged 2 commits intomainfrom
feat/withPrivateKey

Conversation

@pbennett
Copy link
Collaborator

@pbennett pbennett commented Feb 19, 2026

Introduce withPrivateKey method across supported wallets, enabling scoped access to private keys during asynchronous operations. Added canUsePrivateKey property to indicate support for this method. Ensured all key material is securely cleaned after usage.

Introduce `withPrivateKey` method across supported wallets, enabling scoped access to private keys during asynchronous operations.
Added `canUsePrivateKey` property to indicate support for this method.
Ensured all key material is securely cleaned after usage.

BREAKING CHANGE: Wallet implementations not supporting private key access will throw "Method not supported" for `withPrivateKey`.
@pbennett pbennett marked this pull request as ready for review February 19, 2026 06:26
@drichar drichar merged commit b16cafd into main Feb 21, 2026
1 check passed
@drichar drichar deleted the feat/withPrivateKey branch February 21, 2026 20:33
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.

2 participants