Skip to content

Commit 4d9421e

Browse files
authored
Merge pull request #178 from jiffy-labs/adding-educhain-to-networks
minor fixes
2 parents 6106156 + 4034c9b commit 4d9421e

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/components/common/constants.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
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-
},
82
{
93
name: 'Polygon',
104
key: 'matic',
@@ -155,7 +149,12 @@ export const NETWORK_LIST = [
155149
iconPath: '/images/bsc-logo.svg',
156150
iconPathInverted: '/images/bsc-logo.svg',
157151
},
158-
152+
{
153+
name: 'EDU Chain',
154+
key: 'open-campus-test',
155+
iconPath: '/images/EduchainLogo.svg',
156+
iconPathInverted: '/images/EduchainLogo.svg',
157+
},
159158

160159
// {
161160
// name: 'Celo Alfajores',
@@ -174,7 +173,6 @@ interface NETWORK_ICON_MAP {
174173
}
175174

176175
export const NETWORK_ICON_MAP: NETWORK_ICON_MAP = {
177-
'open-campus-test': '/images/EduchainLogo.svg',
178176
mainnet: '/images/ethereum-logo-rainbow.svg',
179177
goerli: '/images/eth-diamond-purple.svg',
180178
sepolia: '/images/eth-diamond-purple.svg',
@@ -203,11 +201,11 @@ export const NETWORK_ICON_MAP: NETWORK_ICON_MAP = {
203201
'vanar-testnet': '/images/vanarlogo.svg',
204202
'vanar-mainnet': '/images/vanarlogo.svg',
205203
testnet: '/images/vanar-testnet.svg',
204+
'open-campus-test': '/images/EduchainLogo.svg',
206205

207206
};
208207

209208
export const NETWORK_SCANNER_MAP: { [key: string]: string } = {
210-
'open-campus-test': 'https://opencampus-codex.blockscout.com/',
211209
mainnet: 'https://etherscan.io',
212210
goerli: 'https://goerli.etherscan.io',
213211
sepolia: 'https://sepolia.etherscan.io',
@@ -236,6 +234,7 @@ export const NETWORK_SCANNER_MAP: { [key: string]: string } = {
236234
'vanar-testnet': 'https://explorer-vanguard.vanarchain.com',
237235
'vanar-mainnet': 'https://explorer.vanarchain.com',
238236
testnet: 'https://explorer-vanguard.vanarchain.com',
237+
'open-campus-test': 'https://opencampus-codex.blockscout.com/',
239238

240239
};
241240

0 commit comments

Comments
 (0)