Skip to content

Commit

Permalink
add opbnb
Browse files Browse the repository at this point in the history
  • Loading branch information
LidamaoHub committed Feb 19, 2024
1 parent 84cedee commit fb43fbd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,14 @@ eth_rpc_url = "https://linea-goerli.infura.io/v3/8a5edc3264dd435391dad31e754031d
optimizer = true
optimizer_runs = 3000

[profile.opbnb-test]
eth_rpc_url = "https://opbnb-testnet-rpc.bnbchain.org"
optimizer = true
optimizer_runs = 3000


[profile.opbnb]
eth_rpc_url = "https://opbnb-mainnet-rpc.bnbchain.org"
optimizer = true
optimizer_runs = 3000

2 changes: 2 additions & 0 deletions packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"deploy:lidamao": "pnpm run build && mud deploy --profile=Mississippi-testnet",
"deploy:redstone": "pnpm run build && mud deploy --profile=REDSTONE-HOLESKY",
"deploy:arb": "pnpm run build && mud deploy --profile=arb-testnet",
"deploy:opbnb_test": "pnpm run build && mud deploy --profile=opbnb-test",
"deploy:opbnb": "pnpm run build && mud deploy --profile=opbnb",

"dev": "pnpm mud dev-contracts --rpc http://127.0.0.1:8545",
"lint": "pnpm run prettier && pnpm run solhint",
Expand Down
8 changes: 8 additions & 0 deletions packages/contracts/worlds.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"204": {
"address": "0x6e9474e9c83676b9a71133ff96db43e7aa0a4342",
"blockNumber": 16592354
},
"5611": {
"address": "0xc8dafd7d65b723c52f3f4872b592fde82b43f184",
"blockNumber": 21467220
},
"17001": {
"address": "0xd9193875f45585d1443aa32cf112e751b536d426",
"blockNumber": 3018802
Expand Down

0 comments on commit fb43fbd

Please sign in to comment.