Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

toxeus/go-secp256k1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secp256k1 bindings for Go

General info

The Go API mirrors the API of the C implementation. Therefore, please consult c-secp256k1/include/secp256k1.h for documentation. Going forward I plan to implement a new API that is more aligned with the APIs from Go's standard lib crypto packages. Then, it makes more sense to add a standalone documentation, and hopefully breaking changes in the C implementation can be abstracted away.

How to get and build

go get -d github.com/toxeus/go-secp256k1
cd $GOPATH/src/github.com/toxeus/go-secp256k1
git submodule update --init # not needed for Go >= 1.6
cd c-secp256k1
./autogen.sh && ./configure && make
cd ..
go install

How to update

cd $GOPATH/src/github.com/toxeus/go-secp256k1
git submodule update
cd c-secp256k1
make distclean && ./autogen.sh && ./configure && make
cd ..
go clean && go install

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages