/ex_secp256k1

Rust Nif that wraps a couple functions from the libsecp256k1 rust library. It only wraps secp256k1 functions used in Ethereum.

Primary LanguageElixirMIT LicenseMIT

ExSecp256k1

Hex.pm Hex.pm Hex.pm Github.com

NIF for secp256k1 curve functions.

It wraps functions from the libsecp256k1 Rust library.

Installation

ex_secp256k1 requires Rust to be installed.

The package can be installed by adding ex_secp256k1 to your list of dependencies in mix.exs:

  [
    {:ex_secp256k1, "~> 0.6"}
  ]

Usage

The docs can be found at https://hexdocs.pm/ex_secp256k1.

Contributing

  1. Fork it!
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request