Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
OTHER License
Bot releases are hidden (Show)
Published by alcuadrado over 2 years ago
This release improves the plugin's type definitions so that other plugins can extend them.
Published by alcuadrado over 2 years ago
This release improves the plugin's type definitions so that other plugins can extend them.
Published by alcuadrado over 2 years ago
This is a small patch release that improves how some errors are created.
Published by alcuadrado over 2 years ago
This release adds support for the Moonbeam network.
Published by alcuadrado over 2 years ago
This is a small patch version that improves the sample project and replaces a deprecated dependency.
.prettierc
to make IDEs auto-formatting work properly in some scenarios.@nomiclabs/hardhat-etherscan
used by the sample projects (#2217)Published by alcuadrado over 2 years ago
This is a small patch release that fixes an issue when using this plugin with TypeScript.
Fix an issue that was causing typescript projects to also compile Hardhat's source (#2260).
Published by alcuadrado over 2 years ago
This is a small patch release that fixes an issue when using this plugin with TypeScript.
Fix an issue that was causing typescript projects to also compile Hardhat's source (#2260).
Published by feuGeneA over 2 years ago
Add support for the hexEqual matcher (#2200)
Published by feuGeneA over 2 years ago
Published by feuGeneA over 2 years ago
This release is a full revamp of our hardhat vyper plugin that fixes many issues (#2082, #1364, #1338, #1335, #1258). The most important changes are:
Check the README to learn more.
Published by fvictorio almost 3 years ago
This release adds a better error message when Hardhat's project initialization fails in Git Bash.
For technical reasons (see this comment if you want to know more), project initialization doesn't work in Git Bash. Everything else should work, but you have to use PowerShell or cmd to create a project with npx hardhat
.
Published by fvictorio almost 3 years ago
This new major version includes one of our most requested features: the possibility to specify multiple API keys for the hardhat-etherscan
plugin (#1448).
You can learn more here, but the bottom line is that you can now do this in your config:
etherscan: {
apiKey: {
mainnet: etherscanApiKey,
rinkeby: etherscanApiKey,
optimisticKovan: optimismEtherscanApiKey,
polygonMumbai: polygonscanApiKey,
arbitrumTestnet: arbiscanApiKey,
}
}
Importantly, the name of these keys don't necessarily match the name of the network in your config. See the docs to learn which names need to be used for each chain.
Published by fvictorio almost 3 years ago
This version adds two methods to the ethers
object included in the Hardhat Runtime Environment: getContractFactoryFromArtifact
and getContractAt
(#1716). These are low-level methods that are useful when you have your own artifact-loading logic, but that won't be necessary for most users.
Published by fvictorio almost 3 years ago
This version fixes an issue that prevented the test
task from being run programmatically twice in the same script (#1720).
Besides that, now a warning is shown if the exported configuration is an empty object. This helps in cases where a config
object is created but the user forgets to export it (#1490).
Published by fvictorio almost 3 years ago
This release adds support for using a custom hardfork history when forking networks that aren't officially supported by Hardhat (networks like xDai, Polygon, Avalanche, etc.) This is only relevant if you are forking one of those networks and making calls in the context of historical blocks. You can read more about this here.
This version also fixes a small problem with the output of the node
task when it was redirected to a file (#467).
Published by fvictorio almost 3 years ago
This release adds support for the Arrow Glacier hardfork.
Besides, it fixes an issue (#1466) that prevented Hardhat from working when the compilers list was partially downloaded.
Published by fvictorio almost 3 years ago
This release adds support for the Arrow Glacier hardfork.
Published by fvictorio almost 3 years ago
This release adds support for the Arrow Glacier hardfork.
Published by fvictorio almost 3 years ago
This release fixes an issue (#1247) with hardhat-ethers
, where the provider wasn't correctly reset after hardhat_reset
was called.
It also adds a better inspection result for ethers's BigNumber instances (issue #2109). So now if you evaluate a BigNumber in the console, the result will look like this:
> ethers.BigNumber.from(1000)
BigNumber { value: "1000" }
Published by fvictorio almost 3 years ago
This release adds a FIFO mode to Hardhat Network's mempool and makes the coinbase address customizable. It also includes some minor bug fixes and improvements.
The way Hardhat Network's mempool orders transactions is now customizable. By default, they are prioritized following Geth's rules, but you can enable a FIFO (first in, first out) mode instead. This mode ensures that transactions are added to blocks in the same order they are sent, and it's useful to recreate blocks from other networks.
You can enable the FIFO mode in your config with:
networks: {
hardhat: {
mining: {
auto: false,
mempool: {
order: "fifo",
},
},
},
}
Huge thanks to @ngotchac for this contribution!
You can configure the coinbase address via a config field and a new RPC method. This is the address that will receive the block reward when a new block is mined.
The config field is part of the Hardhat Network configuration:
networks: {
hardhat: {
coinbase: "0x590c193534A11590b1BcE02896d2805bAC54Da2C"
},
},
You can also use the new hardhat_setCoinbase
RPC method to change the coinbase address in runtime:
await network.provider.send("hardhat_setCoinbase", [
"0x590c193534A11590b1BcE02896d2805bAC54Da2C",
]);