← Back to projects

hackUMBC2022 [completed]

TrustDeFi: transaction context, not a trust prediction

TrustDeFi — a hackathon prototype that brings Ethereum transaction history and public address labels into one view.

  • Python
  • FastAPI
  • Requests
  • BeautifulSoup
  • Jinja2
Source for hackUMBC2022
  1. Ethereum address
  2. Covalent transactions + Etherscan labels
  3. Template view

Problem

The 2022 TrustDeFi team hackathon project explored ways to inspect an Ethereum address before transacting. The implemented web view brings transaction records and existing public labels together rather than asking readers to inspect each source separately.

Approach

A FastAPI address route requests transaction data from Covalent and calls a BeautifulSoup scraper for Etherscan label links. A Jinja2 template displays the returned labels, transaction hashes, quoted values, and dates.

Engineering trade-off

Third-party data supplies context, not a safety verdict. The scraper returns an empty list for a non-200 response, and the view treats an empty label list as reassuring. Missing labels and fetch failures must not be read as wallet safety; the code does not implement an ML fraud model or validated trust prediction.

Evidence

The route and two data adapters document the historical integration. Current API availability, scraping behavior, and runtime have not been revalidated. The README places machine-learning classification in future scope; no predictive accuracy or individual team contribution is claimed.