Quick Start
Use the LlamaNodes provider plugin to interact with blockchains via APIs. This plugin supports the following ecosystems:
- Ethereum (mainnet and goerli)
- Base (currently in alpha testing)
- Polygon
- BNB Smart Chain
- Arbitrum
- Optimism
Dependencies
- python3 version 3.8 up to 3.11.
Installation
via pip
You can install the latest release via pip:
pip install ape-llamanodes
via setuptools
You can clone the repository and use setuptools for the most up-to-date version:
git clone https://github.com/ApeWorX/ape-llamanodes.git
cd ape-llamanodes
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_LLAMANODES_API_KEY
- WEB3_LLAMANODES_PROJECT_ID
- WEB3_LLAMARPC_API_KEY
- WEB3_LLAMARPC_PROJECT_ID
Either in your current terminal session or in your root RC file (e.g. .bashrc), add the following:
export WEB3_LLAMANODES_API_KEY=MY_API_TOKEN
The provider will work without the environment variables, but it uses the free tier which has stricter limits.
To use the LlamaNodes provider plugin in most commands, set it via the --network option:
ape console --network ethereum:mainnet:llamanodes
To connect to LlamaNodes from a Python script, use the networks top-level manager:
from ape import networks
with networks.parse_network_choice("ethereum:mainnet:llamanodes") as provider:
...
Metadata
Release files for ape-llamanodes 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ape-llamanodes-0.6.1.tar.gz | 15.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ape_llamanodes-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.5 kB
Release files / ape-llamanodes-0.6.1.tar.gz
| Download URL | ape-llamanodes-0.6.1.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b1cda67eae521329c6dc2c9f10782fc9dfa5b5583a9e89445dee73f25c657a6
|
|
BLAKE2b-256 checksum How to use checksums |
4851544b77b8885b459c5661f49882c8faf97fb7e9c0b337e18ac73f7fcac260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / ape_llamanodes-0.6.1-py3-none-any.whl
| Download URL | ape_llamanodes-0.6.1-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5dda56d89b15bbab58926db559b72616347481580b6e71835c63dab12361e84
|
|
BLAKE2b-256 checksum How to use checksums |
dbfe4ed1a5274052af6b72991258115a8ae05f50b8b6a920e4ecce8af37be3dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|