Skip to main content

ape-llamanodes: LlamaNodes Provider plugins for Ethereum-based networks

Project description

Quick Start

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

  • Ethereum (mainnet and goerli)
  • Polygon
  • BNB Smart Chain
  • Arbitrum (currently in alpha testing)
  • Optimism (currently in alpha testing)

Dependencies

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:
    ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ape-llamanodes-0.6.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

ape_llamanodes-0.6.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file ape-llamanodes-0.6.0.tar.gz.

File metadata

  • Download URL: ape-llamanodes-0.6.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for ape-llamanodes-0.6.0.tar.gz
Algorithm Hash digest
SHA256 5569fd682488c5686d0462ae972ec845f8c92c32461b1b3d055cedc8d1e000e9
MD5 0935197bc82fb31d3198170ded6ad02f
BLAKE2b-256 88895f7dd97d40cb6706b4b9790bb8234d884363335c8dbab8b61575dbb571ba

See more details on using hashes here.

File details

Details for the file ape_llamanodes-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ape_llamanodes-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e044f7739856ad3371303de9bae1d9f18726dff3ca3edb1d520c345f478a5951
MD5 671c7370eb5aa16ba15d3885d00d42cf
BLAKE2b-256 441238d347f770744718f2a3559613c1caec43647f300d0f917f495648b41bbb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page