Skip to content

Commit

Permalink
Merge pull request #108 from OpenZeppelin/plat-1934-add-support-for-m…
Browse files Browse the repository at this point in the history
…antle-network

Add support to mantle network
  • Loading branch information
MCarlomagno authored Oct 2, 2023
2 parents 897675c + fe05510 commit c6763d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/base/src/utils/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export type PublicNetwork =
| 'base'
| 'base-goerli'
| 'linea-goerli'
| 'linea';
| 'linea'
| 'mantle';
export type CustomNetwork = 'x-dfk-avax-chain' | 'x-dfk-avax-chain-test' | 'x-security-alliance';
export type ForkedNetwork = string;

Expand Down Expand Up @@ -82,6 +83,7 @@ export const Networks: Network[] = [
'x-dfk-avax-chain',
'x-dfk-avax-chain-test',
'x-security-alliance',
'mantle',
];

export function isValidNetwork(text: string): text is Network {
Expand Down Expand Up @@ -136,4 +138,5 @@ const chainIds: { [key in Network]: number } = {
'x-dfk-avax-chain': 53935,
'x-dfk-avax-chain-test': 335,
'x-security-alliance': 888,
'mantle': 5000,
};

0 comments on commit c6763d2

Please sign in to comment.