Advanced
11/10/2023

Curious to learn about Foundry "full stack" workflows, e.g. developing/testing a frontend against a local Anvil node. Do you use @wagmi/cli? Etc https://warpcast.com/bankisan/0x80e4e57f

EVM
In reply to @typedarray.eth
ernesto@ernesto
11/10/2023

I usually: 1. Spin up a local anvil node 2. Deploy my contract to that node 3. Add a custom network to my browser wallet with the node url 4. Connect wallet to frontend on the custom network The repetitive aspects of this flow can of course be put in a script

EVM
In reply to @typedarray.eth
Danny@ds
11/10/2023

We have a dev script which runs docker compose (one of the services is anvil). The script then deploys contracts and captures the addresses and write them to an env file. Then the web server is started. From there you can iterate or run e2e tests with playwright etc.

EVM