{"id":26139088,"url":"https://github.com/SamDelaney/CIP_102_Reference","last_synced_at":"2025-03-11T02:02:13.977Z","repository":{"id":246603175,"uuid":"821177774","full_name":"SamDelaney/CIP_102_Reference","owner":"SamDelaney","description":"Reference Implementation for CIP-0102","archived":false,"fork":false,"pushed_at":"2024-08-09T00:07:03.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-09T02:22:27.641Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamDelaney.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06-28T01:32:24.000Z","updated_at":"2024-08-09T00:07:06.000Z","dependencies_parsed_at":"2024-07-17T02:35:02.367Z","dependency_job_id":"c7516028-d74e-41b1-89a7-2db40f73dece","html_url":"https://github.com/SamDelaney/CIP_102_Reference","commit_stats":null,"previous_names":["samdelaney/cip_102_reference"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamDelaney%2FCIP_102_Reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamDelaney%2FCIP_102_Reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamDelaney%2FCIP_102_Reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamDelaney%2FCIP_102_Reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamDelaney","download_url":"https://codeload.github.com/SamDelaney/CIP_102_Reference/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242956530,"owners_count":20212455,"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":"2025-03-11T02:01:23.535Z","updated_at":"2025-03-11T02:02:13.964Z","avatar_url":"https://github.com/SamDelaney.png","language":"TypeScript","readme":"# The Official CIP 102 Reference Implementation\n\nA reference implementation for [CIP-0102](https://cips.cardano.org/cip/CIP-0102) royalties, written in Lucid (offchain) and Aiken (onchain).\n\nIn this reference implementation you'll find examples of:\n\n- Minting a CIP 102 compliant NFT with royalties\n- Validators for storing royalty metadata\n  - Always Fails (royalty cannot be modified)\n  - Reducible (royalty cannot be increased, but can be decreased)\n- Reading a CIP 102 NFT’s royalties off chain\n- Reading and validating against CIP 102 NFT royalties on chain\n\n## Use \u0026 Structure\n\nThis repository is divided into two parts: offchain (transaction building) \u0026 onchain (transaction validation).\n\nThe `offchain-reference` subdirectory is written in Typescript, making heavy use of the [Lucid](https://github.com/spacebudz/lucid) offchain transaction building library.\n\nThe `onchain-reference` subdirectory is written in [Aiken](https://aiken-lang.org/), a Cardano-specific onchain transaction validation language.\n\nBoth sub-directories have instructions for use in their own README files at their own roots.\n\n## Disclaimers\n\nThis code has not been audited and is NOT INTENDED FOR PRODUCTION, but to provide code examples of expected behavior.\n\nSeveral solutions are done in slightly suboptimal ways for clarity's or labor efficiency's sake. Feedback \u0026 contributions (in the form of Issues or Pull Requests) are very welcome :)","funding_links":[],"categories":["Tutorials/Examples"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSamDelaney%2FCIP_102_Reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSamDelaney%2FCIP_102_Reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSamDelaney%2FCIP_102_Reference/lists"}