🕵️♂️
TORN Detector
Detect if a contract has been deployed in the latest (or predefined) block from an address that was previously funded through Tornado.Cash.
Installation
It is recommended to install Yarn 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 >= 16.0.0
.
Once you have npm
installed, you can run the following both to install and upgrade Yarn:
npm install --global yarn
After having installed Yarn, simply run:
yarn install
.env
File
You 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...
Testing
Simply run
yarn test
The output result will be the C.R.E.A.M. Finance flash loan attacker contract 0x24354D31bC9D90F62FE5f2454709C32049cf866b
.