Skip to content

Commit d51259f

Browse files
committed
adding open-campus-test to constants.ts
1 parent 78b9a30 commit d51259f

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

src/components/common/constants.ts

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
export const NETWORK_LIST = [
2+
{
3+
name: 'EDU Chain',
4+
key: 'open-campus-test',
5+
iconPath: '/images/EduchainLogo.svg',
6+
iconPathInverted: '/images/EduchainLogo.svg',
7+
},
28
{
39
name: 'Polygon',
410
key: 'matic',
@@ -149,12 +155,7 @@ export const NETWORK_LIST = [
149155
iconPath: '/images/bsc-logo.svg',
150156
iconPathInverted: '/images/bsc-logo.svg',
151157
},
152-
{
153-
name: 'EDU Chain',
154-
key: 'educhain',
155-
iconPath: '/images/EduchainLogo.svg',
156-
iconPathInverted: '/images/EduchainLogo.svg',
157-
},
158+
158159

159160
// {
160161
// name: 'Celo Alfajores',
@@ -173,6 +174,7 @@ interface NETWORK_ICON_MAP {
173174
}
174175

175176
export const NETWORK_ICON_MAP: NETWORK_ICON_MAP = {
177+
'open-campus-test': '/images/EduchainLogo.svg',
176178
mainnet: '/images/ethereum-logo-rainbow.svg',
177179
goerli: '/images/eth-diamond-purple.svg',
178180
sepolia: '/images/eth-diamond-purple.svg',
@@ -200,11 +202,12 @@ export const NETWORK_ICON_MAP: NETWORK_ICON_MAP = {
200202
'cyber-mainnet': '/images/cyber-logo.svg',
201203
'vanar-testnet': '/images/vanarlogo.svg',
202204
'vanar-mainnet': '/images/vanarlogo.svg',
203-
testnet: '/images/vanar-testnet',
204-
educhain: '/images/EduchainLogo.svg'
205+
testnet: '/images/vanar-testnet.svg',
206+
205207
};
206208

207209
export const NETWORK_SCANNER_MAP: { [key: string]: string } = {
210+
'open-campus-test': '/images/EduchainLogo.svg',
208211
mainnet: 'https://etherscan.io',
209212
goerli: 'https://goerli.etherscan.io',
210213
sepolia: 'https://sepolia.etherscan.io',

0 commit comments

Comments
 (0)