feat: Add deployment and fund wallet scripts
--- don't change below this line --- ENG-4101 Took 1 hour 2 minutes Took 2 minutes Took 8 minutes Took 4 minutes Took 28 minutes
This commit is contained in:
17
foundry/scripts/README.md
Normal file
17
foundry/scripts/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# How to deploy
|
||||
|
||||
- Install dependencies `npm install`
|
||||
|
||||
## Deploy on Tenderly fork
|
||||
|
||||
1. Make a new [fork](https://dashboard.tenderly.co/) in tenderly dashboard.
|
||||
2. Set the following environment variables:
|
||||
|
||||
```
|
||||
export TENDERLY_RPC_URL=<fork-rpc-from-tenderly>
|
||||
export DEPLOY_WALLET=<wallet-address>
|
||||
export PRIVATE_KEY=<private-key>
|
||||
```
|
||||
|
||||
3. Fund wallet: `npx hardhat run scripts/fund-tenderly-fork.js --network tenderly`
|
||||
4. Deploy router: `npx hardhat run scripts/deploy-router.js --network tenderly`
|
||||
Reference in New Issue
Block a user