2018-09-04 23:05:11 -06:00
# secp256k1
2018-05-27 14:26:12 -07:00
2018-03-30 11:33:32 +02:00
[](https://opensource.org/licenses/Apache-2.0)
2018-09-04 23:05:11 -06:00
[](https://opensource.org/licenses/MIT)

2021-06-03 02:08:23 +02:00

2018-03-30 11:33:32 +02:00
2018-05-27 14:26:27 -07:00
# Introduction
2020-04-17 07:43:30 +02:00
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.
2018-05-27 14:26:12 -07:00
# Installation
2018-06-17 10:23:36 +02:00
2018-06-17 22:10:21 +02:00
Add to your `.nimble` file:
```
requires "secp256k1"
```
# Build and test
2018-06-17 10:23:36 +02:00
```
# Upstream secp256k1 c library is tracked with a submodule
git submodule update --init
2018-06-17 22:10:21 +02:00
nimble test
2018-06-17 10:23:36 +02:00
```
2019-01-02 15:00:18 +01:00
2018-09-04 23:05:11 -06:00
## License
2018-06-17 10:23:36 +02:00
2018-09-05 12:48:35 -06:00
Licensed and distributed under either of
* MIT license: [LICENSE-MIT ](LICENSE-MIT ) or http://opensource.org/licenses/MIT
2019-01-02 15:00:18 +01:00
or
2018-09-04 23:05:11 -06:00
2019-01-02 15:00:18 +01:00
* 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.