File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -43,30 +43,31 @@ forge snapshot
4343
4444``` shell
4545anvil
46- =======
46+ ```
4747
4848### Deploy to Monad Testnet
4949
5050First, you need to create a keystore file. Do not forget to remember the password! You will need it to deploy your contract.
5151
52-
52+ ``` shell
5353cast wallet import monad-deployer --private-key $( cast wallet new | grep ' Private key:' | awk ' {print $3}' )
54+ ```
5455
5556After creating the keystore, you can read its address using:
5657
5758``` shell
5859cast wallet address --account monad-deployer
5960```
6061
61- The command above will create a keystore file named ` monad-deployer` in the ~ /.foundry/keystores directory.
62+ The command above will create a keystore file named ` monad-deployer ` in the ` ~/.foundry/keystores ` directory.
6263
6364Then, you can deploy your contract to the Monad Testnet using the keystore file you created.
6465
6566``` shell
6667forge create src/Counter.sol:Counter --account monad-deployer --broadcast
6768```
6869
69- # # Verify Your Contract on Monad Testnet
70+ ### Verify your contract on Monad Testnet
7071
7172``` shell
7273forge verify-contract < contract_address> < contract_name> --chain-id 10143 --verifier sourcify --verifier-url https://sourcify-api-monad.blockvision.org
You can’t perform that action at this time.
0 commit comments