Skip to content

Detect if a contract has been deployed in the latest (or predefined) block from an address that was previously funded through Tornado.Cash.

License

Notifications You must be signed in to change notification settings

pcaversaccio/torn-detector

Repository files navigation

🕵️‍♂️ TORN Detector

🕵️‍♂️ Test TORN detector License: WTFPL

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 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 >= 20.0.0.

Once you have npm installed, you can run the following both to install and upgrade pnpm:

npm install -g pnpm

After having installed pnpm, simply run:

pnpm 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

pnpm test

About

Detect if a contract has been deployed in the latest (or predefined) block from an address that was previously funded through Tornado.Cash.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published