Blockstream / Blockstream/Jade

[Feature Request] Support Jade signing for Simplicity `sighash_all` spends

Open
#296 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
496
Forks
127
PR merge metrics
No merged PRs in 30d

Description

We want to explore Jade support for signing Simplicity transactions

Current Simplicity P2PK:

[`lwk_simplicity/data/p2pk.simf:3`](/Volumes/Somebody/Desktop/Simp/lwk/lwk_simplicity/data/p2pk.simf:3)

```simf
jet::bip_0340_verify((param::PUBLIC_KEY, jet::sig_all_hash()), witness::SIGNATURE)
```

The desired outcome is that LWK (or any other SDK) can construct a Simplicity P2PK spend where:

- `PUBLIC_KEY` is derived from a Jade-controlled key, as an x-only public key.
- Jade computes the Simplicity transaction `sighash_all`.
- Jade signs that 32-byte message with the matching key.
- The returned signature verifies as a BIP340 Schnorr signature.
- The signature satisfies the Simplicity program and the transaction can be finalized and broadcast.

Opening the issue for the discussion purposes, would appreciate any feedback and questions

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.