https://github.com/unlock-protocol/unlock-prime-hook
A hook for Unlock Prime
https://github.com/unlock-protocol/unlock-prime-hook
Last synced: 12 months ago
JSON representation
A hook for Unlock Prime
- Host: GitHub
- URL: https://github.com/unlock-protocol/unlock-prime-hook
- Owner: unlock-protocol
- Created: 2024-10-02T15:20:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-29T20:10:16.000Z (12 months ago)
- Last Synced: 2025-06-29T21:21:08.867Z (12 months ago)
- Language: Solidity
- Size: 1.26 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unlock Prime Hook
A custom hook contract for Unlock Prime.
The hook keeps tracks of the ETH to refund on purchase and renewals.
## How to generate the SVG
For debugging purposes, this will generate the svg as a `test.svg` file that can be seen in the browser
```
yarn svg
```
There is also a task that will "atch" rebuild the svg whenever it is edited
```
yarn watch:svg
```
## Deployment
_TokenURI hook_
```
yarn hardhat ignition deploy ignition/modules/UnlockPrimeTokenURI.ts
```