Skip to content

Commit

Permalink
simplify quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPereira committed Jan 5, 2025
1 parent 5749f4d commit 933d772
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 7 additions & 3 deletions packages/foundry/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
DEPLOYER_PRIVATE_KEY=
SEPOLIA_RPC_URL=
# Required
MAINNET_RPC_URL=
GNOSIS_RPC_URL=

# Optional
SEPOLIA_RPC_URL=
GNOSIS_RPC_URL=

DEPLOYER_PRIVATE_KEY=

0 comments on commit 933d772

Please sign in to comment.