{"id":20170670,"url":"https://github.com/bitcoinschema/go-boost","last_synced_at":"2025-08-22T02:08:13.877Z","repository":{"id":120111523,"uuid":"605139163","full_name":"BitcoinSchema/go-boost","owner":"BitcoinSchema","description":"A transaction parser for boost (Bitcoin protocol)","archived":false,"fork":false,"pushed_at":"2025-07-18T10:17:55.000Z","size":196,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-18T14:19:42.026Z","etag":null,"topics":["bitcoin","bitcoinsv","bob","boost","bsv","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BitcoinSchema.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":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"BitcoinSchema","custom":"https://gobitcoinsv.com/#sponsor?utm_source=github\u0026utm_medium=sponsor-link\u0026utm_campaign=go-boost\u0026utm_term=go-boost\u0026utm_content=go-boost"}},"created_at":"2023-02-22T14:28:55.000Z","updated_at":"2025-07-18T10:17:52.000Z","dependencies_parsed_at":"2023-12-11T23:11:48.574Z","dependency_job_id":"4ee26210-4bd5-4e02-b9b3-1860863c10b0","html_url":"https://github.com/BitcoinSchema/go-boost","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/BitcoinSchema/go-boost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitcoinSchema%2Fgo-boost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitcoinSchema%2Fgo-boost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitcoinSchema%2Fgo-boost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitcoinSchema%2Fgo-boost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BitcoinSchema","download_url":"https://codeload.github.com/BitcoinSchema/go-boost/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitcoinSchema%2Fgo-boost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271574431,"owners_count":24783319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","bob","boost","bsv","golang"],"created_at":"2024-11-14T01:20:14.054Z","updated_at":"2025-08-22T02:08:13.827Z","avatar_url":"https://github.com/BitcoinSchema.png","language":"Go","funding_links":["https://github.com/sponsors/BitcoinSchema","https://gobitcoinsv.com/#sponsor?utm_source=github\u0026utm_medium=sponsor-link\u0026utm_campaign=go-boost\u0026utm_term=go-boost\u0026utm_content=go-boost"],"categories":[],"sub_categories":[],"readme":"# go-boost\n\u003e A transaction parser for boost (Bitcoin protocol)\n\n[![Release](https://img.shields.io/github/release-pre/BitcoinSchema/go-boost.svg?logo=github\u0026style=flat\u0026v=3)](https://github.com/BitcoinSchema/go-boost/releases)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/BitcoinSchema/go-boost/run-tests.yml?branch=master\u0026logo=github\u0026v=3)](https://github.com/BitcoinSchema/go-boost/actions)\n[![Go](https://img.shields.io/github/go-mod/go-version/BitcoinSchema/go-boost?v=3)](https://golang.org/)\n\u003cbr\u003e\n[![Mergify Status](https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/BitcoinSchema/go-boost\u0026style=flat\u0026v=3)](https://mergify.io)\n[![Sponsor](https://img.shields.io/badge/sponsor-BitcoinSchema-181717.svg?logo=github\u0026style=flat\u0026v=3)](https://github.com/sponsors/BitcoinSchema)\n[![Donate](https://img.shields.io/badge/donate-bitcoin-ff9900.svg?logo=bitcoin\u0026style=flat\u0026v=3)](https://gobitcoinsv.com/#sponsor?utm_source=github\u0026utm_medium=sponsor-link\u0026utm_campaign=go-boost\u0026utm_term=go-boost\u0026utm_content=go-boost)\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Installation\n\n**go-boost** requires a [supported release of Go](https://golang.org/doc/devel/release.html#policy).\n```shell script\ngo get -u github.com/bitcoinschema/go-boost\n```\n\u003cbr\u003e\n\n## Documentation\nView the generated [documentation](https://pkg.go.dev/github.com/bitcoinschema/go-boost)\n\n[![GoDoc](https://godoc.org/github.com/bitcoinschema/go-boost?status.svg\u0026style=flat)](https://pkg.go.dev/github.com/bitcoinschema/go-boost)\n\n\u003cbr\u003e\n\n## Boost Object\nIt takes a BOB formatted transaction and produces an easy-to-use BOOST struct with all protocol fields populated.\n\n```go\ntype Boost struct {\n\tRedeem Redeem `json:\"redeem\" bson:\"redeem\"`\n\tSpend  Spend  `json:\"spend\" bson:\"spend\"`\n}\n```\n\u003cbr\u003e\n\n## Coverage\n- [x] V1 Bounty Spend\n- [x] V1 Bounty Redeem\n- [x] V2 Contract Spend\n- [x] V2 Contract Redeem\n\n\u003cbr\u003e\n\n## Usage\nGet the package\n\n```bash\ngo get github.com/bitcoinschema/go-boost\n```\n\nImport the package\n```\nimport (\n  github.com/bitcoinschema/go-boost\n)\n```\n\nUse to transform [BOB](https://github.com/bitcoinschema/go-bob) formatted transactions.\n\n```\nvar b *boost.Boost\nb, err = boostNewFromTape(\u0026bobData.In[0].Tape[0])\n```\n\nV1 Contract Spend Example\n```go\n\t// Get BOB data from string\n\tbobData, err := bob.NewFromRawTxString(boostTx)\n\tif err != nil {\n\t\tt.Fatalf(\"error occurred: %s\", err.Error())\n\t}\n\n\tvar b *Boost\n\tb, err = boost.NewFromTape(\u0026bobData.Out[0].Tape[0])thing\": \"else\"\n}\n```\n\nboost.BoostSpend Result:\n```json\n{\n  \"Content\": \"7332808b5283f8acedcc6240a42f669cc3d305413201527852061fd5b283d0d8\",\n  \"MinerAddress\": \"16nhPWCkbkR1bNACwPYULBWyvxQ5MCDZBo\",\n  \"Category\": 1111,\n  \"Difficulty\": 0.01,\n  \"Topic\": \"theory\",\n  \"AdditionalData\": \"this is the Boost whitepaper\",\n  \"Nonce\": 137,\n  \"Version\": 1\n}\n```\n\n_More examples can be found in tests._\n\n\u003cbr\u003e\n\n\u003cbr/\u003e\n\n## Contributing\n\nView the [contributing guidelines](.github/CONTRIBUTING.md) and 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:.\nYou can also support this project by [becoming a sponsor on GitHub](https://github.com/sponsors/BitcoinSchema) :clap:\nor by making a [**bitcoin donation**](https://gobitcoinsv.com/#sponsor?utm_source=github\u0026utm_medium=sponsor-link\u0026utm_campaign=go-boost\u0026utm_term=go-boost\u0026utm_content=go-boost) to ensure this journey continues indefinitely! :rocket:\n\n[![Stars](https://img.shields.io/github/stars/BitcoinSchema/go-boost?label=Please%20like%20us\u0026style=social)](https://github.com/BitcoinSchema/go-boost/stargazers)\n\n\u003cbr/\u003e\n\n## License\n\n[![License](https://img.shields.io/github/license/BitcoinSchema/go-boost.svg?style=flat\u0026v=3)](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoinschema%2Fgo-boost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitcoinschema%2Fgo-boost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoinschema%2Fgo-boost/lists"}