From f1ab60e436f39afaf0437c60b51d2431e1ac269a Mon Sep 17 00:00:00 2001 From: dwm13 <164910355+dwm13@users.noreply.github.com> Date: Thu, 28 Nov 2024 00:18:00 -0800 Subject: [PATCH] feat: Add Amoy Testnet configuration to RainbowKit (#2250) * Add Amoy Testnet configuration to RainbowKit * Amoy to PolygonAmoy * Amoy removed * Update provideRainbowKitChains.ts --------- Co-authored-by: Daniel Sinclair <4412473+DanielSinclair@users.noreply.github.com> --- .../components/RainbowKitProvider/provideRainbowKitChains.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/rainbowkit/src/components/RainbowKitProvider/provideRainbowKitChains.ts b/packages/rainbowkit/src/components/RainbowKitProvider/provideRainbowKitChains.ts index b0fcd1fcca..4f03fd93b2 100644 --- a/packages/rainbowkit/src/components/RainbowKitProvider/provideRainbowKitChains.ts +++ b/packages/rainbowkit/src/components/RainbowKitProvider/provideRainbowKitChains.ts @@ -41,6 +41,7 @@ type ChainName = | 'optimismGoerli' | 'optimismSepolia' | 'polygon' + | 'polygonAmoy' | 'polygonMumbai' | 'rinkeby' | 'ropsten' @@ -216,6 +217,7 @@ const chainMetadataByName: Record = { optimismKovan: { chainId: 69, ...optimismIcon }, optimismSepolia: { chainId: 11155420, ...optimismIcon }, polygon: { chainId: 137, name: 'Polygon', ...polygonIcon }, + polygonAmoy: {chainId: 80002, ... polygonIcon}, polygonMumbai: { chainId: 80_001, ...polygonIcon }, rinkeby: { chainId: 4, ...ethereumIcon }, ropsten: { chainId: 3, ...ethereumIcon },