Add support for Hardhat as a network provider in Ape.
Value:
Hardhat is an Ethereum development environment written in JavaScript that includes a JSON RPC node. We can use this endpoint as a network provider (as an alternative to existing eth-tester, Infura, and HTTP network providers). The Hardhat node has a few extra features that are useful for Ape developers, like a fork mode and snapshots (esp. useful for writing test code).
Dependencies:
N/A.
Design approach:
Should be straightforward to implement using the existing HTTP provider (EthereumProvider) and possibly looking at Brownie's hardhat support:
Elevator pitch:
Add support for Hardhat as a network provider in Ape.
Value:
Hardhat is an Ethereum development environment written in JavaScript that includes a JSON RPC node. We can use this endpoint as a network provider (as an alternative to existing eth-tester, Infura, and HTTP network providers). The Hardhat node has a few extra features that are useful for Ape developers, like a fork mode and snapshots (esp. useful for writing test code).
Dependencies:
N/A.
Design approach:
Should be straightforward to implement using the existing HTTP provider (
EthereumProvider
) and possibly looking at Brownie's hardhat support:https://github.com/eth-brownie/brownie/blob/master/brownie/network/rpc/hardhat.py
Task list:
Estimated completion date:
Mid August 2021.
Design review:
Do not signoff unless:
(Please leave a comment to sign off)