- Type of work
- Data taxonomy, enrichment pipelines and entity resolution
- Whose work
- Our founder’s earlier engineering work
- Status
- Implemented
- Stack
- Python, Google BigQuery, Etherscan, Solscan
In brief
- Problem. Public scam reports and block explorer labels describe the same wallets in different words. Records that are not labeled the same way cannot be searched or counted together.
- Work. Our founder designed a taxonomy that maps each source’s scam types to consistent categories and tags, and built Python pipelines that collect, normalize and enrich the records in BigQuery.
- Check. Every label keeps its source, its provenance and a confidence level, and verified sources are kept apart from community reports.
What was the problem?
Blockchain intelligence work draws on many public sources: reports of scams submitted by victims, and the labels and name tags that block explorers attach to addresses. Each source has its own vocabulary. One wallet can appear under several names, and one kind of scam under several category labels.
The data was used for anti-money-laundering, compliance and investigation work, where it matters a great deal whether a label came from a verified source or from one unconfirmed report.
What did our founder build?
- A taxonomy. It maps the scam types used by each source to one consistent set of categories and tags.
- Source confidence and provenance. Each record carries where it came from and how far it can be trusted, with verified sources distinguished from community reports.
- Entity resolution. Records that refer to the same actor under different or inconsistent labels are linked.
- Explorer enrichment. Reusable components add labels, tags, name tags and owner information from Etherscan and Solscan for wallet attribution.
- Pipelines that can stop and resume. Collection runs with retries, rate limits, checkpoints, caching and deduplication, so an interrupted run continues instead of starting again.
- BigQuery tuned for incremental loads. Partitioned tables, incremental scheduling, monitoring and recovery.
The components were written to be reused when a new source is added.
What does a normalized record contain?
| Field | Purpose |
|---|---|
| Wallet identifier | The address and its network, in one format |
| Category and tags | The normalized scam type and its descriptors |
| Entity | The resolved name when several labels refer to one actor |
| Source and provenance | Where the label came from |
| Confidence | Whether the source is verified or a community report |
Why does source confidence matter?
A label is a claim that someone made about an address. A community report is a lead to follow up. A verified attribution is closer to a finding. If the two are merged into one “flagged” column, an analyst cannot tell them apart, and a decision about a customer or a transaction may rest on the weaker one. Keeping source and confidence on every record lets each team set its own threshold.
What would this look like for your team?
The same three pieces apply to any dataset assembled from sources that disagree, whether the subject is wallets, suppliers or products. You need a taxonomy everyone maps to, provenance on every record and a reviewable method for deciding that two records are the same thing. We start with two sources and one category, agree the mapping with the people who will use it, and measure how many records link. Blockchain and on-chain data analytics describes the wider service.
Frequently asked questions
What is a data taxonomy?
A taxonomy is an agreed set of categories, plus the rules for mapping each source’s own terms onto them. It lets records from different sources be searched, counted and compared as one dataset.
What is entity resolution?
Entity resolution decides when two records refer to the same real-world thing even though their names or labels differ. Good implementations keep the evidence for each link, so a reviewer can see why two records were joined and undo it if the evidence was weak.
Can block explorer labels be trusted?
They are a useful signal with gaps. Coverage varies by network, and a label reflects what the explorer knew when it was assigned. Store the source and the collection date with each label, and treat it as evidence to weigh, not as a verdict.
Tell us about your sources
Tell us which sources you combine and what the labeled data is used for. Describe your dataset, or see how transactions from several networks were brought into one ledger in BigQuery.
This example describes engineering work our founder, Meet Vaghasia, carried out in an earlier role. The organization is not named and project figures are left out. On a call we can walk through the approach in more detail.