{"id":13630290,"url":"https://github.com/keyfuse/tokucore","last_synced_at":"2026-03-11T15:13:28.311Z","repository":{"id":57510638,"uuid":"147006745","full_name":"keyfuse/tokucore","owner":"keyfuse","description":" A Simple, Powerful, Modular Library for Bitcoin Blockchain As a Service(BAAS)","archived":false,"fork":false,"pushed_at":"2019-09-08T15:10:43.000Z","size":431,"stargazers_count":72,"open_issues_count":2,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-14T17:54:59.833Z","etag":null,"topics":["bitcoin","blockchain","cryptocurrency","dapp","golang","micropayment","mpc","multi-party-ecdsa","schnorr","scriptless","secret-shares","segwit"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keyfuse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-01T14:48:26.000Z","updated_at":"2025-01-09T11:11:59.000Z","dependencies_parsed_at":"2022-09-26T16:31:09.053Z","dependency_job_id":null,"html_url":"https://github.com/keyfuse/tokucore","commit_stats":null,"previous_names":["tokublock/tokucore"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/keyfuse/tokucore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyfuse%2Ftokucore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyfuse%2Ftokucore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyfuse%2Ftokucore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyfuse%2Ftokucore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keyfuse","download_url":"https://codeload.github.com/keyfuse/tokucore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyfuse%2Ftokucore/sbom","scorecard":{"id":557980,"data":{"date":"2025-08-11","repo":{"name":"github.com/keyfuse/tokucore","commit":"d2b8996b1e5602e00988fa7b5b9c87ab150d4567"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 3/29 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T12:51:14.719Z","repository_id":57510638,"created_at":"2025-08-20T12:51:14.719Z","updated_at":"2025-08-20T12:51:14.719Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30385366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T14:10:17.325Z","status":"ssl_error","status_checked_at":"2026-03-11T14:09:37.934Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","blockchain","cryptocurrency","dapp","golang","micropayment","mpc","multi-party-ecdsa","schnorr","scriptless","secret-shares","segwit"],"created_at":"2024-08-01T22:01:37.386Z","updated_at":"2026-03-11T15:13:28.292Z","avatar_url":"https://github.com/keyfuse.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# tokucore – A Simple, Powerful Library for Bitcoin Apps.\n\n[![Build Status](https://travis-ci.org/keyfuse/tokucore.png)](https://travis-ci.org/keyfuse/tokucore) [![GolangCI](https://golangci.com/badges/github.com/keyfuse/tokucore.svg)](https://golangci.com/r/github.com/keyfuse/tokucore) [![Go Report Card](https://goreportcard.com/badge/github.com/keyfuse/tokucore)](https://goreportcard.com/report/github.com/keyfuse/tokucore) [![codecov.io](https://codecov.io/gh/keyfuse/tokucore/graphs/badge.svg)](https://codecov.io/gh/keyfuse/tokucore/branch/master) [![BSD License](http://img.shields.io/badge/license-BSD-blue.svg?style=flat)](LICENSE) \u003cimg src=\"http://segwit.co/static/public/images/logo.png\" width=\"100\"\u003e\n\n\n## tokucore\n\n*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.\n\n## Overview\n\n* Base58 encoding/decoding\n* Block headers, block and transaction parsing\n* Transaction creation, signature and verification\n* Script parsing and execution\n* BIP 32 (deterministic wallets)\n* BIP 39 (mnemonic code for generating deterministic keys)\n* BIP 173 (Base32 address format for native v0-16 witness outputs)\n* Two-Party ECDSA Threshold Signature Scheme (TSS)\n* Mult-Party Schnorr Threshold Signature Scheme (TSS)\n* Scriptless Adaptor Signature\n\n## Focus\n\n* Simple and easy to use\n* No external dependencies\n* Full test coverage\n\n## Tests\n\n```\n$ export GOPATH=`pwd`\n$ go get -u github.com/keyfuse/tokucore/xcore\n$ cd src/github.com/keyfuse/tokucore/\n$ make test\n```\n\n## Examples\n\n- [Generate a Random Address](examples/address_rand.go)\n- [Generate a P2PKH Address](examples/address_p2pkh.go)\n- [Generate a P2SH Address](examples/address_p2sh.go)\n- [Generate a 2-of-3 P2SH MultiSig Address](examples/address_multisig.go)\n- [Generate a P2WPKH SegWit Address](examples/address_p2wpkh_v0.go)\n- [Generate a P2WSH  SegWit Address](examples/address_p2wsh_v0.go)\n- [Create a P2PKH Transaction](examples/transaction_p2pkh.go)\n- [Create a 2-to-3 P2SH MultiSig Transaction](examples/transaction_multisig.go)\n- [Create a Transaction with an OP_RETURN Output](examples/transaction_opreturn.go)\n- [Create a Transaction with Verify](examples/transaction_p2pkh.go)\n- [Create a Transaction with P2WPKH Segwit Output](examples/transaction_p2wpkh_v0.go)\n- [Create a Transaction with P2WPKH SegWit Input](examples/transaction_p2wpkh_v0.go)\n- [Create a Transaction with P2WSH  SegWit Output](examples/transaction_p2wsh_v0.go)\n- [Create a Transaction with P2WSH  SegWit Input](examples/transaction_p2wsh_v0.go)\n- [Create a Two-Party-Threshold ECDSA Transaction with P2PKH Output](examples/two_party_ecdsa_transaction_p2pkh.go)\n- [Create a Two-Party-Threshold ECDSA Transaction with P2PKH Input](examples/two_party_ecdsa_transaction_p2pkh.go)\n- [Create a Two-Party-Threshold ECDSA Transaction with P2WPKH SegWit Output](examples/two_party_ecdsa_transaction_p2wpkh.go)\n- [Create a Two-Party-Threshold ECDSA Transaction with P2WPKH SegWit Input](examples/two_party_ecdsa_transaction_p2wpkh.go)\n- [Scriptless ECDSA adaptor signature](examples/scriptless_ecdsa.go)\n- [HDWallet](examples/hdwallet.go)\n- [Mnemonic](examples/bip39.go)\n\n## Performance\nThe performance was done on an Intel i5 (2.50GHz) with golang benchmark.\n\n|    Implementation   |                       |\n|---------------------|-----------------------|\n| 2P-ECDSA KeyGen     |      2.13 ms          |\n| 2P-ECDSA Signing    |      426.05 ms        |\n| 2P-Schnorr KeyGen   |      0.01 ms          |\n| 2P-Schnorr Signing  |      4.31 ms          |\n\n```\n$ go test -bench=BenchmarkMpc*  ./xcrypto\n\ngoos: linux\ngoarch: amd64\npkg: github.com/keyfuse/tokucore/xcrypto\nBenchmarkMpcEcdsaKeyGen-4      \t    1000\t   2133566 ns/op\nBenchmarkMpcEcdsaSigning-4     \t       3\t 426058258 ns/op\nBenchmarkMpcSchnorrKeyGen-4    \t  100000\t     11310 ns/op\nBenchmarkMpcSchnorrSigning-4   \t     300\t   4315631 ns/op\n```\n\n## Can I trust this code?\n\u003e Don't trust. Verify.\n\n## License\n\ntokucore is released under the BSD License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyfuse%2Ftokucore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeyfuse%2Ftokucore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyfuse%2Ftokucore/lists"}