ape-blockscout: Blockscout Explorer Plugin
Project description
Quick Start
The following blockchain explorers are supported in this plugin:
- Base for Base networks.
- Ethereum for Ethereum networks.
- Gnosis for Gnosis networks.
- Optimism for Optimism networks.
- Polygon for Polygon POS networks.
Dependencies
- python3 version 3.8 up to 3.11.
Installation
via pip
You can install the latest release via pip
:
pip install ape-blockscout
via setuptools
You can clone the repository and use setuptools
for the most up-to-date version:
git clone https://github.com/ApeWorX/ape-blockscout.git
cd ape-blockscout
python3 setup.py install
Quick Usage
Set up the environment
Specify API keys as environment variables. You could put them in your shell's config like ~/.profile
or use a tool like direnv and store them locally in .envrc
.
You can also specify multiple comma-separated keys, a random key will be chosen for each request. This could be useful if you hit API rate limits.
You can obtain an API key by registering with Blockscout and visiting this page.
export BASE_BLOCKSCOUT_API_KEY=SAMPLE_KEY
export ETH_BLOCKSCOUT_API_KEY=SAMPLE_KEY
export GNOSIS_BLOCKSCOUT_API_KEY=SAMPLE_KEY
export OPTIMISM_BLOCKSCOUT_API_KEY=SAMPLE_KEY
export POLYGON_BLOCKSCOUT_API_KEY=SAMPLE_KEY
Development
Please see the contributing guide to learn more how to contribute to this project. Comments, questions, criticisms and pull requests are welcomed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ape-blockscout-0.7.1.tar.gz
.
File metadata
- Download URL: ape-blockscout-0.7.1.tar.gz
- Upload date:
- Size: 79.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5f0ad71517cf3bf89d3da6b1c139da79f210e9036739d67178720330f14362e |
|
MD5 | 3be102638a44e36ac4ac419a461c47a1 |
|
BLAKE2b-256 | 6158040e7116be2850c867d83da60a83cff2952fb0e1511476f795e407529df9 |
File details
Details for the file ape_blockscout-0.7.1-py3-none-any.whl
.
File metadata
- Download URL: ape_blockscout-0.7.1-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d209ae4d89818aeb5fd6e7fb36edfa5638df0157ed24dd3c64aad42305d8970f |
|
MD5 | 6b219c193973dd7626b0af60fa82369f |
|
BLAKE2b-256 | 8b5150334aa657b73966cb886fad956ed9f15c70469e3b73d4bb275f8dfa9ebd |