secp256k1
A wrapper for the libsecp256k1 C library
Summary
| Latest Version | 0.8.0.8.0 |
|---|---|
| License | Apache License 2.0 |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-11-17 13:48 |
Tags
Authors
- Status Research & Development GmbH
Installation
nimble install secp256k1
choosenim install secp256k1
git clone https://github.com/status-im/nim-secp256k1
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| secp256k1 | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/status-im/nim-secp256k1 |
|---|---|
| Homepage | https://github.com/status-im/nim-secp256k1 |
| Registry Source | nimble_official |
README
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
Version numbering
Package versions combine the Nim wrapper version (major.minor) with the bundled
libsecp256k1 version (major.minor.patch). For example, 0.7.0.8.0 means wrapper
version 0.7 with libsecp256k1 0.8.0. The version is maintained manually in
secp256k1.nimble; update the wrapper prefix for wrapper releases and the upstream
suffix when updating the bundled C library.
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.