{"id":22409139,"url":"https://github.com/astroxnetwork/ord_dart","last_synced_at":"2025-07-31T20:31:09.603Z","repository":{"id":246817641,"uuid":"806075299","full_name":"AstroxNetwork/ord_dart","owner":"AstroxNetwork","description":"The library related to the ordinals protocol currently supports the runes protocol.","archived":false,"fork":false,"pushed_at":"2024-11-27T04:27:07.000Z","size":451,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-11-27T05:21:53.645Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/ord_dart","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/AstroxNetwork.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-05-26T10:00:04.000Z","updated_at":"2024-11-27T04:26:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6bb7bcf-34ff-42cf-a0b2-5f12522c716e","html_url":"https://github.com/AstroxNetwork/ord_dart","commit_stats":null,"previous_names":["astroxnetwork/ord_dart"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroxNetwork%2Ford_dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroxNetwork%2Ford_dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroxNetwork%2Ford_dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroxNetwork%2Ford_dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AstroxNetwork","download_url":"https://codeload.github.com/AstroxNetwork/ord_dart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228295616,"owners_count":17897596,"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-12-05T12:06:41.131Z","updated_at":"2024-12-05T12:06:41.599Z","avatar_url":"https://github.com/AstroxNetwork.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ord_dart](https://socialify.git.ci/AstroxNetwork/ord_dart/image?description=1\u0026forks=1\u0026issues=1\u0026logo=https%3A%2F%2Fordinals.com%2Fstatic%2Ffavicon.svg\u0026name=1\u0026pattern=Circuit%20Board\u0026pulls=1\u0026stargazers=1\u0026theme=Auto)\n\n# ord_dart\n[![pub,dev](https://img.shields.io/pub/v/ord_dart?color=%230175C2\u0026label=ord_dart\u0026logo=dart)](https://pub.dev/packages/ord_dart)\n![MIT](https://img.shields.io/github/license/AstroxNetwork/ord_dart)\n\nThe library related to the ordinals protocol currently supports the runes protocol.\n\n## Getting Started\n\n\u003e Since ord_dart relies on [cargokit](https://github.com/irondash/cargokit), you'll need to install the Rust environment through rustup before using ord_dart.\n\nTo use this library, add `ord_dart` as a dependency in your pubspec.yaml file.\n\n```yaml\ndependencies:\n  ord_dart: $latest_version\n```\n\n## Usage\n\n### Etching\n\n```dart\n\nfinal etching = Etching(\n  divisibility: 2,\n  premine: BigInt.from(11000000000),\n  rune: Rune.fromStr(s: \"ZZZZZFEHUZZZZZ\"),\n  spacers: 7967,\n  symbol: \"ᚠ\",\n  terms: Terms(\n    amount: BigInt.from(100),\n    cap: BigInt.from(1111111),\n    height: null,\n    offset: null,\n  ),\n  turbo: true,\n);\nfinal runestone = Runestone(etching: etching);\nfinal encipher = runestone.encipher();\n\nprint(encipher);\n```\n\n### Mint\n\n```dart\n\nfinal runestone = Runestone(mint: RuneId.fromStr(s: \"840000:1\"));\nfinal encipher = runestone.encipher();\n\nprint(encipher);\n```\n\n### Transfer\n\n```dart\n\nfinal runestone = Runestone(edicts: [\n  Edict(\n      id: RuneId.fromStr(s: \"840000:1\"),\n      amount: BigInt.from(100),\n      output: 1)\n]);\nfinal encipher = runestone.encipher();\n\nprint(encipher);\n```\n\n[View more examples](./example/integration_test/simple_test.dart)\n\n## License (MIT)\n\nView the [LICENSE](./LICENSE) file for more information.\n\n```text\nMIT License\n\nCopyright (c) 2024 AstroxNetwork\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastroxnetwork%2Ford_dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastroxnetwork%2Ford_dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastroxnetwork%2Ford_dart/lists"}