anza-xyz / anza-xyz/kit

Add createTransactionSignerFromBytes function

オープン
#968 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。