feat: Uniswap X deployment script
--- don't change below this line --- ENG-4675 Took 23 minutes
This commit is contained in:
@@ -66,4 +66,22 @@ For each of the following, you must select one of `tenderly_ethereum`, `tenderly
|
||||
2. The scripts deploy-executors, remove-executor, set-roles and revoke-role all support this.
|
||||
1. If `SAFE_ADDRESS` is set, then it will propose a transaction to the safe wallet and later on it needs to be
|
||||
approved in their UI to execute on chain.
|
||||
2. If it's not set, it will submit the transaction directly to the chain.
|
||||
2. If it's not set, it will submit the transaction directly to the chain.
|
||||
|
||||
## Deploy Uniswap X filler
|
||||
|
||||
The current script deploys an Uniswap X filler and verifies it in the corresponding blockchain explorer.
|
||||
|
||||
Make sure to run `unset HISTFILE` in your terminal before setting the private key. This will prevent the private key
|
||||
from being stored in the shell history.
|
||||
|
||||
1. Set the following environment variables:
|
||||
|
||||
```
|
||||
export RPC_URL=<chain-rpc-url>
|
||||
export PRIVATE_KEY=<deploy-wallet-private-key>
|
||||
export BLOCKCHAIN_EXPLORER_API_KEY=<blockchain-explorer-api-key>
|
||||
```
|
||||
|
||||
2. Confirm that the variables `tychoRouter`, `uniswapXReactor` and `nativeToken` are correctly set in the script.
|
||||
3. Run `npx hardhat run scripts/deploy-uniswap-x-filler.js --network NETWORK`.
|
||||
|
||||
Reference in New Issue
Block a user