Skip to content

Improving local dx#44

Open
ajaralampidis wants to merge 11 commits intoBuidlGuidl:mainfrom
ajaralampidis:36_subgraph_local_dx_improvements
Open

Improving local dx#44
ajaralampidis wants to merge 11 commits intoBuidlGuidl:mainfrom
ajaralampidis:36_subgraph_local_dx_improvements

Conversation

@ajaralampidis
Copy link
Contributor

Description

  • Updated readme showing: pre-requisites, dependency installation, step by step to run local chain + local subgraph
  • Updated .gitignore files to avoid tracking auto-generated files:
    • subgraph.yaml is autogenerated
    • subgraph abis are copied from hardhat
  • Fixed some issues along the way because local subgraph was not working correctly
    • networks.json was hardcoded and locally we deploy contracts every time we spin up a new hardhat chain
    • prepare-local-manifest.ts now seeks the address from hardhat/deployments directory (dynamically)
    • I had to add a chain:local script adding the --hostname 0.0.0.0 flag. This is required to allow The Graph node to connect to the local RPC created by hardhat.

No screenshot since there are no visible changes, this PR is mostly about development experience

Additional Information

Related Issues

Closes #36

Your ENS/address: 0xb26CEe94F8A0DFcBc2e711c16a2792f71da755a1

@vercel
Copy link

vercel bot commented Jan 23, 2026

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

Project Deployment Review Updated (UTC)
batch23.buidlguidl.com Error Error Jan 24, 2026 4:24am

Request Review

@ajaralampidis
Copy link
Contributor Author

I don't have access to Vercel to see what is failing in the build. I tried guessing but I couldn't. Locally I can run everything

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.

The graph local dev environment

1 participant