Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dione staging setup #155

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading