Skip to content

Commit

Permalink
Merge branch 'feat/deploy-movement-testnet'
Browse files Browse the repository at this point in the history
  • Loading branch information
Atlasoin committed Oct 28, 2024
2 parents 5edac83 + 775eae9 commit 2731a63
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1
# vsl testnet
CHAIN_ID=2331
RPC_URL='https://rpc.testnet.rss3.io'
VERIFIER=blockscout
VERIFIER_URL='https://scan.testnet.rss3.io/api'
DEPLOYMENT_CONTEXT=testnet
VERIFIER=blockscout # optional
VERIFIER_URL='https://scan.testnet.rss3.io/api' # optional
DEPLOYMENT_CONTEXT=testnet # optional

# vsl mainnet
#CHAIN_ID=12553
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ out/
!/broadcast
/broadcast/*/31337/
/broadcast/**/dry-run/
broadcast

# Docs
docs/
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,16 @@ $ anvil

### Deploy

Currently supported network:
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 \
--chain-id $CHAIN_ID \
--rpc-url $RPC_URL \
Expand All @@ -50,6 +58,14 @@ forge script script/Deploy.s.sol:Deploy \
--verify \
--broadcast --ffi -vvvv

# Without verification
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
```
4 changes: 4 additions & 0 deletions deploy-config/30732.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"proxyAdminOwner": "0xEA02bb4e91e36c8F853D9b37B74A832FFeDbF157",
"templateAdmin": "0xE0b98a1062B7f2f77087Cc1Dc9889B79FF46cAb8"
}
4 changes: 0 additions & 4 deletions deploy-config/rss3.json

This file was deleted.

0 comments on commit 2731a63

Please sign in to comment.