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.0.tar.gz
.
File metadata
- Download URL: ape-blockscout-0.7.0.tar.gz
- Upload date:
- Size: 79.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa303b786d43b7e9821a48444ca0c88178a5322d09a667be74e0b021a5b7b85f |
|
MD5 | 1024aba3294998476871b00b404955f0 |
|
BLAKE2b-256 | 39a2a43e780fe0e4a09cdc1faceb95fa0aefc212c79d0a57b286ecd194a8e2b9 |
File details
Details for the file ape_blockscout-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: ape_blockscout-0.7.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d45e54ad9071cbd195e2d8c705573f538786edd9d15c1f34bf2dfd55eeb3a0a6 |
|
MD5 | 47db4ffb26c6d4c9752d862c85768e59 |
|
BLAKE2b-256 | 2d870421581e152c85d022942e97b88b2bed3aab73a0bfc638903ced7c5c526a |