You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add monad indexer targets and unify deploy naming
Align network naming and hosted env vars across the monorepo so Celo and Monad deployments use a consistent model. Simplify indexer deployment to a single network-aware command without bypassing git hooks.
Made-with: Cursor
-**Data:** GraphQL queries to Hasura (via graphql-request + SWR)
58
64
-**Styling:** Tailwind CSS 4
59
-
-**Multi-chain:** Network selector switches between devnet/sepolia/mainnet Hasura endpoints; all networks defined in `src/lib/networks.ts`
65
+
-**Multi-chain:** Network selector switches between celo-mainnet, celo-sepolia, monad-mainnet, monad-testnet Hasura endpoints; all networks defined in `src/lib/networks.ts`
60
66
-**Contract labels:**`src/lib/networks.ts` derives token symbols and address labels from `@mento-protocol/contracts` (no vendored JSON); the active namespace per chain comes from `shared-config`
61
67
-**Address book:**`/address-book` page + inline editing; custom labels stored in Upstash Redis, backed up daily to Vercel Blob; custom labels override/extend the package-derived ones
62
68
-**Deployment:** Vercel (`monitoring-dashboard` project); infra managed by Terraform in `terraform/`
|`BLOB_READ_WRITE_TOKEN`| Vercel Blob token for daily label backups |
103
105
104
106
Production env vars are managed by Terraform — do not edit them in the Vercel dashboard. See [`terraform/`](./terraform/) and [`docs/deployment.md`](./docs/deployment.md).
105
107
@@ -127,20 +129,24 @@ Contract addresses and ABIs are sourced from the published [`@mento-protocol/con
127
129
128
130
Each network has a dedicated deploy branch Envio watches:
129
131
130
-
| Network | Deploy Branch |
131
-
| ------------ | --------------------- |
132
-
| Celo Mainnet |`deploy/celo-mainnet`|
133
-
| Celo Sepolia |`deploy/celo-sepolia`|
132
+
| Network | Deploy Branch |
133
+
| ------------- | ---------------------- |
134
+
| Celo Mainnet |`deploy/celo-mainnet`|
135
+
| Celo Sepolia |`deploy/celo-sepolia`|
136
+
| Monad Mainnet |`deploy/monad-mainnet`|
137
+
| Monad Testnet |`deploy/monad-testnet`|
134
138
135
139
Push to trigger a redeploy:
136
140
137
141
```bash
138
-
pnpm deploy:indexer:mainnet
139
-
# or
142
+
pnpm deploy:indexer celo-mainnet
143
+
# or run without args to be prompted:
144
+
pnpm deploy:indexer
145
+
# or push directly:
140
146
git push origin main:deploy/celo-mainnet
141
147
```
142
148
143
-
> ⚠️ **Sepolia endpoint changes on each Envio redeploy.** After redeploying the Sepolia indexer, update `hasura_url_sepolia_hosted` in `terraform/terraform.tfvars` and run `pnpm infra:apply`.
149
+
> ⚠️ **Celo Sepolia endpoint changes on each Envio redeploy.** After redeploying the Celo Sepolia indexer, update `hasura_url_celo_sepolia_hosted` in `terraform/terraform.tfvars` and run `pnpm infra:apply`.
144
150
145
151
### Dashboard → Vercel
146
152
@@ -172,8 +178,9 @@ GitHub Actions runs on every PR:
0 commit comments