diff --git a/README.md b/README.md index f030d767..7815b109 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ A starter kit for building on top of Balancer v3. Accelerate the process of crea ![image](https://github.com/user-attachments/assets/2f7538cf-d252-43be-9a9a-c8b84a37349c) - ## ✨ Features - Deploy custom pool and hooks to a local anvil fork @@ -55,12 +54,10 @@ cd scaffold-balancer-v3 yarn install ``` -3. In a `packages/foundry/.env` file, set RPC URLs for the networks you wish to fork +3. In a `packages/foundry/.env` file, provide an RPC URL for Ethereum Mainnet ``` -SEPOLIA_RPC_URL= MAINNET_RPC_URL= -GNOSIS_RPC_URL= ``` 4. Start a local anvil fork of Ethereum mainnet @@ -72,7 +69,7 @@ yarn fork > By default, this project is setup to fork Ethereum mainnet. However, you can fork another network by following these steps: > > 1. Change `targetFork` in `scaffold.config.ts` to `chains.gnosis` -> 2. Make sure the right addresses are un-commented in `PoolHelpers.sol` +> 2. Modify `PoolHelpers.sol` to use the correct contract addresses > 3. Run `yarn fork --network gnosis` 5. Deploy the mock tokens, pool factories, pool hooks, and custom pools contracts diff --git a/packages/foundry/.env.example b/packages/foundry/.env.example index 0d2b02ec..18d7984a 100644 --- a/packages/foundry/.env.example +++ b/packages/foundry/.env.example @@ -1,4 +1,8 @@ -DEPLOYER_PRIVATE_KEY= -SEPOLIA_RPC_URL= +# Required MAINNET_RPC_URL= -GNOSIS_RPC_URL= \ No newline at end of file + +# Optional +SEPOLIA_RPC_URL= +GNOSIS_RPC_URL= + +DEPLOYER_PRIVATE_KEY=