project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

Drainpipe

Drainpipe notifies communities when a wallet drain event happens on their smart contract of their NFT

Drainpipe

Created At

ETHSanFrancisco 2022

Project Description

DrainPipe is a near real-time alerting system for DAO's and NFT communities. We monitor the on-chain data for suspicious NFT activity and send alerts via text and discord. The sooner you know if a wallet is hacked and being drained of its NFTs the sooner you can

  • Report the tokens as stolen to OpenSea to prevent the hacker from cashing out
  • Blacklist those tokens from DAO governance or protocol participation until the situation is fully understood
  • And much more

We use the dune analytics API to run queries and detect potentially suspicious activity. We have one query setup for the demo but it could easily be extended to include custom alert setups and AI models tailored to be collection- or chain- specific.

How it's Made

Drainpipe uses the following tech stack to build our hack:

  • Deployed our own NFT contract on Polygon
  • Dune Analytics to collect data on our deployed contract
  • Next.js/Tailwind frontend clinet to sign up for the service
  • FAST API to spin up a drainpipe service
  • Twillio and Discord for SMS and server notification webhooks

See system diagram for full architecture

background image mobile

Join the mailing list

Get the latest news and updates