Skip to content

Commit e97f3a0

Browse files
CruzMolinaAniket-Engg
authored andcommitted
feat: add ink & ink sepolia support to walletconnect
1 parent 05b3fb7 commit e97f3a0

File tree

2 files changed

+22
-10
lines changed

2 files changed

+22
-10
lines changed

apps/remix-ide/src/app/plugins/walletconnect/utils/chains.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,22 @@ export const bsc = {
5454
rpcUrl: 'https://rpc.ankr.com/bsc'
5555
}
5656

57+
export const ink = {
58+
chainId: 57073,
59+
name: 'Ink',
60+
currency: 'ETH',
61+
explorerUrl: 'https://explorer.inkonchain.com',
62+
rpcUrl: 'https://rpc-gel.inkonchain.com'
63+
}
64+
65+
export const inkSepolia = {
66+
chainId: 763373,
67+
name: 'Ink Sepolia',
68+
currency: 'ETH',
69+
explorerUrl: 'https://explorer-sepolia.inkonchain.com',
70+
rpcUrl: 'https://rpc-gel-sepolia.inkonchain.com'
71+
}
72+
5773
export const optimism = {
5874
chainId: 10,
5975
name: 'Optimism',

apps/remix-ide/src/app/plugins/walletconnect/utils/constants.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import {
1616
bsc,
1717
celo,
1818
gnosis,
19+
ink,
20+
inkSepolia,
1921
zkSync,
2022
zora,
2123
} from './chains'
@@ -39,15 +41,9 @@ export const constants = {
3941
bsc,
4042
celo,
4143
gnosis,
44+
ink,
45+
inkSepolia,
4246
zkSync,
4347
zora,
44-
],
45-
// @ts-ignore
46-
PROJECT_ID: WALLET_CONNECT_PROJECT_ID,
47-
METADATA: {
48-
name: 'Remix IDE',
49-
description: 'The Native IDE for Web3 Development.',
50-
url: 'https://remix.ethereum.org/',
51-
icons: ['https://remix.ethereum.org/favicon.ico'],
52-
}
53-
}
48+
]
49+
}

0 commit comments

Comments
 (0)