Schnorr Signatures on BitCoin

sCrypt
Aug 6, 2021

--

We have implemented Schnorr signatures on BitCoin. It is the first and only known implementation without any changes to the original protocol¹.

One transaction has one signature

Schnorr is an alternative algorithm to the ECDSA algorithm currently used for signatures in Bitcoin. One key advantage is that multiple signatures, either in one input or multiple inputs of the same transaction², can be aggregated into a single signature. There has been a lot of hype about Schnoor signatures on BTC, which requires enormous changes as BIP 340 details.

We have shown how to implement it, using just the original Bitcoin protocol. The full code to verify Schnorr signatures is listed below, using elliptic curve operations we released previously.

Schnorr Signature Contract

[1] The legal implication of using Schnorr signatures is out of the scope of this article.

[2] Cross-input signature aggregation is not activated, as of this writing.

--

--

sCrypt
sCrypt

Written by sCrypt

sCrypt (https://scrypt.io) is a web3 development platform specialized in UTXO-blockchains like Bitcoin

No responses yet