Skip to main content

ape-hardhat: Ape network provider for Hardhat

Project description

Hardhat network provider plugin for Ape. Hardhat is a development framework written in Node.js for Ethereum that includes a local network implementation.

Dependencies

  • python3 version 3.7 or greater, python3-dev

  • Node.js, NPM, and Hardhat. See Hardhat’s Installation documentation for steps.

Installation

via pip

You can install the latest release via pip:

pip install ape-hardhat

via setuptools

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

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

Quick Usage

To use the plugin, first install Hardhat locally into your Ape project directory:

cd your-ape-project
npm install --save-dev hardhat

After that, you can use the --network ethereum:development:hardhat command line flag to use the hardhat network (if it’s not already configured as the default).

This network provider takes additional Hardhat-specific configuration options. To use them, add these configs in your project’s ape-config.yaml:

hardhat:
  port: 8555
  ethereum:
    development:
      uri: http://localhost:8555

Development

This project is in early development and should be considered an alpha. Things might not work, breaking changes are likely. Comments, questions, criticisms and pull requests are welcomed.

License

This project is licensed under the Apache 2.0.

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-hardhat-0.1.0a2.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

ape_hardhat-0.1.0a2-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file ape-hardhat-0.1.0a2.tar.gz.

File metadata

  • Download URL: ape-hardhat-0.1.0a2.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ape-hardhat-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 5402438310e58855a548492acfae53822bfd8c3c7eeac5c37ee972a919218e9b
MD5 873645844ff865add8fdfccd2d9a0248
BLAKE2b-256 9d378a3131e2c8958b4c9a1e376566d45f88265921aac5099311a38c83fd2ff8

See more details on using hashes here.

File details

Details for the file ape_hardhat-0.1.0a2-py3-none-any.whl.

File metadata

  • Download URL: ape_hardhat-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ape_hardhat-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 506b9d3a35fc97cb51ab63e7f49c2e31a019dbfc79322dcd1e72a26c070a6b0e
MD5 8245383e785079b1bfe7e7c975b534b3
BLAKE2b-256 fdddfecd05d378a735093fbef523e0e390c4d76f2b0f8254910abcbd1f27af91

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