2
0
mirror of synced 2025-02-16 15:46:49 +00:00
nim-secp256k1/README.md

40 lines
1.6 KiB
Markdown
Raw Normal View History

2018-09-04 23:05:11 -06:00
# secp256k1
2018-05-27 14:26:12 -07:00
2018-04-06 16:31:46 +02:00
[![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)
2018-09-04 23:05:11 -06:00
[![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)
2018-03-30 11:33:32 +02:00
[![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
2018-09-04 23:05:11 -06:00
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
![Stability: experimental](https://img.shields.io/badge/stability-experimental-orange.svg)
![Github action](https://github.com/status-im/nim-secp256k1/workflows/CI/badge.svg)
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.