From 6608f5791b69d7fcf8e779bb8269c6d12e79c084 Mon Sep 17 00:00:00 2001 From: sanyu1225 Date: Mon, 29 Apr 2024 15:59:58 +0800 Subject: [PATCH] feat: migration testnet polygon_mumbai to polygon_amoy --- .gitignore | 5 ++++- src/services/evm.ts | 6 +++--- src/types/ChainTypes.ts | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 532eddc..2ac3efa 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,7 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -.env \ No newline at end of file +.env + +# IntelijIDEA +.idea \ No newline at end of file diff --git a/src/services/evm.ts b/src/services/evm.ts index e3fa3aa..39cfe4c 100644 --- a/src/services/evm.ts +++ b/src/services/evm.ts @@ -75,9 +75,9 @@ export const supportedChains = [ environment: "mainnet", }, { - name: "Polygon Testnet", - chainId: "0x13881", - rpcUrls: ["https://rpc-mumbai.maticvigil.com/"], + name: "Polygon Amoy Testnet", + chainId: "0x13882", + rpcUrls: ["https://rpc-amoy.polygon.technology/"], faucet: "https://faucet.polygon.technology/", environment: "testnet", }, diff --git a/src/types/ChainTypes.ts b/src/types/ChainTypes.ts index 8f2d1ce..6867071 100644 --- a/src/types/ChainTypes.ts +++ b/src/types/ChainTypes.ts @@ -18,7 +18,7 @@ export enum EvmChainId { Bsc = "0x38", BscTestnet = "0x61", Polygon = "0x89", - PolygonTestnet = "0x13881", + PolygonTestnet = "0x13882", Avalanche = "0xa86a", AvalancheTestnet = "0xa869", Arbitrum = "0xa4b1",