diff --git a/src/components/send/requestSuccess.vue b/src/components/send/requestSuccess.vue index 4472c8f..b4c04f6 100644 --- a/src/components/send/requestSuccess.vue +++ b/src/components/send/requestSuccess.vue @@ -13,7 +13,7 @@ const emit = defineEmits(["close", "shoutout"]); const chainSpecificExplorers = { 56: "https://bscscan.com/", 97: "https://testnet.bscscan.com/", - 80001: "https://mumbai.polygonscan.com/", + 80002: "https://www.oklink.com/amoy", 137: "https://polygonscan.com/", 204: "https://opbnbscan.com/", }; diff --git a/src/constants/chainList.ts b/src/constants/chainList.ts index b44c3ca..8b58b98 100644 --- a/src/constants/chainList.ts +++ b/src/constants/chainList.ts @@ -19,14 +19,13 @@ const chains = { explorer: "https://polygonscan.com", icon_url: "https://icons.llamao.fi/icons/chains/rsz_polygon.jpg", }, - 80001: { - name: "Polygon Mumbai", - chain_id: 80001, - rpc_url: - "https://polygon-testnet.blastapi.io/7c12fa10-4e46-4810-bf66-6b3148119501", - blockchain: "polygon_mumbai", + 80002: { + name: "Polygon Amoy Testnet", + chain_id: 80002, + rpc_url: "https://rpc-amoy.polygon.technology", + blockchain: "polygon_amoy", currency: "MATIC", - explorer: "https://mumbai.polygonscan.com", + explorer: "https://www.oklink.com/amoy", icon_url: "https://icons.llamao.fi/icons/chains/rsz_polygon.jpg", }, 42161: { @@ -90,11 +89,11 @@ const chains = { }, }; -export const testnetChains = [80001, 97]; +export const testnetChains = [80002, 97]; export const testnetChainFaucets = { 97: "https://testnet.binance.org/faucet-smart", - 80001: "https://mumbaifaucet.com", + 80002: "https://faucet.polygon.technology", }; export const gaslessChains = [137]; @@ -102,7 +101,7 @@ export const gaslessChains = [137]; export enum ChainNames { "eth" = "Ethereum", "polygon" = "Polygon PoS", - "polygon_mumbai" = "Polygon Mumbai", + "polygon_amoy" = "Polygon Amoy Testnet", "arbitrum" = "Arbitrum One", "bsc" = "BNB Smart Chain", "bsc_testnet_chapel" = "BNB Smart Chain Testnet", @@ -114,7 +113,7 @@ export enum ChainNames { export enum ChainIds { "eth" = 1, "polygon" = 137, - "polygon_mumbai" = 80001, + "polygon_amoy" = 80002, "arbitrum" = 42161, "bsc" = 56, "bsc_testnet_chapel" = 97, @@ -124,8 +123,8 @@ export enum ChainIds { } export const SupportedChainIdsForAccounts = { - eoa: [1, 137, 80001, 42161, 56, 97, 204], - scw: [137, 80001], + eoa: [1, 137, 80002, 42161, 56, 97, 204], + scw: [137], }; export default chains; diff --git a/src/constants/requestableTokens.ts b/src/constants/requestableTokens.ts index 38194eb..a8e4c2d 100644 --- a/src/constants/requestableTokens.ts +++ b/src/constants/requestableTokens.ts @@ -63,14 +63,14 @@ export const requestableTokens = { decimals: 18, }, ], - 80001: [ - { - symbol: "MATIC", - tokenType: "NATIVE", - address: "NATIVE", - decimals: 18, - }, - ], + // 80002: [ + // { + // symbol: "MATIC", + // tokenType: "NATIVE", + // address: "NATIVE", + // decimals: 18, + // }, + // ], 42161: [ { symbol: "ETH", diff --git a/src/constants/socket-ids.ts b/src/constants/socket-ids.ts index 357cb64..af63e18 100644 --- a/src/constants/socket-ids.ts +++ b/src/constants/socket-ids.ts @@ -48,6 +48,6 @@ const TOKEN_TYPES = { ERC20: 1, }; -const GAS_SUPPORTED_CHAINS = [137, 80001]; +const GAS_SUPPORTED_CHAINS = [137]; export { SOCKET_IDS, LEADERBOARD_TYPES, TOKEN_TYPES, GAS_SUPPORTED_CHAINS }; diff --git a/src/constants/unitMapping.ts b/src/constants/unitMapping.ts index 58dd727..d40cf77 100644 --- a/src/constants/unitMapping.ts +++ b/src/constants/unitMapping.ts @@ -3,7 +3,7 @@ const nativeUnitMapping = { 5: "ETH", 11155111: "ETH", 137: "MATIC", - 80001: "MATIC", + 80002: "MATIC", 42161: "ETH", 56: "BNB", 97: "BNB", diff --git a/src/pages/private/wallets/index.vue b/src/pages/private/wallets/index.vue index db7f599..63ce178 100644 --- a/src/pages/private/wallets/index.vue +++ b/src/pages/private/wallets/index.vue @@ -224,14 +224,14 @@ function handleSendToken(asset: any, accountType: string) {
- + -->