Setting up foundry for frontend development (run foundry persistently listening on a certain port) #4465
Answered
by
burnto
0xTimepunk
asked this question in
Q&A
-
Hi, How? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
burnto
Mar 2, 2023
Replies: 1 comment
-
Yes, for sure, with
This starts up Then call scripts against it. You could use hardhat or ganache to deploy, or here's how you'd do it with foundry:
In your script you could also use CREATE2 (via |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
0xTimepunk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, for sure, with
anvil
. Here's what I do:This starts up
anvil
forked against another chain.Then call scripts against it. You could use hardhat or ganache to deploy, or here's how you'd do it with foundry:
In your script you could also use CREATE2 (via
new MyContract{salt: mySalt}()
) to ensure the same address across network starts/stops.