Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIP 322 (address, message, signature) #14

Open
trevormil opened this issue May 25, 2024 · 1 comment
Open

BIP 322 (address, message, signature) #14

trevormil opened this issue May 25, 2024 · 1 comment

Comments

@trevormil
Copy link

trevormil commented May 25, 2024

I recently noticed that a BIP322 library was published (https://pkg.go.dev/github.com/unisat-wallet/libbrc20-indexer/utils/bip322).

Amazing work! I believe this is the first of its kind in Go. Many have been looking for such a library for awhile now.

btcsuite/btcd#2117
btcsuite/btcd#2077

Would it be possible to add a more dev friendly route that takes in simply the (address, message, signature) as seen in https://github.com/ACken2/bip322-js rather than the (witness, pkScript, etc). Would be very useful to many devs!

Verifier.verifySignature(address, message, signature)
@trevormil
Copy link
Author

Update: See btcsuite/btcd#2077 (comment) for an implemented version. Feel free to use it in your code!

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

No branches or pull requests

1 participant