-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Motivation
A createTransactionSignerFromBytes function similar to the createKeyPairSignerFromBytes function is needed to add client-side wallet support to x402 client libraries.
Example use case
completeSigner = createTransactionSignerFromBytes(bytes)
or
privateSigner = createTransactionSignerFromPrivateKeyBytes(bytes)
Details
Two functions - to create a TransactionSigner from 64 bytes (public + private keypair) and another to create a TransactionSigner from 32 bytes (private key only) similar to the implementation for KeyPair
This would ideally be in the packages/signers/src/transaction-signer.ts file
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request