Skip to content

Elixir NIF using a pure Rust implementation of Secp256k1

License

Notifications You must be signed in to change notification settings

tzumby/rusty_secp256k1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustySecp256k1

NIF library using rustler and a pure Rust implementation of Secp256k1. This is not an exhaustive port of the library to Elixir but only meant to provide functionality for:

  • Creating Public Key from Private Keys
  • Decompressing Public Keys
  • Performing point addition using Public Keys and Tweak Keys

For a complete libsecp256k1 implementation see exthereum/libsecp256k1 for a C-based NIF.

Installation

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

def deps do
  [
    {:rusty_secp256k1, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/rusty_secp256k1.

About

Elixir NIF using a pure Rust implementation of Secp256k1

Resources

License

Stars

Watchers

Forks

Packages

No packages published