Skip to content

Commit 2da9c97

Browse files
committed
Update for mainnet
1 parent 9e542ee commit 2da9c97

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
5454
anvil
5555
```
5656

57-
### Deploy to Monad Testnet
57+
### Deploy to Monad Mainnet
5858

5959
First, 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
8282
forge 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 \
128128
forge 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>

foundry.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata_hash = "none" # disable ipfs
77
use_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

0 commit comments

Comments
 (0)