JSPM

schnorr-adaptor-points

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q25440F
  • License MIT

Javascript implementation of schnorr adaptor point scheme

Package Exports

  • schnorr-adaptor-points

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (schnorr-adaptor-points) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Javascript implementation of Adaptor Point and Adaptor Secret computation

This is a pure javascript implementation of adaptor point and adaptor secret computation over the elliptic curve secp256k1 using multiple signatures

The code is based on BIP Schnorr and utilizes similar methods for constructing adaptor points as signing schnorr signatures

This implementation can be used for providing adaptor points for DLC construction enabling CET Compression, Numeric Outcomes, and Multi Oracle Support

Install

NPM:

npm install --save schnorr-adaptor-points

yarn:

yarn add schnorr-adaptor-points