{"id":44775600,"url":"https://github.com/fernandolguevara/bech32.c3l","last_synced_at":"2026-02-16T06:36:36.005Z","repository":{"id":336614063,"uuid":"865711697","full_name":"fernandolguevara/bech32.c3l","owner":"fernandolguevara","description":"Bech32 encoding / decoding","archived":false,"fork":false,"pushed_at":"2026-02-05T08:35:34.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-05T20:08:19.621Z","etag":null,"topics":["bech32","bitcoin","btc","c3"],"latest_commit_sha":null,"homepage":"","language":"C3","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/fernandolguevara.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-01T02:02:35.000Z","updated_at":"2026-02-05T08:35:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fernandolguevara/bech32.c3l","commit_stats":null,"previous_names":["fernandolguevara/bech32.c3l"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/fernandolguevara/bech32.c3l","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandolguevara%2Fbech32.c3l","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandolguevara%2Fbech32.c3l/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandolguevara%2Fbech32.c3l/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandolguevara%2Fbech32.c3l/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fernandolguevara","download_url":"https://codeload.github.com/fernandolguevara/bech32.c3l/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandolguevara%2Fbech32.c3l/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29501919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T05:57:17.024Z","status":"ssl_error","status_checked_at":"2026-02-16T05:56:49.929Z","response_time":115,"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":["bech32","bitcoin","btc","c3"],"created_at":"2026-02-16T06:36:35.879Z","updated_at":"2026-02-16T06:36:35.997Z","avatar_url":"https://github.com/fernandolguevara.png","language":"C3","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bech32 for c3\n\nLibrary ported from bitcoinjs/bech32\n\n## Example\n\n```c++\nimport bech32;\n\nfn void! main(String[] args) {\n{\n    Decoded* decoded = bech32::bech32_decode(\"abcdef1qpzry9x8gf2tvdw0s3jn54khce6mua7lmqqqxw\")!;\n    \n    assert(decoded.prefix == \"abcdef\");\n    assert(decoded.words == {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31});\n    char[] data = bech32::from_words(decoded.words)!;        \n    String hex = data.bytes_to_hex();\n    assert( hex == \"00443214c74254b635cf84653a56d7c675be77df\");\n\n    char[] words = bech32::to_words(\"foobar\")!!;\n    String b32 = bech32::bech32_encode(\"foo\", words)!!;\n    io::printfn(\"bech32_encode %s\", b32);\n    assert(b32 == \"foo1vehk7cnpwgry9h96\");\n    String b32m = bech32::bech32m_encode(\"foo\", words)!!;\n    assert(b32m == \"foo1vehk7cnpwgkc4mqc\");\n    io::printfn(\"bech32m_encode %s\", b32m);\n};\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandolguevara%2Fbech32.c3l","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffernandolguevara%2Fbech32.c3l","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandolguevara%2Fbech32.c3l/lists"}