[![Build Status (Travis)](https://img.shields.io/travis/status-im/nim-secp256k1/master.svg?label=Linux%20/%20macOS "Linux/macOS build status (Travis)")](https://travis-ci.org/status-im/nim-secp256k1)
[![Windows build status (Appveyor)](https://img.shields.io/appveyor/ci/nimbus/nim-secp256k1/master.svg?label=Windows "Windows build status (Appveyor)")](https://ci.appveyor.com/project/nimbus/nim-secp256k1)
This library is a wrapper for Bitcoin's [secp256k1](https://github.com/bitcoin-core/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](LICENSE-MIT) or http://opensource.org/licenses/MIT
or
* Apache License, Version 2.0, ([LICENSE-APACHEv2](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.