21-DOT-DEV / swift-secp256k1

Elliptic Curve, Schnorr, and ZKP for Bitcoin. Supports iOS macOS tvOS watchOS visionOS + Linux.
MIT License
107 stars 54 forks source link

Example usage #134

Closed Fonta1n3 closed 2 years ago

Fonta1n3 commented 2 years ago

Do you have any examples of how you would sign a taproot input using this library?

csjones commented 2 years ago

Hello 👋 the swift interface for p2tr hasn't been created yet so you'll need to use the bindings to sign a taproot input.

Example usage from secp256k1

Fonta1n3 commented 2 years ago

Thanks!