hardhat-ethernal
to your package.json
, and run npm install
or yarn
hardhat-config.js
file, require the plugin:ethernalSync
to false
on the hre
object.experimentalAddHardhatNetworkMessageTraceHook
, showing CALLx and CREATEx operations in the dashboard. You can disable this feature with the ethernalTrace
flag.ethernalResetOnStart
property to the name of the workspace. Everytime the node starts, all accounts/blocks/transactions/contracts will be deleted.ethernal
object with a push
function on the hre
object.
This function takes two parameters:name
: name of the contract (case sensitive). It needs to match exactly the name of the deployed contractaddress
: address of the contracthre.ethernalUploadAst = true
flag in your Hardhat config file (this will upload the ast field, as well as the source field).hre.ethernal.resetWorkspace(workspaceName)
(async function). All accounts/blocks/transactions/contracts will be deleted;