Skip to content

PharosProduction/libsecp256k1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

By Dmytro Nasyrov, Founder, CTO at Pharos Production Inc. And Pharos Production Inc. - Web3, blockchain, fintech, defi software development services

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.

About

Erlang NIF bindings for libsecp256k1 ECDSA library. https://pharosproduction.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 70.8%
  • Elixir 26.4%
  • Makefile 2.8%