You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: script/README.md
+9-15Lines changed: 9 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,23 +6,17 @@ Before running the scripts, please make sure to fill the `.env` file following t
6
6
7
7
After filling the `.env` file, make sure to run: `source .env` in your terminal.
8
8
9
-
## Deploy new pool
10
-
- Fill the `DeployPool_input.json` file with the needed inputs.
11
-
- The `eulerAccount` will be derived from the private key provided in `.env`. The account's position on Euler should be already set up.
12
-
- Run `forge script ./script/DeployPool.s.sol --rpc-url network_name --broadcast --slow`, replacing `network_name` to match `_RPC_URL` environment variable (e.g. if running through `MAINNET_RPC_URL` replace `network_name` with `mainnet`)
13
-
- The deployed pool address will be recorded in `./scripts/json/DeployPool_output.json` file
9
+
## Deploy protocol
14
10
15
-
## Exact in swap
11
+
- Fill the `DeployProtocol_input.json` file with the needed inputs.
12
+
- Run `forge script ./script/DeployProtocol.s.sol --rpc-url network_name --broadcast --slow`, replacing `network_name` to match `_RPC_URL` environment variable (e.g. if running through `MAINNET_RPC_URL` replace `network_name` with `mainnet`)
16
13
17
-
- Fill the `SwapExactIn_input.json` file with the needed inputs.
18
-
- Run `forge script ./script/SwapExactIn.s.sol --rpc-url network_name --broadcast --slow`, replacing `network_name` to match `_RPC_URL` environment variable (e.g. if running through `MAINNET_RPC_URL` replace `network_name` with `mainnet`)
14
+
## Deployments
19
15
20
-
## Uninstall pool
16
+
These are temporary deployments for testing. The official EulerSwap instances will be deployed by the EVK periphery infrastructure.
21
17
22
-
- Fill the `UninstallPool_input.json` file with the factory address.
23
-
- Run `forge script ./script/UninstallPool.s.sol --rpc-url network_name --broadcast --slow`, replacing `network_name` to match `_RPC_URL` environment variable (e.g. if running through `MAINNET_RPC_URL` replace `network_name` with `mainnet`)
18
+
### Base
24
19
25
-
## Deploy protocol
26
-
27
-
- Fill the `DeployProtocol_input.json` file with the needed inputs.
28
-
- Run `forge script ./script/DeployProtocol.s.sol --rpc-url network_name --broadcast --slow`, replacing `network_name` to match `_RPC_URL` environment variable (e.g. if running through `MAINNET_RPC_URL` replace `network_name` with `mainnet`)
0 commit comments