{"id":17278280,"url":"https://github.com/kulpreet/txref","last_synced_at":"2026-05-01T01:31:46.233Z","repository":{"id":146435187,"uuid":"139412977","full_name":"kulpreet/txref","owner":"kulpreet","description":"Go implementation for TxRef BIP 136","archived":false,"fork":false,"pushed_at":"2018-07-19T10:58:51.000Z","size":24,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T14:26:56.640Z","etag":null,"topics":["bip136","bitcoin","golang","txref"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kulpreet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-02T08:21:57.000Z","updated_at":"2018-07-02T08:36:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"953e9f93-387a-412e-9cae-8a72d0aa8d38","html_url":"https://github.com/kulpreet/txref","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kulpreet/txref","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulpreet%2Ftxref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulpreet%2Ftxref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulpreet%2Ftxref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulpreet%2Ftxref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kulpreet","download_url":"https://codeload.github.com/kulpreet/txref/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kulpreet%2Ftxref/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32482460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: 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":["bip136","bitcoin","golang","txref"],"created_at":"2024-10-15T09:11:16.865Z","updated_at":"2026-05-01T01:31:46.208Z","avatar_url":"https://github.com/kulpreet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Confirmed Transaction Reference Codes\n\n[![Build Status](https://travis-ci.org/kulpreet/txref.svg?branch=master)](https://travis-ci.org/kulpreet/txref)\n\nPorting Jonas Schnelli's reference C implementation to Go\n\n## Usage\n\n```golang\nimport (\n    \"fmt\"\n    \n\t\"github.com/kulpreet/txref\"\n)\n\n/* ENCODE */\nvar encoded_txref = string\nconst hrp string = \"tx\" //mainnet\n\n// now encode for height 100 and pos 100\nencoded_txref, err := txref.Encode(hrp, txref.Txref_magic_btc_mainnet, 100, 100, false)\nfmt.Printf(\"Encoded txref is %s\\n\", encoded_txref)\n\n/* DECODE */\ndecoded, magic, height, position, err := txref.Decode(encoded_txref)\n```\n\n## Install\n\n`go get -u github.com/kulpreet/txref`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkulpreet%2Ftxref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkulpreet%2Ftxref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkulpreet%2Ftxref/lists"}