Skip to content

Commit a83d85d

Browse files
plasma deploy
1 parent 32ad053 commit a83d85d

File tree

5 files changed

+984
-14
lines changed

5 files changed

+984
-14
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ PLUME_RPC_URL=https://rpc.plume.org
1515
POLYGON_RPC_URL=https://endpoints.omniatech.io/v1/matic/mainnet/public
1616
SONIC_RPC_URL=https://rpc.soniclabs.com
1717
ZKSYNC_RPC_URL=https://1rpc.io/zksync2-era
18+
PLASMA_RPC_URL=https://rpc.plasma.to
1819

1920
# Block Explorer Credentials
2021
ARBITRUM_BLOCKSCAN_KEY=

broadcast/FullDeployer.s.sol/9745/run-1760716652599.json

Lines changed: 212 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/FullDeployer.s.sol/9745/run-1760717141202.json

Lines changed: 373 additions & 0 deletions
Large diffs are not rendered by default.

broadcast/FullDeployer.s.sol/9745/run-latest.json

Lines changed: 373 additions & 0 deletions
Large diffs are not rendered by default.

deploy.sh

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,32 @@ if [ $broadcast == "broadcast" ]; then
2828
params+=(--broadcast)
2929
if [ -n "$verifier" ]; then
3030
params+=(--verify)
31-
params+=(--verifier "${verifier}")
32-
if [ $verifier == "etherscan" ]; then
33-
params+=(--etherscan-api-key ${!blockscan_key})
34-
elif [ $verifier == "routescan" ]; then
35-
params+=(--verifier-url "https://api.routescan.io/v2/network/mainnet/evm/80094/etherscan")
36-
params+=(--etherscan-api-key "verifyContract")
37-
elif [ $verifier == "blockscout" ]; then
38-
if [ $network_upper == "INK"]; then
39-
params+=(--verifier-url "https://explorer.inkonchain.com/api")
40-
elif [ $network_upper == "PLUME"]; then
41-
params+=(--verifier-url "https://explorer.plume.org/api")
42-
elif [ $network_upper == "KATANA"]; then
43-
params+=(--verifier-url "https://explorer.katanarpc.com/api")
31+
if [ $verifier == "routescan" ]; then
32+
params+=(--verifier custom)
33+
if [ $network_upper == "BERACHAIN" ]; then
34+
chain_id=80094
35+
elif [ $network_upper == "PLASMA" ]; then
36+
chain_id=9745
4437
else
45-
params+=(--verifier-url "https://${network}.blockscout.com/api")
38+
printf '%s\n' "Invalid routescan network" >&2
39+
exit 1
40+
fi
41+
params+=(--verifier-url "https://api.routescan.io/v2/network/mainnet/evm/${chain_id}/etherscan")
42+
params+=(--etherscan-api-key "verifyContract")
43+
else
44+
params+=(--verifier "${verifier}")
45+
if [ $verifier == "etherscan" ]; then
46+
params+=(--etherscan-api-key ${!blockscan_key})
47+
elif [ $verifier == "blockscout" ]; then
48+
if [ $network_upper == "INK"]; then
49+
params+=(--verifier-url "https://explorer.inkonchain.com/api")
50+
elif [ $network_upper == "PLUME"]; then
51+
params+=(--verifier-url "https://explorer.plume.org/api")
52+
elif [ $network_upper == "KATANA"]; then
53+
params+=(--verifier-url "https://explorer.katanarpc.com/api")
54+
else
55+
params+=(--verifier-url "https://${network}.blockscout.com/api")
56+
fi
4657
fi
4758
fi
4859
fi

0 commit comments

Comments
 (0)