{"id":20049003,"url":"https://github.com/unlock-protocol/unlock-prime-hook","last_synced_at":"2025-07-03T08:34:05.358Z","repository":{"id":257952738,"uuid":"866617085","full_name":"unlock-protocol/unlock-prime-hook","owner":"unlock-protocol","description":"A hook for Unlock Prime","archived":false,"fork":false,"pushed_at":"2025-06-29T20:10:16.000Z","size":1320,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T21:21:08.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","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/unlock-protocol.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}},"created_at":"2024-10-02T15:20:06.000Z","updated_at":"2025-06-23T11:53:05.000Z","dependencies_parsed_at":"2024-11-13T11:48:03.887Z","dependency_job_id":"efc0800e-480f-477f-857e-b4c191de80b4","html_url":"https://github.com/unlock-protocol/unlock-prime-hook","commit_stats":null,"previous_names":["unlock-protocol/unlock-prime-hook"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unlock-protocol/unlock-prime-hook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Funlock-prime-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Funlock-prime-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Funlock-prime-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Funlock-prime-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlock-protocol","download_url":"https://codeload.github.com/unlock-protocol/unlock-prime-hook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlock-protocol%2Funlock-prime-hook/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263290888,"owners_count":23443675,"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-11-13T11:47:55.131Z","updated_at":"2025-07-03T08:34:05.324Z","avatar_url":"https://github.com/unlock-protocol.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unlock Prime Hook\n\nA custom hook contract for Unlock Prime.\nThe hook keeps tracks of the ETH to refund on purchase and renewals.\n\n## How to generate the SVG\n\nFor debugging purposes, this will generate the svg as a `test.svg` file that can be seen in the browser\n\n```\nyarn svg\n```\n\nThere is also a task that will \"atch\" rebuild the svg whenever it is edited\n\n```\nyarn watch:svg\n```\n\n## Deployment\n\n_TokenURI hook_\n\n```\nyarn hardhat ignition deploy ignition/modules/UnlockPrimeTokenURI.ts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlock-protocol%2Funlock-prime-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlock-protocol%2Funlock-prime-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlock-protocol%2Funlock-prime-hook/lists"}