{"id":40535087,"url":"https://github.com/bsv-blockchain/go-script-templates","last_synced_at":"2026-05-27T01:04:49.840Z","repository":{"id":250076288,"uuid":"833403603","full_name":"bsv-blockchain/go-script-templates","owner":"bsv-blockchain","description":"Extensible Bitcoin script templates for the BSV Golang SDK","archived":false,"fork":false,"pushed_at":"2026-05-10T20:23:45.000Z","size":863,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-05-10T22:24:05.683Z","etag":null,"topics":["bitcoin","bitcoinsv","bsv","go","go-sdk","scripts"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bsv-blockchain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":".github/AGENTS.md","dco":null,"cla":null},"funding":{"github":"bsv-blockchain"}},"created_at":"2024-07-25T01:39:20.000Z","updated_at":"2026-05-10T20:23:29.000Z","dependencies_parsed_at":"2025-06-11T01:27:29.453Z","dependency_job_id":"bb8ebbd4-77bb-4c3b-9389-f06b33aa7434","html_url":"https://github.com/bsv-blockchain/go-script-templates","commit_stats":null,"previous_names":["bitcoin-sv/go-templates","bsv-blockchain/go-script-templates"],"tags_count":6,"template":false,"template_full_name":"bitcoin-sv/template","purl":"pkg:github/bsv-blockchain/go-script-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsv-blockchain%2Fgo-script-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsv-blockchain%2Fgo-script-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsv-blockchain%2Fgo-script-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsv-blockchain%2Fgo-script-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsv-blockchain","download_url":"https://codeload.github.com/bsv-blockchain/go-script-templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsv-blockchain%2Fgo-script-templates/sbom","scorecard":{"id":1241346,"data":{"date":"2026-01-12T08:09:07Z","repo":{"name":"github.com/bsv-blockchain/go-script-templates","commit":"12ba75f6cb4659b17a018a9125f1baa2db395cea"},"scorecard":{"version":"v5.3.0","commit":"c22063e786c11f9dd714d777a687ff7c4599b600"},"score":8.3,"checks":[{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#dependency-update-tool"}},{"name":"Code-Review","score":0,"reason":"Found 0/18 approved changesets -- score normalized to 0","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/c22063e786c11f9dd714d777a687ff7c4599b600/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/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: .github/SECURITY.md:1","Info: Found linked content: .github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/SECURITY.md:1","Info: Found text in security policy: .github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#security-policy"}},{"name":"Maintained","score":10,"reason":"24 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#maintained"}},{"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/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/auto-merge-on-approval.yml:60","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:30","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:31","Info: jobLevel 'contents' permission set to 'read': .github/workflows/dependabot-auto-merge.yml:56","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/dependabot-auto-merge.yml:88","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-benchmarks.yml:101","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-code-quality.yml:68","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-code-quality.yml:215","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-code-quality.yml:437","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-completion-finalize.yml:55","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-completion-finalize.yml:56","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-completion-report.yml:111","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-completion-report.yml:112","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-completion-report.yml:163","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-completion-report.yml:164","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-completion-report.yml:178","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-completion-report.yml:179","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-completion-report.yml:193","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-completion-report.yml:194","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-completion-statistics.yml:56","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-completion-statistics.yml:57","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-completion-tests.yml:53","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-completion-tests.yml:54","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-coverage.yml:2344","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-coverage.yml:2343","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/fortress-coverage.yml:110","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/fortress-coverage.yml:114","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-coverage.yml:115","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-pre-commit.yml:56","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/fortress-release.yml:58","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-security-scans.yml:197","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-security-scans.yml:371","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-security-scans.yml:73","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-setup-config.yml:194","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-test-fuzz.yml:60","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-test-magex.yml:36","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-test-matrix.yml:112","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-test-suite.yml:127","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-test-suite.yml:126","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-test-suite.yml:154","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-test-suite.yml:155","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-test-suite.yml:173","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-test-suite.yml:174","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/fortress-test-suite.yml:189","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/fortress-test-suite.yml:193","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-test-suite.yml:194","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-test-validation.yml:49","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress-test-validation.yml:50","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress-warm-cache.yml:62","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress.yml:134","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress.yml:200","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress.yml:289","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress.yml:80","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress.yml:147","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress.yml:172","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress.yml:220","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/fortress.yml:250","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress.yml:251","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/fortress.yml:246","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress.yml:317","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/fortress.yml:443","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress.yml:456","Info: jobLevel 'actions' permission set to 'read': .github/workflows/fortress.yml:457","Info: jobLevel 'contents' permission set to 'read': .github/workflows/fortress.yml:115","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management-fork.yml:224","Warn: jobLevel 'actions' permission set to 'write': .github/workflows/pull-request-management-fork.yml:379","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management-fork.yml:380","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management-fork.yml:122","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management-fork.yml:180","Warn: jobLevel 'actions' permission set to 'write': .github/workflows/pull-request-management.yml:588","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management.yml:589","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management.yml:93","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management.yml:132","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management.yml:482","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/pull-request-management.yml:691","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management.yml:64","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management.yml:303","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pull-request-management.yml:389","Info: jobLevel 'contents' permission set to 'read': .github/workflows/stale-check.yml:48","Info: jobLevel 'contents' permission set to 'read': .github/workflows/sync-labels.yml:60","Info: jobLevel 'contents' permission set to 'read': .github/workflows/sync-labels.yml:112","Info: found token with 'none' permissions: .github/workflows/auto-merge-on-approval.yml:1","Info: found token with 'none' permissions: .github/workflows/codeql-analysis.yml:1","Info: found token with 'none' permissions: .github/workflows/dependabot-auto-merge.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-benchmarks.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-code-quality.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-completion-finalize.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-completion-report.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-completion-statistics.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-completion-tests.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-coverage.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-pre-commit.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-release.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-security-scans.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-setup-config.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-test-fuzz.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-test-magex.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-test-matrix.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-test-suite.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-test-validation.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress-warm-cache.yml:1","Info: found token with 'none' permissions: .github/workflows/fortress.yml:1","Info: found token with 'none' permissions: .github/workflows/pull-request-management-fork.yml:1","Info: found token with 'none' permissions: .github/workflows/pull-request-management.yml:1","Info: found token with 'none' permissions: .github/workflows/scorecard.yml:1","Info: found token with 'none' permissions: .github/workflows/stale-check.yml:1","Info: found token with 'none' permissions: .github/workflows/sync-labels.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-benchmarks.yml:119","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-benchmarks.yml:183","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-benchmarks.yml:191","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-benchmarks.yml:277","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-test-matrix.yml:202","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-test-matrix.yml:216","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-test-matrix.yml:283","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-test-matrix.yml:304","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-test-matrix.yml:363","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-test-matrix.yml:402","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-warm-cache.yml:71","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-warm-cache.yml:83","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-warm-cache.yml:97","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/fortress-warm-cache.yml:134","Info:  75 out of  75 GitHub-owned GitHubAction dependencies pinned","Info:   5 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/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/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#cii-best-practices"}},{"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/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":9,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 20 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#sast"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: GoBuiltInFuzzer integration found: template/bitcom/bitcom_fuzz_test.go:12","Info: GoBuiltInFuzzer integration found: template/bitcom/bitcom_fuzz_test.go:62","Info: GoBuiltInFuzzer integration found: template/bitcom/bitcom_fuzz_test.go:122","Info: GoBuiltInFuzzer integration found: template/bsv21/pow20/pow20_fuzz_test.go:13","Info: GoBuiltInFuzzer integration found: template/bsv21/pow20/pow20_fuzz_test.go:85","Info: GoBuiltInFuzzer integration found: template/bsv21/pow20/pow20_fuzz_test.go:111","Info: GoBuiltInFuzzer integration found: template/opns/opns_fuzz_test.go:12","Info: GoBuiltInFuzzer integration found: template/opns/opns_fuzz_test.go:72","Info: GoBuiltInFuzzer integration found: template/opns/opns_fuzz_test.go:125"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":4,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Warn: 'stale review dismissal' is disabled on branch 'master'","Warn: required approving review count is 1 on branch 'master'","Warn: codeowners review is not required on branch 'master'","Warn: 'last push approval' is disabled on branch 'master'","Warn: 'up-to-date branches' is disabled on branch 'master'","Info: status check found to merge onto on branch 'master'","Info: PRs are required in order to make changes on 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/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#branch-protection"}},{"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/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#signed-releases"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#license"}},{"name":"Contributors","score":10,"reason":"project has 3 contributing companies or organizations -- score normalized to 10","details":["Info: found contributions from: BuxOrg, bitcoin, skyetel @bsv-blockchain @buxorg @bitcoinschema @tonicpow @bitcoin-sv"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#contributors"}},{"name":"CI-Tests","score":8,"reason":"20 out of 23 merged PRs checked by a CI test -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#ci-tests"}}]},"last_synced_at":"2026-01-12T23:55:24.923Z","repository_id":250076288,"created_at":"2026-01-12T23:55:24.923Z","updated_at":"2026-01-12T23:55:24.923Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33545459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","bitcoinsv","bsv","go","go-sdk","scripts"],"created_at":"2026-01-20T22:34:16.379Z","updated_at":"2026-05-27T01:04:49.831Z","avatar_url":"https://github.com/bsv-blockchain.png","language":"Go","funding_links":["https://github.com/sponsors/bsv-blockchain"],"categories":[],"sub_categories":[],"readme":"\u003e 📣 **Notice:** Discussion underway about consolidating this repository into the [go-stack monorepo](https://github.com/bsv-blockchain/go-stack). No archive decision has been made yet — please weigh in at [bsv-blockchain/roadmap discussion #70](https://github.com/bsv-blockchain/roadmap/discussions/70) before any change is made.\n\n\u003cdiv align=\"center\"\u003e\n\n# 📜\u0026nbsp;\u0026nbsp;go-script-templates\n\n**Extensible Bitcoin script templates for the [BSV Golang SDK](https://github.com/bsv-blockchain/go-sdk).**\n\n\u003cbr/\u003e\n\n\u003ca href=\"https://github.com/bsv-blockchain/go-script-templates/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release-pre/bsv-blockchain/go-script-templates?include_prereleases\u0026style=flat-square\u0026logo=github\u0026color=black\" alt=\"Release\"\u003e\u003c/a\u003e\n\u003ca href=\"https://golang.org/\"\u003e\u003cimg src=\"https://img.shields.io/github/go-mod/go-version/bsv-blockchain/go-script-templates?style=flat-square\u0026logo=go\u0026color=00ADD8\" alt=\"Go Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/bsv-blockchain/go-script-templates/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-OpenBSV-blue?style=flat-square\u0026logo=springsecurity\u0026logoColor=white\" alt=\"License\"\u003e\u003c/a\u003e\n\n\u003cbr/\u003e\n\n\u003ctable align=\"center\" border=\"0\"\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"right\"\u003e\n       \u003ccode\u003eCI / CD\u003c/code\u003e \u0026nbsp;\u0026nbsp;\n    \u003c/td\u003e\n    \u003ctd align=\"left\"\u003e\n       \u003ca href=\"https://github.com/bsv-blockchain/go-script-templates/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/bsv-blockchain/go-script-templates/fortress.yml?branch=master\u0026label=build\u0026logo=github\u0026style=flat-square\" alt=\"Build\"\u003e\u003c/a\u003e\n       \u003ca href=\"https://github.com/bsv-blockchain/go-script-templates/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/last-commit/bsv-blockchain/go-script-templates?style=flat-square\u0026logo=git\u0026logoColor=white\u0026label=last%20update\" alt=\"Last Commit\"\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"right\"\u003e\n       \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003ccode\u003eQuality\u003c/code\u003e \u0026nbsp;\u0026nbsp;\n    \u003c/td\u003e\n    \u003ctd align=\"left\"\u003e\n       \u003ca href=\"https://goreportcard.com/report/github.com/bsv-blockchain/go-script-templates\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/bsv-blockchain/go-script-templates?style=flat-square\" alt=\"Go Report\"\u003e\u003c/a\u003e\n       \u003ca href=\"https://codecov.io/gh/bsv-blockchain/go-script-templates\"\u003e\u003cimg src=\"https://codecov.io/gh/bsv-blockchain/go-script-templates/branch/master/graph/badge.svg?style=flat-square\" alt=\"Coverage\"\u003e\u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd align=\"right\"\u003e\n       \u003ccode\u003eSecurity\u003c/code\u003e \u0026nbsp;\u0026nbsp;\n    \u003c/td\u003e\n    \u003ctd align=\"left\"\u003e\n       \u003ca href=\"https://scorecard.dev/viewer/?uri=github.com/bsv-blockchain/go-script-templates\"\u003e\u003cimg src=\"https://api.scorecard.dev/projects/github.com/bsv-blockchain/go-script-templates/badge?style=flat-square\" alt=\"Scorecard\"\u003e\u003c/a\u003e\n       \u003ca href=\".github/SECURITY.md\"\u003e\u003cimg src=\"https://img.shields.io/badge/policy-active-success?style=flat-square\u0026logo=security\u0026logoColor=white\" alt=\"Security\"\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"right\"\u003e\n       \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; \u003ccode\u003eCommunity\u003c/code\u003e \u0026nbsp;\u0026nbsp;\n    \u003c/td\u003e\n    \u003ctd align=\"left\"\u003e\n       \u003ca href=\"https://github.com/bsv-blockchain/go-script-templates/graphs/contributors\"\u003e\u003cimg src=\"https://img.shields.io/github/contributors/bsv-blockchain/go-script-templates?style=flat-square\u0026color=orange\" alt=\"Contributors\"\u003e\u003c/a\u003e\n       \u003ca href=\"https://deepwiki.com/bsv-blockchain/go-script-templates\"\u003e\u003cimg src=\"https://deepwiki.com/badge.svg\" alt=\"Ask DeepWiki\"\u003e\u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n### \u003ccode\u003eProject Navigation\u003c/code\u003e\n\n\u003c/div\u003e\n\n\u003ctable align=\"center\"\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\" width=\"33%\"\u003e\n       📦\u0026nbsp;\u003ca href=\"#-installation\"\u003e\u003ccode\u003eInstallation\u003c/code\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\" width=\"33%\"\u003e\n       🧪\u0026nbsp;\u003ca href=\"#-examples--tests\"\u003e\u003ccode\u003eExamples\u0026nbsp;\u0026\u0026nbsp;Tests\u003c/code\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\" width=\"33%\"\u003e\n       📚\u0026nbsp;\u003ca href=\"#-documentation\"\u003e\u003ccode\u003eDocumentation\u003c/code\u003e\u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n       ⚡\u0026nbsp;\u003ca href=\"#-benchmarks\"\u003e\u003ccode\u003eBenchmarks\u003c/code\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n       🛠️\u0026nbsp;\u003ca href=\"#-code-standards\"\u003e\u003ccode\u003eCode\u0026nbsp;Standards\u003c/code\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n       🤖\u0026nbsp;\u003ca href=\"#-ai-usage--assistant-guidelines\"\u003e\u003ccode\u003eAI\u0026nbsp;Usage\u003c/code\u003e\u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n       🤝\u0026nbsp;\u003ca href=\"#-contributing\"\u003e\u003ccode\u003eContributing\u003c/code\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n       👥\u0026nbsp;\u003ca href=\"#-maintainers\"\u003e\u003ccode\u003eMaintainers\u003c/code\u003e\u003c/a\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n       ⚖️\u0026nbsp;\u003ca href=\"#-license\"\u003e\u003ccode\u003eLicense\u003c/code\u003e\u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003cbr/\u003e\n\n## 📋 Overview\n\nThe goal of this repository is to provide a place where developers from around the ecosystem can publish all manner of script templates, without needing to update the core library. We're generally neutral and unbiased about what people contribute, so feel free to contribute and see what people do with your cool idea!\n\n\u003cbr\u003e\n\n### Available Templates\n\n| Template                            | Description                                                 |\n|-------------------------------------|-------------------------------------------------------------|\n| [BitCom](template/bitcom)           | BitCom protocol utilities (B, MAP, AIP) for structured data |\n| [BSocial](template/bsocial)         | Social media actions using BitcoinSchema.org standards      |\n| [BSV20](template/bsv20)             | BSV20 token standard implementation                         |\n| [BSV21](template/bsv21)             | BSV21 token standard implementation including LTM and POW20 |\n| [Cosign](template/cosign)           | Co-signing transactions with multiple parties               |\n| [Inscription](template/inscription) | On-chain NFT-like inscriptions                              |\n| [Lockup](template/lockup)           | Time-locked transactions                                    |\n| [OrdLock](template/ordlock)         | Locking and unlocking functionality for ordinals            |\n| [OrdP2PKH](template/ordp2pkh)       | Ordinal-aware P2PKH transactions                            |\n| [P2PKH](template/p2pkh)             | Standard Pay-to-Public-Key-Hash transactions                |\n| [Shrug](template/shrug)             | Experimental template for demo purposes                     |\n\nEach template folder contains its own README with detailed usage examples.\n\n\u003cbr/\u003e\n\n## 📦 Installation\n\n**go-script-templates** requires a [supported release of Go](https://golang.org/doc/devel/release.html#policy).\n```shell script\ngo get -u github.com/bsv-blockchain/go-script-templates\n```\n\n\u003cbr/\u003e\n\n## 📚 Documentation\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e\u003ccode\u003eDevelopment Build Commands\u003c/code\u003e\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr/\u003e\n\nGet the [MAGE-X](https://github.com/mrz1836/mage-x) build tool for development:\n```shell script\ngo install github.com/mrz1836/mage-x/cmd/magex@latest\n```\n\nView all build commands\n\n```bash script\nmagex help\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eRepository Features\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr/\u003e\n\nThis repository includes 25+ built-in features covering CI/CD, security, code quality, developer experience, and community tooling.\n\n**[View the full Repository Features list →](.github/docs/repository-features.md)**\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e\u003ccode\u003eLibrary Deployment\u003c/code\u003e\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr/\u003e\n\nThis project uses [goreleaser](https://github.com/goreleaser/goreleaser) for streamlined binary and library deployment to GitHub. To get started, install it via:\n\n```bash\nbrew install goreleaser\n```\n\nThe release process is defined in the [.goreleaser.yml](.goreleaser.yml) configuration file.\n\n\nThen create and push a new Git tag using:\n\n```bash\nmagex version:bump push=true bump=patch branch=master\n```\n\nThis process ensures consistent, repeatable releases with properly versioned artifacts and citation metadata.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e\u003ccode\u003ePre-commit Hooks\u003c/code\u003e\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr/\u003e\n\nSet up the Go-Pre-commit System to run the same formatting, linting, and tests defined in [AGENTS.md](.github/AGENTS.md) before every commit:\n\n```bash\ngo install github.com/mrz1836/go-pre-commit/cmd/go-pre-commit@latest\ngo-pre-commit install\n```\n\nThe system is configured via modular env files in [`.github/env/`](.github/env/README.md) and provides 17x faster execution than traditional Python-based pre-commit hooks. See the [complete documentation](http://github.com/mrz1836/go-pre-commit) for details.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eGitHub Workflows\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr/\u003e\n\nAll workflows are driven by modular configuration in [`.github/env/`](.github/env/README.md) — no YAML editing required.\n\n**[View all workflows and the control center →](.github/docs/workflows.md)**\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e\u003ccode\u003eUpdating Dependencies\u003c/code\u003e\u003c/strong\u003e\u003c/summary\u003e\n\u003cbr/\u003e\n\nTo update all dependencies (Go modules, linters, and related tools), run:\n\n```bash\nmagex deps:update\n```\n\nThis command ensures all dependencies are brought up to date in a single step, including Go modules and any tools managed by [MAGE-X](https://github.com/mrz1836/mage-x). It is the recommended way to keep your development environment and CI in sync with the latest versions.\n\n\u003c/details\u003e\n\n\u003cbr/\u003e\n\n## 🧪 Examples \u0026 Tests\n\nAll unit tests and examples run via [GitHub Actions](https://github.com/bsv-blockchain/go-script-templates/actions) and use [Go version 1.25.x](https://go.dev/doc/go1.25). View the [configuration file](.github/workflows/fortress.yml).\n\nRun all tests (fast):\n\n```bash script\nmagex test\n```\n\nRun all tests with race detector (slower):\n```bash script\nmagex test:race\n```\n\n\u003cbr/\u003e\n\n## ⚡ Benchmarks\n\nRun the Go benchmarks:\n\n```bash script\nmagex bench\n```\n\n\u003cbr/\u003e\n\n## 🛠️ Code Standards\nRead more about this Go project's [code standards](.github/CODE_STANDARDS.md).\n\n\u003cbr/\u003e\n\n## 🤖 AI Usage \u0026 Assistant Guidelines\nRead the [AI Usage \u0026 Assistant Guidelines](.github/tech-conventions/ai-compliance.md) for details on how AI is used in this project and how to interact with AI assistants.\n\n\u003cbr/\u003e\n\n## 👥 Maintainers\n| [\u003cimg src=\"https://github.com/icellan.png\" height=\"50\" alt=\"Siggi\" /\u003e](https://github.com/icellan) | [\u003cimg src=\"https://github.com/galt-tr.png\" height=\"50\" alt=\"Galt\" /\u003e](https://github.com/galt-tr) | [\u003cimg src=\"https://github.com/mrz1836.png\" height=\"50\" alt=\"MrZ\" /\u003e](https://github.com/mrz1836) |\n|:--------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------:|\n|                                [Siggi](https://github.com/icellan)                                 |                                [Dylan](https://github.com/galt-tr)                                 |                                [MrZ](https://github.com/mrz1836)                                 |\n\n\u003cbr/\u003e\n\n## 🤝 Contributing\nView the [contributing guidelines](.github/CONTRIBUTING.md) and please follow the [code of conduct](.github/CODE_OF_CONDUCT.md).\n\n### How can I help?\nAll kinds of contributions are welcome :raised_hands:!\nThe most basic way to show your support is to star :star2: the project, or to raise issues :speech_balloon:.\n\n[![Stars](https://img.shields.io/github/stars/bsv-blockchain/go-script-templates?label=Please%20like%20us\u0026style=social\u0026v=1)](https://github.com/bsv-blockchain/go-script-templates/stargazers)\n\n\u003cbr/\u003e\n\n## 📝 License\n\n[![License](https://img.shields.io/badge/license-OpenBSV-blue?style=flat\u0026logo=springsecurity\u0026logoColor=white)](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsv-blockchain%2Fgo-script-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsv-blockchain%2Fgo-script-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsv-blockchain%2Fgo-script-templates/lists"}