pcaversaccio / 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.

Home Page:https://tornado.cash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🕵️‍♂️ 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.

https://tornado.cash

License:Do What The F*ck You Want To Public License


Languages

Language:TypeScript 88.6%Language:JavaScript 11.4%