Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .github/workflows/deploy.yml

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Every listing shows the `getHookPermissions` block and the callbacks that matter

| | |
|---|---|
| **Patterns** | Copyable implementations — TWAMM, limit orders, take-profit, oracles, dynamic fees, JIT penalty, rehypothecation, v2-on-v4, first-party rewrites, … |
| **Patterns** | Reference implementations — TWAMM, limit orders, take-profit, oracles, dynamic fees, JIT penalty, rehypothecation, v2-on-v4, first-party rewrites, … |
| **First-party** | [`contracts/`](contracts/) — hooks we maintain here (Foundry + tests). Legacy ideas rewritten for current v4. |
| **Products** | How live protocols wire their hooks — study the callbacks, don’t paste the factory |
| **Agent dumps** | [`llms.txt`](https://v4hooks.com/llms.txt) · [`llm-full.txt`](https://v4hooks.com/llm-full.txt) · [`hooks.json`](https://v4hooks.com/hooks.json) |
Expand Down Expand Up @@ -56,6 +56,7 @@ Filename must match `slug`. Schema: [`schema/hook.schema.json`](schema/hook.sche
## Develop

```bash
nvm use # Node 22 (>=22.12.0)
npm install
npm run validate
npm run dev # local site
Expand All @@ -64,7 +65,7 @@ forge build && forge test # first-party contracts/
npm run deploy # build + wrangler (manual)
```

Push to `main` deploys via **Cloudflare Workers Builds**. GitHub Actions runs catalog validate **and** `forge test`.
Push to `main` deploys via **Cloudflare Workers Builds**. GitHub Actions runs catalog validation **and** `forge test`.

For the ads rail, set Worker secrets `HELIO_PAYLINK_ID` and `HELIO_WEBHOOK_SECRET`. Local: copy `.dev.vars.example` → `.dev.vars`.

Expand Down
4 changes: 4 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"version": "0.1.0",
"private": true,
"type": "module",
"packageManager": "npm@10.9.2",
"engines": {
"node": ">=22.12.0",
"npm": ">=10.8.2"
},
"description": "Open directory of Uniswap v4 hooks you can actually use.",
"scripts": {
"dev": "astro dev",
Expand Down
Loading