Skip to content

Commit

Permalink
support morph
Browse files Browse the repository at this point in the history
  • Loading branch information
jiguantong committed Oct 23, 2024
1 parent 3a8dc0e commit 4dcd5b0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions public/images/chains/morph.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion src/config/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,16 @@ export const chains: CHAIN[] = [
}
},
testnet: true
}
},
{
id: ChAIN_ID.MORPH,
name: 'Morph',
iconUrl: '/images/chains/morph.svg',
blockExplorers: {
default: {
name: 'Morph',
url: 'https://explorer.morphl2.io/'
}
}
},
];
3 changes: 2 additions & 1 deletion src/types/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export enum ChAIN_ID {
MOONBEAM = 1284,
TAIKO_HEKLA = 167009,
PANGORO = 45,
KOI = 701
KOI = 701,
MORPH = 2818
}

export type CHAIN = {
Expand Down

0 comments on commit 4dcd5b0

Please sign in to comment.