Skip to content

Commit

Permalink
Update solidity-scripting.md (#1204)
Browse files Browse the repository at this point in the history
add --chain in the commend. Otherwise it's not going to work.
  • Loading branch information
starit authored May 23, 2024
1 parent 2e53eca commit 80d3691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tutorials/solidity-scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ At the root of the project run:
source .env

# To deploy and verify our contract
forge script script/NFT.s.sol:MyScript --rpc-url $SEPOLIA_RPC_URL --broadcast --verify -vvvv
forge script --chain sepolia script/NFT.s.sol:MyScript --rpc-url $SEPOLIA_RPC_URL --broadcast --verify -vvvv
```

Forge is going to run our script and broadcast the transactions for us - this can take a little while, since Forge will also wait for the transaction receipts. You should see something like this after a minute or so:
Expand Down

0 comments on commit 80d3691

Please sign in to comment.