From 80d3691e2c8c48e0c964056626143b2fe8f128a0 Mon Sep 17 00:00:00 2001 From: Jamie C <3467256+starit@users.noreply.github.com> Date: Thu, 23 May 2024 02:22:46 -0700 Subject: [PATCH] Update solidity-scripting.md (#1204) add --chain in the commend. Otherwise it's not going to work. --- src/tutorials/solidity-scripting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tutorials/solidity-scripting.md b/src/tutorials/solidity-scripting.md index cb9c202b2..05fa93842 100644 --- a/src/tutorials/solidity-scripting.md +++ b/src/tutorials/solidity-scripting.md @@ -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: