hirosystems / stacks.js

JavaScript libraries for identity, auth, storage and transactions on the Stacks blockchain.
https://stacks.js.org
MIT License
949 stars 309 forks source link

feat: helper function to make pox-4 signer signature #1628

Closed hstove closed 7 months ago

hstove commented 7 months ago

A PR was just merged into the next branch of Stacks Core that includes a new parameter signer-sig. This is a signature that proves control/approval of the provided signer key. This PR adds a little helper function to generate the proper signed structured data that is needed for this parameter.

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stacksjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2024 11:23pm
codecov[bot] commented 7 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (52e5a2e) 66.40% compared to head (dd5cd50) 66.39%.

Files Patch % Lines
packages/stacking/src/utils.ts 60.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## feat/update-stacking-client-to-pox-4 #1628 +/- ## ======================================================================== - Coverage 66.40% 66.39% -0.02% ======================================================================== Files 119 119 Lines 8718 8727 +9 Branches 1920 1948 +28 ======================================================================== + Hits 5789 5794 +5 + Misses 2803 2694 -109 - Partials 126 239 +113 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.