Subject: [bitcoindev] [BIP Proposal] Elliptic Curve Operations for Bitcoin Script

From: Olaoluwa Osuntokun <[email-masked]>
Date: Sun, 24 Aug 2025 20:50:39 -0400

Hi y'all,

I've just published a draft of a BIP to add Elliptic Curve operation op
codes
as a soft fork utilizing the existing Taproot infrastructure and current tap
leaf version.

My primary motivation is enabling the commutation of the top level Taproot
output public key within Bitcoin Script. Alongside introspection enabling op
codes, this enables the creation of a new flavor of on-chain state machine
within Bitcoin Script. The set of op codes is also generic enough to enable
several other use cases related to (optimized DLCs, partial musig2 signature
verification, EC based sigma protocols, etc).

A total of 4 op codes are proposed (each allocated from the existing
OP_SUCCESS) range:
  * `OP_EC_POINT_ADD`
  * `OP_EC_POINT_MUL`
  * `OP_EC_POINT_NEGATE`
  * `OP_EC_POINT_X_COORD`

The full BIP text can be found here:
 * https://github.com/bitcoin/bips/pull/1945

A reference implementation in `btcd` can be found here:
  * https://github.com/btcsuite/btcd/pull/2413

--Laolu

-- 
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email-masked].
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/CAO3Pvs-Cwj%3D5vJgBfDqZGtvmoYPMrpKYFAYHRb_EqJ5i0PG0cA%40mail.gmail.com.