Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds support for Sigma protocol signatures to several transaction creation functions, improving replay protection and security. It updates the configuration options and internal logic to handle signing with either local or remote signers. The changes also include dependency updates and enhanced tests to cover the new functionality.
Sigma protocol signature support
Added optional
signer
configuration tocreateOrdinals
,sendUtxos
,deployBsv21Token
,createOrdListings
, andcreateOrdTokenListings
functions, enabling Sigma protocol signatures for replay protection. The transaction logic now handles signing and fee calculation accordingly. (src/types.ts
[1] [2];src/createOrdinals.ts
[3] [4] [5] [6];src/sendUtxos.ts
[7] [8] [9] [10];src/deployBsv21.ts
[11] [12] [13];src/createListings.ts
[14] [15] [16] [17] [18] [19]Updated documentation to describe the new
signer
option, including usage examples and a list of supported functions. (README.md
README.mdL255-R276)Testing improvements
src/createOrdinals.test.ts
[1]src/sendUtxos.test.ts
[2]src/deployBsv21.test.ts
[3]Dependency updates
package.json
package.jsonL36-R47)Minor documentation and code fixes
Utxo
type. (README.md
README.mdL51-R51)Version bump
0.1.83
to reflect new features and changes. (package.json
package.jsonL3-R3)