Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobHomanics committed May 9, 2024
1 parent f3f0c96 commit 2b4b519
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,17 @@ See the wonderful [Seaport repo](https://github.com/ProjectOpenSea/seaport/blob/

#### A. Simulate the deployments locally

`cd packages/foundry`

`forge script script/DeployImplementation.s.sol -f mainnet`

`forge script script/DeployInstance.s.sol -f mainnet`

#### B. Deploy to real network and verify on etherscan

`forge script script/DeployImplementation.s.sol mainnet --broadcast --verify`
`forge script script/DeployInstance.s.sol mainnet --broadcast --verify`

#### C. Fix verification issues (replace values in curly braces with the actual values)
`yarn deploy --network ${network_name}`

```
forge verify-contract --chain-id 1 --num-of-optimizations 1000000 --watch --constructor-args $(cast abi-encode \
"constructor({args})" "{arg1}" "{arg2}" "{argN}" ) \
--compiler-version v0.8.19 {deploymentAddress} \
src/{Counter}.sol:{Counter} --etherscan-api-key $ETHERSCAN_KEY
```
`yarn verify --network ${network_name}`

## notes

Expand Down

0 comments on commit 2b4b519

Please sign in to comment.