Skip to content
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
7 changes: 7 additions & 0 deletions apps/contract-verification/src/app/utils/default-apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@
"5112": {
"apiUrl": "https://explorer.ham.fun"
},
"57073": {
"apiUrl": "https://explorer.inkonchain.com"
},
"6398": {
"apiUrl": "https://connext-sepolia.blockscout.com"
},
Expand Down Expand Up @@ -463,6 +466,9 @@
"686868": {
"apiUrl": "https://scan.wonnetwork.org"
},
"763373": {
"apiUrl": "https://explorer-sepolia.inkonchain.com"
},
"782251": {
"apiUrl": "https://testnet.explorer.stack.so"
},
Expand Down Expand Up @@ -593,6 +599,7 @@
"151": { "type": "mainnet" },
"62707": { "type": "mainnet" },
"70953": { "type": "mainnet" },
"57073": { "type": "mainnet" },
"64165": { "type": "testnet" },
"49321": { "type": "testnet" },
"80084": { "type": "testnet" },
Expand Down
16 changes: 16 additions & 0 deletions apps/remix-dapp/src/utils/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,22 @@ export const bsc = {
rpcUrl: 'https://rpc.ankr.com/bsc',
};

export const ink = {
chainId: 57073,
name: 'Ink',
currency: 'ETH',
explorerUrl: 'https://explorer.inkonchain.com',
rpcUrl: 'https://rpc-gel.inkonchain.com',
};

export const inkSepolia = {
chainId: 763373,
name: 'Ink Sepolia',
currency: 'ETH',
explorerUrl: 'https://explorer-sepolia.inkonchain.com',
rpcUrl: 'https://rpc-gel-sepolia.inkonchain.com',
};

export const optimism = {
chainId: 10,
name: 'Optimism',
Expand Down
4 changes: 4 additions & 0 deletions apps/remix-dapp/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import {
bsc,
celo,
gnosis,
ink,
inkSepolia,
zkSync,
zora,
} from './chains';
Expand All @@ -39,6 +41,8 @@ export const constants = {
bsc,
celo,
gnosis,
ink,
inkSepolia,
zkSync,
zora,
],
Expand Down
8 changes: 8 additions & 0 deletions apps/remix-dapp/src/utils/metamask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ class MetaMask {
paramsObj.chainName = 'Arbitrum One';
paramsObj.rpcUrls = ['https://arb1.arbitrum.io/rpc'];
}
if (chainId === '0xdef1') {
paramsObj.chainName = 'Ink';
paramsObj.rpcUrls = ['https://rpc-gel.inkonchain.com'];
}
if (chainId === '0xba5ed') {
paramsObj.chainName = 'Ink Sepolia';
paramsObj.rpcUrls = ['https://rpc-gel-sepolia.inkonchain.com'];
}
if (chainId === '0x50877ed6') {
paramsObj.chainName = 'SKALE Chaos Testnet';
paramsObj.rpcUrls = [
Expand Down
16 changes: 16 additions & 0 deletions apps/remix-ide/src/app/plugins/walletconnect/utils/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,22 @@ export const bsc = {
rpcUrl: 'https://rpc.ankr.com/bsc'
}

export const ink = {
chainId: 57073,
name: 'Ink',
currency: 'ETH',
explorerUrl: 'https://explorer.inkonchain.com',
rpcUrl: 'https://rpc-gel.inkonchain.com'
}

export const inkSepolia = {
chainId: 763373,
name: 'Ink Sepolia',
currency: 'ETH',
explorerUrl: 'https://explorer-sepolia.inkonchain.com',
rpcUrl: 'https://rpc-gel-sepolia.inkonchain.com'
}

export const optimism = {
chainId: 10,
name: 'Optimism',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import {
bsc,
celo,
gnosis,
ink,
inkSepolia,
zkSync,
zora,
} from './chains'
Expand All @@ -39,6 +41,8 @@ export const constants = {
bsc,
celo,
gnosis,
ink,
inkSepolia,
zkSync,
zora,
],
Expand All @@ -50,4 +54,4 @@ export const constants = {
url: 'https://remix.ethereum.org/',
icons: ['https://remix.ethereum.org/favicon.ico'],
}
}
}