Skip to content

Commit

Permalink
dione staging setup
Browse files Browse the repository at this point in the history
  • Loading branch information
DZariusz committed Jan 6, 2025
1 parent a05fa50 commit 44f840e
Show file tree
Hide file tree
Showing 10 changed files with 2,357 additions and 1 deletion.
1 change: 1 addition & 0 deletions constants/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const _5IRE_SANDBOX = '5ire_sandbox';
export const LOCALHOST = 'localhost';
export const HARDHAT = 'hardhat';

export const DIONE_STAGING = 'dione_staging';
export const _5IRE_STAGING = '5ire_staging';
export const LINEA_STAGING = 'linea_staging';
export const BASE_STAGING = 'base_staging';
Expand Down
9 changes: 9 additions & 0 deletions constants/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
BNB_STAGING,
BOB_PRODUCTION,
BOB_STAGING,
DIONE_STAGING,
ETH_PRODUCTION,
ETH_SANDBOX,
ETH_SEPOLIA,
Expand Down Expand Up @@ -107,6 +108,11 @@ const _5fireTestnetProviderData: ProviderData = {
chainId: chainId(997),
};

const dioneTestnetProviderData: ProviderData = {
url: 'https://testnode.dioneprotocol.com/ext/bc/D/rpc',
chainId: chainId(131313),
};

// https://docs.gobob.xyz/docs/build/getting-started/networks
const bobTestnetProviderData: ProviderData = {
url: `https://bob-sepolia.blastapi.io/${BLAST_RPC_ID}`,
Expand Down Expand Up @@ -220,6 +226,9 @@ const baseMainnetProviderData: ProviderData = {

const resolveProviderData = (networkName: string): ProviderData => {
switch (networkName) {
case DIONE_STAGING:
return dioneTestnetProviderData;

case _5IRE_STAGING:
case _5IRE_SANDBOX:
return _5fireTestnetProviderData;
Expand Down
1 change: 1 addition & 0 deletions deploy/_helpers/onChainSupportedBlockchains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export function onChainSupportedBlockchains(hre: HardhatRuntimeEnvironment): boo
if (hre.network.name.includes('zk_link_')) return true;
if (hre.network.name.includes('bob_')) return true;
if (hre.network.name.includes('_5ire')) return true;
if (hre.network.name.includes('dione')) return true;

return false;
}
1 change: 1 addition & 0 deletions deployments/dione_staging/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
131313
373 changes: 373 additions & 0 deletions deployments/dione_staging/Registry.json

Large diffs are not rendered by default.

Loading

0 comments on commit 44f840e

Please sign in to comment.