c7f1a37d9b | ||
---|---|---|
.github/workflows | ||
secp256k1 | ||
secp256k1_wrapper | ||
tests | ||
.appveyor.yml | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
LICENSE-APACHEv2 | ||
LICENSE-MIT | ||
README.md | ||
config.nims | ||
nim.cfg | ||
nimble.lock | ||
secp256k1.nim | ||
secp256k1.nimble |
README.md
secp256k1
Introduction
This library is a wrapper for Bitcoin's secp256k1 library. Two interfaces are exposed - secp256k1
which thinly wraps the raw C interface found in secp256k1_abi
. The thin wrapper is recommended.
Installation
Add to your .nimble
file:
requires "secp256k1"
Build and test
# Upstream secp256k1 c library is tracked with a submodule
git submodule update --init
nimble test
License
Licensed and distributed under either of
- MIT license: LICENSE-MIT or http://opensource.org/licenses/MIT
or
- Apache License, Version 2.0, (LICENSE-APACHEv2 or http://www.apache.org/licenses/LICENSE-2.0)
at your option. This file may not be copied, modified, or distributed except according to those terms.