MeshJS / mesh

TypeScript open-source library to advance Web3 development on Cardano
https://meshjs.dev
Apache License 2.0
221 stars 65 forks source link

Function checkSignature accepts an optional 'address' parameter to validate against the address found in signature. #387

Closed JustLeif closed 1 week ago

JustLeif commented 1 week ago

Summary

checkSignature in the core-cst library now accepts an optional 'address' parameter to validate against the address found in the signature.

Using the logic from this library: https://github.com/cardano-foundation/cardano-verify-datasignature, I basically just adjusted for the primitives used already in this library.

Affect components

Please indicate which part of the Mesh Repo

Type of Change

Please mark the relevant option(s) for your pull request:

Related Issues

Checklist

Please ensure that your pull request meets the following criteria:

vercel[bot] commented 1 week ago

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

Name Status Preview Comments Updated (UTC)
mesh-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2024 3:46am
vercel[bot] commented 1 week ago

@JustLeif is attempting to deploy a commit to the MeshJS Team on Vercel.

A member of the Team first needs to authorize it.