Skip to content

Commit

Permalink
updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
iainnash committed Jul 17, 2023
1 parent aeeeb7b commit a3a4457
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DEPLOYING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ Use `1.json` for reference. We are ordering keys alphabetically.

### 2. Deploy forge script

forge script script/Deploy.s.sol --broadcast --verify --rpc-url $ETH_RPC
forge script script/Deploy.s.sol --broadcast --verify --rpc-url $ETH_RPC --sender $SENDER_WALLET

For example, to deploy on optimism goerli, this is the forge command:

forge script script/Deploy.s.sol --rpc-url https://goerli.optimism.io --verify --etherscan-api-key ${ETHERSCAN_OPTISM_API_KEY} --broadcast --interactives 1
forge script script/Deploy.s.sol --rpc-url $RPC --verify --etherscan-api-key $API_KEY --broadcast --interactives 1 --sender $SENDER_WALLET

*Important*: Sender is required to have the simulation succeed. Without it, the drops contract is not deployed.

Use your own RPC configuration variables

Expand Down

0 comments on commit a3a4457

Please sign in to comment.