Skip to content

Commit b57d481

Browse files
authored
docs: improve deploy instructions (#26)
Closes EFI-477
1 parent 5950b08 commit b57d481

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,30 +120,38 @@ yarn test:bulloak:fix
120120

121121
## Deploy & verify
122122

123-
### Setup
124-
125-
Configure the `.env` variables and source them:
123+
### 1) Configure the `.env` variables and source them:
126124

127125
```bash
128126
source .env
129127
```
130128

131-
Import your private keys into Foundry's encrypted keystore:
129+
`$MAINNET_DEPLOYER_NAME` and `$SEPOLIA_DEPLOYER_NAME` are the names of the private keys in the keystore.
130+
131+
`$ETHERSCAN_API_KEY` is required for the deployment to be verified on Etherscan.
132+
133+
### 2) Import your private keys into Foundry's encrypted keystore:
132134

133135
```bash
134136
cast wallet import $MAINNET_DEPLOYER_NAME --interactive
135137
```
136138

139+
or
140+
137141
```bash
138142
cast wallet import $SEPOLIA_DEPLOYER_NAME --interactive
139143
```
140144

145+
### 3) Call the deploy script:
146+
141147
### Sepolia
142148

143149
```bash
144150
yarn deploy:sepolia
145151
```
146152

153+
or
154+
147155
### Mainnet
148156

149157
```bash

0 commit comments

Comments
 (0)