A Simple, Powerful, Modular Library for Bitcoin Blockchain As a Service(BAAS)
tokucore is a simple Go (golang) library for creating and manipulating bitcoin data structures like creating keys and addresses (HD/BIP32/BIP39/SegWit) or parsing, creating and signing transactions.
$ export GOPATH=`pwd`
$ go get -u github.com/keyfuse/tokucore/xcore
$ cd src/github.com/keyfuse/tokucore/
$ make test
The performance was done on an Intel i5 (2.50GHz) with golang benchmark.
Implementation | |
---|---|
2P-ECDSA KeyGen | 2.13 ms |
2P-ECDSA Signing | 426.05 ms |
2P-Schnorr KeyGen | 0.01 ms |
2P-Schnorr Signing | 4.31 ms |
$ go test -bench=BenchmarkMpc* ./xcrypto
goos: linux
goarch: amd64
pkg: github.com/keyfuse/tokucore/xcrypto
BenchmarkMpcEcdsaKeyGen-4 1000 2133566 ns/op
BenchmarkMpcEcdsaSigning-4 3 426058258 ns/op
BenchmarkMpcSchnorrKeyGen-4 100000 11310 ns/op
BenchmarkMpcSchnorrSigning-4 300 4315631 ns/op
Don't trust. Verify.
tokucore is released under the BSD License.