Skip to content

Commit

Permalink
feat: deploy to illiad (#4786)
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Poettcker <[email protected]>
  • Loading branch information
pumpedlunch authored Nov 4, 2024
1 parent 790755e commit c8ade06
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/common/src/HardhatConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ export function getHardhatConfig(
url: getNodeUrl("arbitrum-sepolia", true, 421614),
accounts: { mnemonic },
},
illiad: {
chainId: 1513,
url: getNodeUrl("illiad", true, 1513),
accounts: { mnemonic },
},
sx: {
chainId: 416,
url: getNodeUrl("sx", true, 416),
Expand Down Expand Up @@ -312,6 +317,14 @@ export function getHardhatConfig(
browserURL: "https://sepolia.arbiscan.io/",
},
},
{
network: "illiad",
chainId: 1513,
urls: {
apiURL: "https://testnet.storyscan.xyz/",
browserURL: "https://testnet.storyscan.xyz/",
},
},
],
},
namedAccounts: { deployer: 0 },
Expand Down
1 change: 1 addition & 0 deletions packages/common/src/ProviderUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export function getNodeUrl(networkName: string, useHttps = false, chainId: numbe
if (name === "base-sepolia") return overrideUrl || "https://sepolia.base.org";
if (name === "base") return overrideUrl || "https://mainnet.base.org";
if (name === "blast") return overrideUrl || "https://rpc.blast.io/";
if (name === "illiad") return overrideUrl || "https://testnet.storyrpc.io/";
return (
overrideUrl ||
(useHttps ? `https://${name}.infura.io/v3/${infuraApiKey}` : `wss://${name}.infura.io/ws/v3/${infuraApiKey}`)
Expand Down
1 change: 1 addition & 0 deletions packages/common/src/PublicNetworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export const PublicNetworks: PublicNetworksType = {
416: { name: "sx", nativeToken: "SX", etherscan: "https://explorer.sx.technology/" },
1115: { name: "core-testnet", nativeToken: "tCORE", etherscan: "https://scan.test.btcs.network/" },
1116: { name: "core", nativeToken: "CORE", etherscan: "https://scan.coredao.org/" },
1513: { name: "illiad", nativeToken: "IP", etherscan: "https://testnet.storyscan.xyz/" },
9001: { name: "evmos", nativeToken: "EVMOS", etherscan: "https://evm.evmos.org" },
80001: {
name: "polygon-mumbai",
Expand Down
30 changes: 30 additions & 0 deletions packages/core/networks/1513.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[
{
"contractName": "Finder",
"address": "0x28077B47Cd03326De7838926A63699849DD4fa87"
},
{
"contractName": "AddressWhitelist",
"address": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64"
},
{
"contractName": "IdentifierWhitelist",
"address": "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75"
},
{
"contractName": "MockOracleAncillary",
"address": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96"
},
{
"contractName": "Store",
"address": "0xeF684C38F94F48775959ECf2012D7E864ffb9dd4"
},
{
"contractName": "TestnetERC20",
"address": "0x38fAc33bD20D4c4Cce085C0f347153C06CbA2968"
},
{
"contractName": "OptimisticOracleV3",
"address": "0x3CA11702f7c0F28e0b4e03C31F7492969862C569"
}
]

0 comments on commit c8ade06

Please sign in to comment.