← Back to home

Drainpipe

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

Screenshots

Drainpipe screenshot 1
Drainpipe screenshot 2
Drainpipe screenshot 3
Drainpipe screenshot 4
Drainpipe screenshot 5

Problem Statement

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 canReport the tokens as stolen to OpenSea to prevent the hacker from cashing outBlacklist those tokens from DAO governance or protocol participation until the situation is fully understoodAnd much moreWe 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.

Solution

Drainpipe uses the following tech stack to build our hack:Deployed our own NFT contract on PolygonDune Analytics to collect data on our deployed contractNext.js/Tailwind frontend clinet to sign up for the serviceFAST API to spin up a drainpipe serviceTwillio and Discord for SMS and server notification webhooksSee system diagram for full architecture

Hackathon

ETHSanFrancisco 2022

2022

Contributors