Metadata-Version: 2.1
Name: ape-infura
Version: 0.5.0
Summary: ape-infura: Infura Provider plugins for Ethereum-based networks
Home-page: https://github.com/ApeWorX/ape-infura
Author: ApeWorX Ltd.
Author-email: admin@apeworx.io
License: Apache-2.0
Description: # Quick Start
        
        Infura Provider plugins for Ethereum-based networks
        
        ## Dependencies
        
        * [python3](https://www.python.org/downloads) version 3.8 or greater, python3-dev
        
        ## Installation
        
        ### via `pip`
        
        You can install the latest release via [`pip`](https://pypi.org/project/pip/):
        
        ```bash
        pip install ape-infura
        ```
        
        ### via `setuptools`
        
        You can clone the repository and use [`setuptools`](https://github.com/pypa/setuptools) for the most up-to-date version:
        
        ```bash
        git clone https://github.com/ApeWorX/ape-infura.git
        cd ape-infura
        python3 setup.py install
        ```
        
        ## Quick Usage
        
        First, make sure you have one of the following environment variables set (it doesn't matter which one):
        
        * WEB3_INFURA_PROJECT_ID
        * WEB3_INFURA_API_KEY
        
        Either in your current terminal session or in your root RC file (e.g. `.bashrc`), add the following:
        
        ```bash
        export WEB3_INFURA_PROJECT_ID=MY_API_TOKEN
        ```
        
        To use the Infura provider plugin in most commands, set it via the `--network` option:
        
        ```bash
        ape console --network ethereum:goerli:infura
        ```
        
        To connect to Infura from a Python script, use the `networks` top-level manager:
        
        ```python
        from ape import networks
        
        with networks.parse_network_choice("ethereum:mainnet:infura") as provider:
            ...
        ```
        
Keywords: ethereum
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.8,<3.11
Description-Content-Type: text/markdown
Provides-Extra: test
Provides-Extra: lint
Provides-Extra: doc
Provides-Extra: release
Provides-Extra: dev
