Add createTransactionSignerFromBytes function
オープン
enhancement
- 主要言語
- TypeScript
- スター
- 695
- フォーク
- 210
- 平均マージ
- 21時間 33分
- マージ済み PR(30日)
- 90
説明
## 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
コントリビューションガイド
評価
この issue はまだ評価されていません。