Skip to content

Commit dc09379

Browse files
committed
Update deployment scripts in readme
1 parent 4ee228f commit dc09379

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,24 +95,35 @@ forge test
9595

9696
#### Deploying
9797

98-
0. Copy `.env.example` to `.env` and populate the variables you plan to use if you plan to deploy any contracts.
98+
1. Copy `.env.example` to `.env` and populate the variables depending on the deployment scripts that you will execute.
9999

100100
```shell
101101
source .env
102102
```
103103

104-
1. Use [Anvil](https://book.getfoundry.sh/reference/anvil/) to run a local fork of a blockchain to develop in an isolated environment.
104+
2. For local testing, use [Anvil](https://book.getfoundry.sh/reference/anvil/) to run a local fork of a blockchain to develop in an isolated environment. Or obtain the RPC url for the blockchain to deploy.
105105

106106
```shell
107+
# Example of a forked local environment using anvil
107108
anvil -f <your_rpc_url>
108109
```
109110

110-
2. Deploy the necessary environment contracts.
111+
3. Deploy the necessary contracts.
111112

112113
> NOTE: As this system matures, this step will no longer be required for public chains where the DeleGator is in use.
113114
114115
```shell
115-
forge script script/DeployEnvironmentSetUp.s.sol --rpc-url <your_rpc_url> --private-key $PRIVATE_KEY --broadcast
116+
# Deploys the Delegation Manager, Multisig and Hybrid DeleGator implementations
117+
forge script script/DeployDelegationFramework.s.sol --rpc-url <your_rpc_url> --private-key $PRIVATE_KEY --broadcast
118+
119+
# Deploys all the caveat enforcers
120+
forge script script/DeployCaveatEnforcers.s.sol --rpc-url <your_rpc_url> --private-key $PRIVATE_KEY --broadcast
121+
122+
# Deploys the EIP7702 Staless DeleGator
123+
forge script script/DeployEIP7702StatelessDeleGator.s.sol --rpc-url <your_rpc_url> --private-key $PRIVATE_KEY --broadcast
124+
125+
# Deploys a MultisigDeleGator on a UUPS proxy
126+
forge script script/DeployMultiSigDeleGator.s.sol --private-key $PRIVATE_KEY --broadcast
116127
```
117128

118129
### Javascript

0 commit comments

Comments
 (0)