cartesi / explorer

Cartesi Blockchain Explorer
https://explorer.cartesi.io
Apache License 2.0
9 stars 12 forks source link

chore: update GraphQL setup and static generation #104

Closed brunomenezes closed 1 year ago

brunomenezes commented 1 year ago

Summary

Making the primary graphQL endpoint as environment variables to cover some forking cases. Also, change the way the type is generated for the ENS static generation.

A few things to notice on that change:

So the below ENV files would hold your own endpoints as explained in the README.

env.development.local
env.production.local
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
rollups ✅ Ready (Inspect) Visit Preview Aug 14, 2023 1:32am
staking ✅ Ready (Inspect) Visit Preview Aug 14, 2023 1:32am
brunomenezes commented 1 year ago

cc: @dandheedge @nevendyulgerov That impacts you guys when branching from main (once this PR is merged). So, I would say you have free tiers available on chainstack and/or the graph hosted-service. Or just run locally for whatever network you are developing against.