Skip to content

Commit

Permalink
Adding Cyber network to faucet (ethereum-optimism#392)
Browse files Browse the repository at this point in the history
Adding cyber network to faucet

Co-authored-by: Tarun Khasnavis <[email protected]>
  • Loading branch information
tarunkhasnavis and Tarun Khasnavis authored Jun 27, 2024
1 parent ed080a3 commit 746b63d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
28 changes: 28 additions & 0 deletions apps/dapp-console-api/src/constants/faucetConfigs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,34 @@ const faucetConfigs: FaucetConfig[] = [
supportedEnvironments: ['production', 'staging', 'development'],
l1BridgeAddress: '0x5376f1D543dcbB5BD416c56C189e4cB7399fCcCB',
},
{
id: 111557560,
displayName: 'Cyber Sepolia',
chain: defineChain({
id: 111557560,
name: 'Cyber Sepolia',
network: 'cyber-sepolia',
nativeCurrency: { name: 'Sepolia Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://cyber-testnet.alt.technology'],
},
public: {
http: ['https://cyber-testnet.alt.technology'],
},
},
blockExplorers: {
default: {
name: 'Hemera',
url: 'https://testnet.cyberscan.co/',
},
},
}),
onChainDripAmount: DEFAULT_ON_CHAIN_DRIP_AMOUNT,
offChainDripAmount: DEFAULT_OFF_CHAIN_DRIP_AMOUNT,
supportedEnvironments: ['production', 'staging', 'development'],
l1BridgeAddress: '0xAA1bD6D4d8cFD37330a917bc678CB38BEFAf44E6',
},
]

export const supportedFaucetConfigs = faucetConfigs.filter((faucet) =>
Expand Down
5 changes: 5 additions & 0 deletions apps/dapp-console/app/constants/faucet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,9 @@ export const faucetNetworks = [
image: '/logos/zora-logo.png',
chainID: zoraSepolia.id,
},
{
label: 'Cyber Sepolia',
image: '/logos/cyber-logo.png',
chainID: 111557560,
},
]
Binary file added apps/dapp-console/public/logos/cyber-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

2 comments on commit 746b63d

@vercel
Copy link

@vercel vercel bot commented on 746b63d Jun 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

Too many requests - try again in 5 minutes (more than 60, code: "api-deployments-flood").

@vercel
Copy link

@vercel vercel bot commented on 746b63d Jun 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.