Infura Provider Plugins for Ethereum-Based Networks

Infura is a popular Web3 backend and Infrastructure-as-a-Service (IaaS) provider that simplifies blockchain development, primarily for Ethereum and IPFS.

Quick Start

Use the Infura provider plugin to interact with blockchains via APIs. This plugin supports the following ecosystems:

  • Ethereum
  • Polygon
  • Arbitrum
  • Optimism



via pip

You can install the latest release via pip:

pip install ape-infura

via setuptools

You can clone the repository and use setuptools for the most up-to-date version:

git clone
cd ape-infura
python3 install

Quick Usage

First, make sure you have one of the following environment variables set (it doesn't matter which one):


Either in your current terminal session or in your root RC file (e.g. .bashrc), add the following:


To use the Infura provider plugin in most commands, set it via the --network option:

ape console --network ethereum:goerli:infura

To connect to Infura from a Python script, use the networks top-level manager:

from ape import networks

with networks.parse_network_choice("ethereum:mainnet:infura") as provider:

View on GitHub: 

#web3 #ethereum #python 

Infura Provider Plugins for Ethereum-Based Networks
1.55 GEEK