{"id":17595341,"url":"https://github.com/anasfik/dart_bolt12_decoder","last_synced_at":"2026-01-08T03:16:47.480Z","repository":{"id":251217566,"uuid":"836759168","full_name":"anasfik/dart_bolt12_decoder","owner":"anasfik","description":"Decoder utility for BOLT 12 offers, request and invoices in Dart.","archived":false,"fork":false,"pushed_at":"2024-08-01T13:59:14.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T15:55:21.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/anasfik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2024-08-01T13:53:57.000Z","updated_at":"2024-09-08T13:40:59.000Z","dependencies_parsed_at":"2024-08-01T15:30:18.949Z","dependency_job_id":"8032091d-4471-46ae-9a6b-dea81c60ee23","html_url":"https://github.com/anasfik/dart_bolt12_decoder","commit_stats":null,"previous_names":["anasfik/dart_bolt12_decoder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasfik%2Fdart_bolt12_decoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasfik%2Fdart_bolt12_decoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasfik%2Fdart_bolt12_decoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasfik%2Fdart_bolt12_decoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anasfik","download_url":"https://codeload.github.com/anasfik/dart_bolt12_decoder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246117690,"owners_count":20726068,"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","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":[],"created_at":"2024-10-22T07:54:32.546Z","updated_at":"2026-01-08T03:16:47.427Z","avatar_url":"https://github.com/anasfik.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bolt 12 decoder.\n\nThis is a simple decoder for [BOLT 12](https://bolt12.org/) offers, request and invoices in Dart.\n\nThis implementation was inspired by the [BOLT 12 decoder](https://github.com/lnbc1QWFyb24/bolt12-decoder) project in Javascript.\n\n## Usage\n\n```dart\nfinal bolt12Offer =\n      \"lno1pqqq5xj5wajkcan9gdshx6pq23jhxarfdenjqstyv3ex2umnzcss80xkrjkyrjk43u5dgu8f6a450fg2cnjtg7lhg76c3gtk5gdhshns\";\n\n  final res = Bolt12Decoder.decode(bolt12Offer);\n\n  print(res);\n\n  // Output:\n  //   {\n  //   \"type\": \"offer\",\n  //   \"offer_amount\": \"0\",\n  //   \"offer_description\": \"TwelveCash Testing Address\",\n  //   \"offer_node_id\": \"03bcd61cac41cad58f28d470e9d76b47a50ac4e4b47bf747b588a176a21b785e70\",\n  //   \"valid\": true,\n  //   \"offer_id\": \"604469d06e2f53909b54ed195eeda2aabbf2227d340840d6bfed6946e6d37161\"\n  // }\n\n```\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker](https://github.com/anasfik/dart_bolt12_decoder/issues).\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanasfik%2Fdart_bolt12_decoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanasfik%2Fdart_bolt12_decoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanasfik%2Fdart_bolt12_decoder/lists"}