bitcoin-php
bitcoin-php copied to clipboard
[WIP] Schnorr/Taproot/Tapscript
Not for merge yet, but started working on a phpecc-backed implementation of the schnorr signature implementation a while back. Opening the PR so I don't forget about it
What's the status on this?
Hey. The PR includes an implementation of bip-schnorr https://github.com/sipa/bips/blob/bip-schnorr/bip-schnorr.mediawiki using PHPECC. The implementation is working, but it could do with review by others, especially a cryptographer.
ext-secp256k1 also needs bindings written for schnorr, so we can utilize it here for the second EcAdapter implementation we provide. this stuff can probably come as a separate PR.
The taproot stuff is up for grabs, or I might get it over the next week or two.
Do you have any updates on this WIP?
Hi, I left this on standby while libsecp worked things out, as there was quite a bit of code churn on their end. I noticed that PR was merged not too long ago, so might be worth look into this again soon.