{"repo":"ApeWorX/ape-hardhat","free":true,"listed":false,"github":"https://github.com/ApeWorX/ape-hardhat","clone":"git clone https://github.com/ApeWorX/ape-hardhat.git","description":"Hardhat network provider for the Ape Framework","language":"Python","stars":20,"topics":["python","ethereum","hardhat","web3","smart-contracts","hardhat-plugin","apeworx","ape"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Quick Start This is a Hardhat network provider plugin for Ape. Hardhat is a development framework written in Node.js for Ethereum that includes a local network implementation. Use this plugin to manage a Hardhat node process or connect to an existing one. Dependencies - python3 version 3.9 up to 3.12. - Node.js, NPM, and Hardhat 2.12.0 or greater. See Hardhat's Installation documentation for steps. Installation via pip You can install the latest release via pip : via setuptools You can clone the repository and use setuptools for the most up-to-date version: Quick Usage To use the plugin, first install Hardhat locally into your Ape project directory: After that, you can use the --network ethereum:local: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 : To select a random port, use a value of \"auto\": NOTE : If you plan on running multiple Hardhat nodes of any kind, you likely will want to use auto or configure multiple hosts (see examples below). This is useful for multiprocessing and starting up multiple providers. You can also adjust the request timeout setting: Mainnet Fork The ape-hardhat plugin also includes a mainnet fork provider. It requires using another provider that has access to mainnet. Use it in most commands like this: Specify the upstream archive-data provider in your ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ApeWorX","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ApeWorX/ape-hardhat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}