Skip to content

is it possible to have mainnet fork using hardhat node to expose for frontend / backend apps #5225

Closed Answered by kanej
Sufiyan-dev asked this question in Troubleshooting
Discussion options

You must be logged in to vote

Yes, you can fork mainnet based on this guide: https://hardhat.org/hardhat-network/docs/guides/forking-other-networks

The local hardhat node exposes an JSON-RPC endpoint that you can connect to from your frontend/backend app at http://127.0.0.1:8545/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kanej
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants