Skip to content

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log. This version comes with an accelerated hardhat network to allow for smoother interaction with MetaMask & DApps.

License

Notifications You must be signed in to change notification settings

MarioPoneder/accelerated-hardhat

 
 

Repository files navigation

NPM Package GitPOAP Badge


Hardhat is an Ethereum development environment for professionals. It facilitates performing frequent tasks, such as running tests, automatically checking code for mistakes or interacting with a smart contract. Check out the plugin list to use it with your existing tools.

Built by the Nomic Foundation for the Ethereum community.

Join our Hardhat Support Discord server to stay up to date on new releases, plugins and tutorials.

Accelerated Hardhat: Changes to original v2.12.4

This version comes with an accelerated hardhat network to allow for smoother interaction with MetaMask & DApps.

  • Hardhat network (fork): avoid unnecessary JSON-RPC and keep account data (nonce, balance, code, storage) in memory
  • Hardhat network (fork): introduced 'eth_call' data size limit of 10000 bytes (performance reasons)
  • Hardhat network (fork): enable on-disk caching per default, but only store non-zero contract code ('eth_getCode')
  • Hardhat network (fork): adapt account nonce in order to use MetaMask without an account reset on each new fork instance

(see commit history for details)

Installation

To install Hardhat, go to an empty folder, initialize an npm project (i.e. npm init), and run

npm install --save-dev accelerated-hardhat

Once it's installed, just run this command and follow its instructions:

npx accelerated-hardhat

Documentation

On Hardhat's website you will find:

Contributing

Contributions are always welcome! Feel free to open any issue or send a pull request.

Go to CONTRIBUTING.md to learn about how to set up Hardhat's development environment.

Feedback, help and news

Hardhat Support Discord server: for questions and feedback.

Follow Hardhat on Twitter.

Happy building!

👷‍♀️👷‍♂️👷‍♀️👷‍♂️👷‍♀️👷‍♂️👷‍♀️👷‍♂️👷‍♀️👷‍♂️👷‍♀️👷‍♂️👷‍♀️👷‍♂️

About

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log. This version comes with an accelerated hardhat network to allow for smoother interaction with MetaMask & DApps.

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 97.7%
  • Solidity 2.0%
  • Other 0.3%