From 6ee6620e83c50a154e5b9398a0c3982706a3a4db Mon Sep 17 00:00:00 2001 From: Christian Perez Villanueva Date: Wed, 18 Aug 2021 20:17:20 -0400 Subject: [PATCH] Polygon Support Added polygon chain ID to `_netid_to_name` constant. This allows us to connect to polygon network. --- uniswap/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/uniswap/constants.py b/uniswap/constants.py index d7a7ee4..0318697 100644 --- a/uniswap/constants.py +++ b/uniswap/constants.py @@ -8,6 +8,7 @@ 4: "rinkeby", 56: "binance", 97: "binance_testnet", + 137: "polygon", 100: "xdai", }