package secp256k1

  1. Overview
  2. Docs

libsecp256k1 wrapper for OCaml

CI Status Opam package MIT License

This library wrap the secp256k1 EC(DSA) library into an OCaml library. At the moment only a subset of functionalities are available:

  • Context: create, clone, destroy, randomize
  • Elliptic curve: public key creation
  • ECDSA: verify, sign, recover
  • Schnorr signatures and xonly public keys

All exchanged data (pubkey, signature, seckey) are represented as hex strings.

Contributions

You can improve this wrapper by submitting a pull request.

Thanks to all contributors:

  • Vincent Bernardoff
  • Yoichi Hirai
  • Anton Trunov
  • ygrek

License

Read the LICENSE file.

Donation

BTC: 13TRVwiqLMveg9aPAmZgcAix5ogKVgpe4T