Skip to content

Add Bitcoin wallet classification public dataset dataset - #101

Open
b10claude wants to merge 1 commit into
bitcoin-data:mainfrom
b10claude:add-bitcoin-wallet-classification
Open

b10claude wants to merge 1 commit into
bitcoin-data:mainfrom
b10claude:add-bitcoin-wallet-classification

Conversation

@b10claude

Copy link
Copy Markdown

Adds datasets/bitcoin-wallet-classification.toml.

Sources

Every claim in the entry, and what backs it.

What one record is

  • The Kaggle description opens with it: "Classification of 43,621,232 Bitcoin
    Wallet addresses into 14 categories (following the classifications defined by
    BABD, cited below): (1) Blackmail, (2) Cyber-Security Service, (3) Darknet
    Market, (4) Centralized Exchange, (5) P2P Financial Infrastructure Service,
    (6) P2P Financial Service, (7) Gambling, (8) Government Criminal Blocklist,
    (9) Money Laundering, (10) Ponzi Scheme, (11) Mining Pool, (12) Tumbler, (13)
    Individual Wallets, and (14) Unknown Service." The entry names a few of the
    fourteen rather than listing all, to stay inside the word budget.

Where it comes from — four sources, in the compiler's own words

  1. WalletExplorer: "Aleš Janda, who operates WalletExplorer.com, generously
    offers an API which provides significant wallet classification and
    identification… This classification data constituted, by far, the largest
    portion of classification data in this dataset, with over 43 million wallet
    addresses being classified. Preference was always given to
    WalletExplorer.com's classifications, as 'Strong Addresses.'" That is the
    basis for "which supply most rows" and "preferring WalletExplorer where they
    disagree".
  2. BABD-13, "made by Xiang, et al. … 544,462 wallet addresses between blocks
    585,000 (July 12, 2019) and 685,000 (May 26, 2021)".
  3. Michalski et al., "identified 8,808 addresses … They analyzed the blocks
    between 520,850 and 520,950", treated here as weak addresses, with their
    "services" class mapped to "Unknown Service".
  4. The OFAC SDN list via the extraction tool, which "added 390 wallet addresses
    to the dataset", credited to "0xB10C, Michael Neale, and Yahiheb".

Overlap with entries already in the index — worth a look before merging

  • Source 3 is labelled-bitcoin-addresses (Michalski et al., doi
    10.7910/DVN/KEWU0N), already indexed.
  • Source 4 is ofac-sanctioned-addresses, already indexed.
  • Source 2 is BABD-13, proposed in PR Add Bitcoin address behavior dataset (BABD-13) dataset #97.
  • So this entry is a merge of three things the index covers (or will) plus the
    WalletExplorer bulk, which is the part that is not otherwise indexed and is
    ~98% of the rows. If you would rather not index derivative compilations, this
    is the one to drop.

Period, and the gap in it

  • period_start = "2009-01-03": the WalletExplorer portion is "largely
    contained in the first 425,000 blocks", which begins at genesis.
  • period_end = "2021-05-26": the latest bound any source states, from the
    BABD window ending at block 685,000.
  • The coverage is not continuous. WalletExplorer "has not updated much data
    since 2016" (block 425,000 was mined 2016-08-13), and the next source window
    only opens in July 2019, so there is a roughly three-year hole in the middle
    and nothing after May 2021. The two period fields cannot express that; the
    description's third sentence carries the warning instead.

Licence

  • Kaggle reports licenseName "Database: Open Database, Contents: © Original
    Authors", which is the Open Database License with contents reserved to their
    authors. The entry states that rather than calling the whole thing ODbL.
  • Note the contents clause matters here: the labels originate with
    WalletExplorer, Xiang et al. (whose own dataset is CC BY-NC-ND) and the US
    Treasury, so reuse terms are not uniform across the rows.

Format — inferred, not verified. Please check if you have a Kaggle account.

  • Kaggle's file-listing API needs authentication, so I could not see the file
    names. I narrowed it with the search API's fileType filter instead:
    datasets/list?user=gregorywilder returns this one dataset, and the same
    query with fileType=csv, json, sqlite and parquet each returns zero
    rows. So the archive is none of those four.
  • At 43,621,232 rows a spreadsheet is impossible (xlsx caps at 1,048,576 rows
    per sheet), which leaves a plain-text delimited file or a SQL dump — both
    text. Hence format = ["text"]. It is a deduction from Kaggle's own
    file-type index plus the row count, not something I read off a file.

Not verified / left out

  • The column names, the delimiter, and whether balances or first/last-seen
    timestamps are included alongside the label.
  • How the 43.6 million rows break down across the fourteen categories.
  • Whether "wallet address" means address or multi-input cluster. The
    description uses "wallet" and "address" interchangeably, and the
    WalletExplorer source is cluster-based, so some rows may be cluster members
    rather than independently labelled addresses.
  • There is no paper and no repository; the compiler is an individual, and the
    dataset is at version 1 with a Kaggle usability rating of 0.56.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EQFKPv3mB1J6LFakJnjNsd

@github-actions

Copy link
Copy Markdown

Dataset preview (1 changed entry)

How these entries will read once merged, straight from the generator.

Bitcoin wallet classification public dataset

/datasets/bitcoin-wallet-classification/

Bitcoin addresses labelled with one of fourteen service categories, from darknet market and tumbler through exchange and mining pool to individual wallet. The compiler merged WalletExplorer's wallet identifications, which supply most rows, with two research label sets and the OFAC sanctions list, preferring WalletExplorer where they disagree. Useful for attributing addresses at scale; most labels rest on a service that stopped updating, so coverage thins for later blocks.

Field Value
Category Transactions
Format Plain text
Period 2009-01-03 – 2021-05-26
License ODbL 1.0 (database), contents © original authors
Author Gregory Wilder
Tags addresses, attribution, forensics, mainnet
Description 3 sentences, 68 words

Links, in the order they will render:

Generated by ci/preview.py.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants