forked from cerc-io/plugeth
e344e1d490
They cause compiler warnings for people who don't have these directories. People with pkgsrc can add the directory through CGO_CFLAGS instead. |
||
---|---|---|
.. | ||
libsecp256k1 | ||
.gitignore | ||
notes.go | ||
panic_cb.go | ||
README.md | ||
secp256_test.go | ||
secp256.go |
secp256k1-go
golang secp256k1 library
Implements cryptographic operations for the secp256k1 ECDSA curve used by Bitcoin.
Installing
GMP library headers are required to build. On Debian-based systems, the package is called libgmp-dev
.
sudo apt-get install libgmp-dev
Now compiles with cgo!
Test
To run tests do
go tests