bitcoin-php icon indicating copy to clipboard operation
bitcoin-php copied to clipboard

[WIP] Schnorr/Taproot/Tapscript

Open afk11 opened this issue 5 years ago • 4 comments

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

afk11 avatar Dec 16 '18 14:12 afk11

What's the status on this?

faustbrian avatar Jun 21 '19 03:06 faustbrian

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.

afk11 avatar Jun 21 '19 10:06 afk11

Do you have any updates on this WIP?

doxadoxa avatar Oct 11 '20 20:10 doxadoxa

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.

afk11 avatar Oct 11 '20 23:10 afk11