All Projects → keyfuse → tokucore

keyfuse / tokucore

Licence: BSD-3-Clause license
A Simple, Powerful, Modular Library for Bitcoin Blockchain As a Service(BAAS)

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to tokucore

btclib
btclib: a python3 library for 'bitcoin cryptography'
Stars: ✭ 60 (-1.64%)
Mutual labels:  segwit, schnorr
ethereum-url-shortener
Ethereum URL Shortener
Stars: ✭ 22 (-63.93%)
Mutual labels:  dapp
CasADi MPC MHE Python
This repository is an implementation of the work from Mohamed W. Mehrez. I convert the original code in MATLAB to the Python
Stars: ✭ 44 (-27.87%)
Mutual labels:  mpc
contracts
Alice smart contracts
Stars: ✭ 57 (-6.56%)
Mutual labels:  dapp
Motoro
Smart contracts for decentralized rentals of vehicles.
Stars: ✭ 96 (+57.38%)
Mutual labels:  dapp
typescript-eth-starter
🔌 Ethereum Dapp Basic Typescript Starter
Stars: ✭ 125 (+104.92%)
Mutual labels:  dapp
nft-collection-scaffold
Production-ready code for an NFT Collection sale and minting on Ethereum, Polygon, Arbitrum or Binance Smart Chain
Stars: ✭ 53 (-13.11%)
Mutual labels:  dapp
dapp-ecosystem-map
Landscape of blockchain-based end-user applications and platforms
Stars: ✭ 48 (-21.31%)
Mutual labels:  dapp
DCLib
⚙️ DApp toolkit
Stars: ✭ 12 (-80.33%)
Mutual labels:  dapp
dapper
A boilerplate for Ethereum dapps.
Stars: ✭ 20 (-67.21%)
Mutual labels:  dapp
noble-secp256k1
Fastest JS implementation of secp256k1. Independently audited, high-security, 0-dependency ECDSA & Schnorr signatures.
Stars: ✭ 313 (+413.11%)
Mutual labels:  schnorr
WeDPR-Lab-Core
Core libraries of WeDPR instant scenario-focused solutions for privacy-inspired business; WeDPR即时可用场景式隐私保护高效解决方案核心算法组件
Stars: ✭ 147 (+140.98%)
Mutual labels:  mpc
PPML-Resource
Materials about Privacy-Preserving Machine Learning
Stars: ✭ 93 (+52.46%)
Mutual labels:  mpc
ocs2
Optimal Control for Switched Systems
Stars: ✭ 263 (+331.15%)
Mutual labels:  mpc
bitcoinj
BitcoinJ: Samourai Wallet and Sentinel
Stars: ✭ 18 (-70.49%)
Mutual labels:  segwit
cyberevents
The protocol for EVENTs and TICKETs
Stars: ✭ 16 (-73.77%)
Mutual labels:  dapp
peerai-api
Peerism's Peer.ai API built with Truffle, Node.js, Express.js, Solidity, and Ethereum TestRPC
Stars: ✭ 18 (-70.49%)
Mutual labels:  dapp
MultiDexArbBot
This is an arbitrage bot that uses existing price aggregators such as 1inch, Paraswap, dex.ag, matcha and more to get the best exchange rates across different decentralized exchanges on different blockchains and ecosystems.
Stars: ✭ 67 (+9.84%)
Mutual labels:  dapp
tezbridge-legacy
This is the legacy code base of TezBridge
Stars: ✭ 13 (-78.69%)
Mutual labels:  dapp
Model-Predictive-Control
This project is to use Model Predictive Control (MPC) to drive a car in a game simulator. The server provides reference waypoints (yellow line in the demo video) via websocket, and we use MPC to compute steering and throttle commands to drive the car. The solution must be robust to 100ms latency, since it might encounter in real-world application.
Stars: ✭ 93 (+52.46%)
Mutual labels:  mpc

tokucore – A Simple, Powerful Library for Bitcoin Apps.

Build Status GolangCI Go Report Card codecov.io BSD License

tokucore

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.

Overview

  • Base58 encoding/decoding
  • Block headers, block and transaction parsing
  • Transaction creation, signature and verification
  • Script parsing and execution
  • BIP 32 (deterministic wallets)
  • BIP 39 (mnemonic code for generating deterministic keys)
  • BIP 173 (Base32 address format for native v0-16 witness outputs)
  • Two-Party ECDSA Threshold Signature Scheme (TSS)
  • Mult-Party Schnorr Threshold Signature Scheme (TSS)
  • Scriptless Adaptor Signature

Focus

  • Simple and easy to use
  • No external dependencies
  • Full test coverage

Tests

$ export GOPATH=`pwd`
$ go get -u github.com/keyfuse/tokucore/xcore
$ cd src/github.com/keyfuse/tokucore/
$ make test

Examples

Performance

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

Can I trust this code?

Don't trust. Verify.

License

tokucore is released under the BSD License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].