Skip to content

Commit

Permalink
fix: use alchemy rpc for ethereum
Browse files Browse the repository at this point in the history
  • Loading branch information
gosuto-inzasheru committed Apr 30, 2024
1 parent 5c56a8b commit e2b0c17
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions generate_current_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@
ALCHEMY_KEY = os.getenv("ALCHEMY_KEY")

w3_by_chain = {
# "base": Web3(
# Web3.HTTPProvider(f"https://base-mainnet.g.alchemy.com/v2/{ALCHEMY_KEY}")
## ),
"gnosis": Web3(Web3.HTTPProvider(f"https://rpc.gnosischain.com")),
"zkevm": Web3(Web3.HTTPProvider(f"https://zkevm-rpc.com")),
"avalanche": Web3(Web3.HTTPProvider(f"https://api.avax.network/ext/bc/C/rpc")),
# "fantom": Web3(Web3.HTTPProvider("https://rpc.fantom.network")),
### Less reliable RPCs first to fail fast :)
"mainnet": Web3(Web3.HTTPProvider(f"https://mainnet.infura.io/v3/{INFURA_KEY}")),
"mainnet": Web3(
Web3.HTTPProvider(f"https://eth-mainnet.g.alchemy.com/v2/{ALCHEMY_KEY}")
),
"base": Web3(
Web3.HTTPProvider(f"https://base-mainnet.g.alchemy.com/v2/{ALCHEMY_KEY}")
),
"arbitrum": Web3(
Web3.HTTPProvider(f"https://arbitrum-mainnet.infura.io/v3/{INFURA_KEY}")
),
Expand Down

0 comments on commit e2b0c17

Please sign in to comment.