File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11## Monad-flavored Foundry
22
33> [ !NOTE]
4- > In this Foundry template, the default chain is ` monadTestnet ` . If you wish to change it, change the network in ` foundry.toml `
4+ > In this Foundry template, the default chain is ` monadMainnet ` . If you wish to change it, change the network in ` foundry.toml `
55
66<h4 align =" center " >
77 <a href =" https://docs.monad.xyz " >Monad Documentation</a > | <a href =" https://book.getfoundry.sh/ " >Foundry Documentation</a > |
@@ -54,7 +54,7 @@ forge snapshot
5454anvil
5555```
5656
57- ### Deploy to Monad Testnet
57+ ### Deploy to Monad Mainnet
5858
5959First, you need to create a keystore file. Do not forget to remember the password! You will need it to deploy your contract.
6060
@@ -82,7 +82,7 @@ forge create src/Counter.sol:Counter --account monad-deployer --broadcast
8282forge verify-contract \
8383 < contract_address> \
8484 src/Counter.sol:Counter \
85- --chain 10143 \
85+ --chain 143 \
8686 --verifier sourcify \
8787 --verifier-url https://sourcify-api-monad.blockvision.org
8888```
@@ -128,7 +128,7 @@ forge create \
128128forge verify-contract \
129129 < contract_address> \
130130 src/Counter.sol:Counter \
131- --chain 10143 \
131+ --chain 143 \
132132 --verifier sourcify \
133133 --verifier-url https://sourcify-api-monad.blockvision.org \
134134 --constructor-args < abi_encoded_constructor_arguments>
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata_hash = "none" # disable ipfs
77use_literal_content = true # use source code
88
99# Monad Configuration
10- eth-rpc-url =" https://testnet- rpc.monad.xyz"
11- chain_id = 10143
10+ eth-rpc-url =" https://rpc.monad.xyz"
11+ chain_id = 143
1212
1313# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
You can’t perform that action at this time.
0 commit comments