# Quick Start
Use the [LlamaNodes](https://llamanodes.com/) 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](https://www.python.org/downloads) version 3.8 up to 3.11.
## Installation
### via `pip`
You can install the latest release via [`pip`](https://pypi.org/project/pip/):
```bash
pip install ape-llamanodes
```
### 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-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:
```bash
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:
```bash
ape console --network ethereum:mainnet:llamanodes
```
To connect to LlamaNodes from a Python script, use the `networks` top-level manager:
```python
from ape import networks
with networks.parse_network_choice("ethereum:mainnet:llamanodes") as provider:
...
```
Raw data
{
"_id": null,
"home_page": "https://github.com/llamanodes/ape-llamanodes",
"name": "ape-llamanodes",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4",
"maintainer_email": "",
"keywords": "ethereum",
"author": "LlamaNodes",
"author_email": "info@llamanodes.com",
"download_url": "https://files.pythonhosted.org/packages/48/51/544b77b8885b459c5661f49882c8faf97fb7e9c0b337e18ac73f7fcac260/ape-llamanodes-0.6.1.tar.gz",
"platform": null,
"description": "# Quick Start\n\nUse the [LlamaNodes](https://llamanodes.com/) provider plugin to interact with blockchains via APIs.\nThis plugin supports the following ecosystems:\n\n- Ethereum (mainnet and goerli)\n- Base (currently in alpha testing)\n- Polygon\n- BNB Smart Chain\n- Arbitrum\n- Optimism\n\n## Dependencies\n\n- [python3](https://www.python.org/downloads) version 3.8 up to 3.11.\n\n## Installation\n\n### via `pip`\n\nYou can install the latest release via [`pip`](https://pypi.org/project/pip/):\n\n```bash\npip install ape-llamanodes\n```\n\n### via `setuptools`\n\nYou can clone the repository and use [`setuptools`](https://github.com/pypa/setuptools) for the most up-to-date version:\n\n```bash\ngit clone https://github.com/ApeWorX/ape-llamanodes.git\ncd ape-llamanodes\npython3 setup.py install\n```\n\n## Quick Usage\n\nFirst, make sure you have one of the following environment variables set (it doesn't matter which one):\n\n- WEB3_LLAMANODES_API_KEY\n- WEB3_LLAMANODES_PROJECT_ID\n- WEB3_LLAMARPC_API_KEY\n- WEB3_LLAMARPC_PROJECT_ID\n\nEither in your current terminal session or in your root RC file (e.g. `.bashrc`), add the following:\n\n```bash\nexport WEB3_LLAMANODES_API_KEY=MY_API_TOKEN\n```\n\nThe provider will work without the environment variables, but it uses the free tier which has stricter limits.\n\nTo use the LlamaNodes provider plugin in most commands, set it via the `--network` option:\n\n```bash\nape console --network ethereum:mainnet:llamanodes\n```\n\nTo connect to LlamaNodes from a Python script, use the `networks` top-level manager:\n\n```python\nfrom ape import networks\n\nwith networks.parse_network_choice(\"ethereum:mainnet:llamanodes\") as provider:\n ...\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "ape-llamanodes: LlamaNodes Provider plugins for Ethereum-based networks",
"version": "0.6.1",
"project_urls": {
"Homepage": "https://github.com/llamanodes/ape-llamanodes"
},
"split_keywords": [
"ethereum"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dbfe4ed1a5274052af6b72991258115a8ae05f50b8b6a920e4ecce8af37be3dd",
"md5": "d8997c9377f7a91914e928f605978f43",
"sha256": "f5dda56d89b15bbab58926db559b72616347481580b6e71835c63dab12361e84"
},
"downloads": -1,
"filename": "ape_llamanodes-0.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d8997c9377f7a91914e928f605978f43",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4",
"size": 8886,
"upload_time": "2023-09-25T20:03:40",
"upload_time_iso_8601": "2023-09-25T20:03:40.238887Z",
"url": "https://files.pythonhosted.org/packages/db/fe/4ed1a5274052af6b72991258115a8ae05f50b8b6a920e4ecce8af37be3dd/ape_llamanodes-0.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4851544b77b8885b459c5661f49882c8faf97fb7e9c0b337e18ac73f7fcac260",
"md5": "8767f0f5942f9f40b4d92209685c393b",
"sha256": "9b1cda67eae521329c6dc2c9f10782fc9dfa5b5583a9e89445dee73f25c657a6"
},
"downloads": -1,
"filename": "ape-llamanodes-0.6.1.tar.gz",
"has_sig": false,
"md5_digest": "8767f0f5942f9f40b4d92209685c393b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4",
"size": 15577,
"upload_time": "2023-09-25T20:03:42",
"upload_time_iso_8601": "2023-09-25T20:03:42.011234Z",
"url": "https://files.pythonhosted.org/packages/48/51/544b77b8885b459c5661f49882c8faf97fb7e9c0b337e18ac73f7fcac260/ape-llamanodes-0.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-25 20:03:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "llamanodes",
"github_project": "ape-llamanodes",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ape-llamanodes"
}