Detect if a contract has been deployed in the latest (or predefined) block from an address that was previously funded through Tornado.Cash.
It is recommended to install pnpm through the npm package manager, which comes bundled with Node.js when you install it on your system. It is recommended to use a Node.js version >=24.2.0.
Once you have npm installed, you can run the following both to install and upgrade pnpm:
npm install -g pnpmAfter having installed pnpm, simply run:
pnpm installYou must specify the RPC URL of your mainnet node as well as your Etherscan API key in the .env file:
ETH_MAINNET_URL=https://eth-mainnet.alchemyapi.io/v2/<your_api_key>
ETHERSCAN_API_KEY=6FECCD7C9B8C24...Simply run
pnpm test