Skip to content
Erlang NIF bindings for libsecp256k1 ECDSA library
C Erlang Elixir Makefile Shell
Branch: master
Clone or download
Pull request Compare This branch is 33 commits ahead of mbrix:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
c_src
etest
priv
src
.gitignore
LICENSE
Makefile
README.md
mix.exs
mix.lock

README.md

Erlang NIF C libsecp256k1 CircleCI

============

Bindings for most of the library functionality Tested with Erlang/OTP 17+

Installation

If available in Hex, the package can be installed by adding libsecp256k1 to your list of dependencies in mix.exs:

def deps do
  [{:libsecp256k1, "~> 0.1.9"}]
end

Build and usage steps

$ mix compile
$ erl -pa _build/dev/lib/libsecp256k1/ebin/
  Privkey = crypto:strong_rand_bytes(32).
  {ok, Pubkey} = libsecp256k1:ec_pubkey_create(Privkey, compressed).

Testing

$ mix eunit

Debugging

Library should be statically compiled.

You can’t perform that action at this time.