diff --git a/README.md b/README.md index 7aa150b..3494630 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## Monad-flavored Foundry > [!NOTE] -> In this Foundry template, the default chain is `monadTestnet`. If you wish to change it, change the network in `foundry.toml` +> In this Foundry template, the default chain is `monadMainnet`. If you wish to change it, change the network in `foundry.toml`

Monad Documentation | Foundry Documentation | @@ -54,7 +54,7 @@ forge snapshot anvil ``` -### Deploy to Monad Testnet +### Deploy to Monad Mainnet First, you need to create a keystore file. Do not forget to remember the password! You will need it to deploy your contract. @@ -82,7 +82,7 @@ forge create src/Counter.sol:Counter --account monad-deployer --broadcast forge verify-contract \ \ src/Counter.sol:Counter \ - --chain 10143 \ + --chain 143 \ --verifier sourcify \ --verifier-url https://sourcify-api-monad.blockvision.org ``` @@ -128,7 +128,7 @@ forge create \ forge verify-contract \ \ src/Counter.sol:Counter \ - --chain 10143 \ + --chain 143 \ --verifier sourcify \ --verifier-url https://sourcify-api-monad.blockvision.org \ --constructor-args diff --git a/foundry.toml b/foundry.toml index 9458f30..a2165de 100644 --- a/foundry.toml +++ b/foundry.toml @@ -7,7 +7,7 @@ metadata_hash = "none" # disable ipfs use_literal_content = true # use source code # Monad Configuration -eth-rpc-url="https://testnet-rpc.monad.xyz" -chain_id = 10143 +eth-rpc-url="https://rpc.monad.xyz" +chain_id = 143 # See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options