File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed
apps/remix-dapp/src/utils Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,22 @@ export const bsc = {
54
54
rpcUrl : 'https://rpc.ankr.com/bsc' ,
55
55
} ;
56
56
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
+
57
73
export const optimism = {
58
74
chainId : 10 ,
59
75
name : 'Optimism' ,
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ import {
16
16
bsc ,
17
17
celo ,
18
18
gnosis ,
19
+ ink ,
20
+ inkSepolia ,
19
21
zkSync ,
20
22
zora ,
21
23
} from './chains' ;
@@ -39,6 +41,8 @@ export const constants = {
39
41
bsc ,
40
42
celo ,
41
43
gnosis ,
44
+ ink ,
45
+ inkSepolia ,
42
46
zkSync ,
43
47
zora ,
44
48
] ,
Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ class MetaMask {
11
11
paramsObj . chainName = 'Arbitrum One' ;
12
12
paramsObj . rpcUrls = [ 'https://arb1.arbitrum.io/rpc' ] ;
13
13
}
14
+ if ( chainId === '0xdef1' ) {
15
+ paramsObj . chainName = 'Ink' ;
16
+ paramsObj . rpcUrls = [ 'https://rpc-gel.inkonchain.com' ] ;
17
+ }
18
+ if ( chainId === '0xba5ed' ) {
19
+ paramsObj . chainName = 'Ink Sepolia' ;
20
+ paramsObj . rpcUrls = [ 'https://rpc-gel-sepolia.inkonchain.com' ] ;
21
+ }
14
22
if ( chainId === '0x50877ed6' ) {
15
23
paramsObj . chainName = 'SKALE Chaos Testnet' ;
16
24
paramsObj . rpcUrls = [
You can’t perform that action at this time.
0 commit comments