Skip to content

ci: provide NEXT_PUBLIC_*_CONTRACT_ID env vars for next build#391

Merged
K1NGD4VID merged 1 commit into
mainfrom
ci/set-public-contract-ids
Jul 14, 2026
Merged

ci: provide NEXT_PUBLIC_*_CONTRACT_ID env vars for next build#391
K1NGD4VID merged 1 commit into
mainfrom
ci/set-public-contract-ids

Conversation

@K1NGD4VID

Copy link
Copy Markdown
Contributor

next build was failing with 'Contract ID is required' during prerender for /, /lp, /marketplace, /dashboard, /sme. Those pages instantiate SDK clients at module scope. Passes the same testnet IDs used in .env.example so the build succeeds. If you'd rather keep secrets private, replace inline values with GitHub Actions secrets — but these are public testnet contract IDs, not sensitive.

Next.js prerenders pages at build time; the LP, home, marketplace, dashboard, and SME pages instantiate SDK clients at module scope, throwing 'Contract ID is required' when the env vars are empty. Passing the same testnet IDs used in .env.example so the build step can complete.
@K1NGD4VID K1NGD4VID merged commit 6f5cd0e into main Jul 14, 2026
2 of 4 checks passed
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
trustrove Building Building Preview, Comment Jul 14, 2026 2:40pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant