2015-01-21 17:35:00 -06:00
|
|
|
secp256k1-go
|
|
|
|
=======
|
|
|
|
|
|
|
|
golang secp256k1 library
|
|
|
|
|
|
|
|
Implements cryptographic operations for the secp256k1 ECDSA curve used by Bitcoin.
|
|
|
|
|
|
|
|
Installing
|
|
|
|
===
|
2015-04-23 09:33:48 -05:00
|
|
|
|
|
|
|
GMP library headers are required to build. On Debian-based systems, the package is called `libgmp-dev`.
|
|
|
|
|
2015-01-21 17:35:00 -06:00
|
|
|
```
|
2015-04-23 09:33:48 -05:00
|
|
|
sudo apt-get install libgmp-dev
|
2015-01-21 17:35:00 -06:00
|
|
|
```
|
|
|
|
|
|
|
|
Now compiles with cgo!
|
|
|
|
|
|
|
|
Test
|
|
|
|
===
|
|
|
|
|
|
|
|
To run tests do
|
|
|
|
```
|
|
|
|
go tests
|
|
|
|
```
|