Skip to main content

ape-chainstack: Ape Ecosystem Plugin for Chainstack

Project description

Quick Start

Chainstack network provider plugins.

This plugin allows using the Ape framework with Chainstack as a node provider in an easy and integrated way.

Dependencies

Installation

via pip

You can install the latest release via pip:

pip install ape-chainstack

via setuptools

You can clone the repository and use setuptools for the most up-to-date version:

git clone https://github.com/ApeWorX/ape-chainstack.git
cd ape-chainstack
python3 setup.py install

Quick Usage

Set up the environment

Follow these steps to sign up on Chainstack, deploy a node, and find your endpoint credentials:

  1. Sign up with Chainstack.
  2. Deploy a node.
  3. View node access and credentials.

Create an environment variable with your Chainstack node URL in this format CHAINSTACK_"NETWORK"_URL=ENDPOINT_URL; for example:

export CHAINSTACK_GOERLI_URL=https://nd-11X-26X-16X.p2pify.com/YOUR_API_KEY

Use the command ape networks list to see the networks available:

ethereum  (default)
├── holesky
│   ├── chainstack
│   └── node  (default)
├── local  (default)   ├── node
│   └── test  (default)
├── mainnet
│   ├── chainstack
│   └── node  (default)
└── sepolia
    ├── chainstack
    └── node  (default)

Use the --network command to access the console using your node; for example:

ape console --network ethereum:sepolia:chainstack

Check the Ape docs to see how to select a network.

Now you are ready to use Ape to develop and test your smart contract, checkout the Ape Academy for tutorials.

Development

This project is in development and should be considered a beta. Things might not be in their final state and breaking changes may occur.

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-chainstack-0.8.0a1.tar.gz (15.7 kB view hashes)

Uploaded Source

Built Distribution

ape_chainstack-0.8.0a1-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

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