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

Add encode/decode message functions for Arbitrary Message Signing #1231

Closed
beguene opened this issue Apr 15, 2022 · 0 comments
Closed

Add encode/decode message functions for Arbitrary Message Signing #1231

beguene opened this issue Apr 15, 2022 · 0 comments

Comments

@beguene
Copy link
Contributor

beguene commented Apr 15, 2022

For leather-io/extension#1051, we need to be able to encode the message with a chain prefix specific 'Stack Message Signing:\n' and both the message and the chain prefix must be prefixed by a variable integer following bitcoin standard.
Besides the encode function we need a decode and a hashMessage function.

PR #1232

beguene added a commit to beguene/stacks.js that referenced this issue Apr 15, 2022
beguene added a commit to beguene/stacks.js that referenced this issue Apr 15, 2022
beguene added a commit to beguene/stacks.js that referenced this issue Apr 15, 2022
beguene added a commit to beguene/stacks.js that referenced this issue Apr 15, 2022
beguene added a commit to beguene/stacks.js that referenced this issue Apr 15, 2022
beguene added a commit to beguene/stacks.js that referenced this issue Apr 15, 2022
beguene added a commit to beguene/stacks.js that referenced this issue Apr 19, 2022
beguene added a commit to beguene/stacks.js that referenced this issue Apr 19, 2022
beguene added a commit to beguene/stacks.js that referenced this issue Apr 19, 2022
beguene added a commit to beguene/stacks.js that referenced this issue Apr 20, 2022
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