Skip to content

Commit

Permalink
chore: add monad testnet
Browse files Browse the repository at this point in the history
HenryQW committed Jan 16, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 539683b commit afd787f
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
[![checks](https://github.com/webisopen/ovm-contracts/actions/workflows/checks.yml/badge.svg)](https://github.com/webisopen/ovm-contracts/actions/workflows/checks.yml)
[![codecov](https://codecov.io/gh/webisopen/ovm-contracts/graph/badge.svg?token=Q0GMj4Epjx)](https://codecov.io/gh/webisopen/ovm-contracts)


## Usage

### Build
@@ -44,12 +43,13 @@ VLS Testnet
LocalDevNet

To add new network, you need to:

1. update local .env
2. edit `./deploy-config/{chain_id}.json`, add required params.

```shell
# With verification
forge script script/Deploy.s.sol:Deploy \
source .env && forge script script/Deploy.s.sol:Deploy \
--chain-id $CHAIN_ID \
--rpc-url $RPC_URL \
--private-key $PRIVATE_KEY \
@@ -60,13 +60,12 @@ forge script script/Deploy.s.sol:Deploy \
--broadcast --ffi -vvvv

# Without verification
forge script script/Deploy.s.sol:Deploy \
source .env && forge script script/Deploy.s.sol:Deploy \
--chain-id $CHAIN_ID \
--rpc-url $RPC_URL \
--private-key $PRIVATE_KEY \
--broadcast --ffi -vvvv


# generate easily readable abi to /deployments
forge script script/Deploy.s.sol:Deploy --sig 'sync()' --rpc-url $RPC_URL --broadcast --ffi
source .env && forge script script/Deploy.s.sol:Deploy --sig 'sync()' --rpc-url $RPC_URL --broadcast --ffi
```
4 changes: 4 additions & 0 deletions deploy-config/monad-testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"proxyAdminOwner": "0x827431510a5d249ce4fdb7f00c83a3353f471848",
"templateAdmin": "0x827431510a5d249ce4fdb7f00c83a3353f471848"
}

0 comments on commit afd787f

Please sign in to comment.