Skip to content

Add OFAC sanctioned digital currency addresses dataset - #89

Merged
0xB10C merged 1 commit into
bitcoin-data:mainfrom
b10claude:add-ofac-sanctioned-addresses
Nov 8, 2026
Merged

0xB10C merged 1 commit into
bitcoin-data:mainfrom
b10claude:add-ofac-sanctioned-addresses

Conversation

@b10claude

Copy link
Copy Markdown

Adds datasets/ofac-sanctioned-addresses.toml.

Sources

Every claim in the entry, and what backs it.

What one record is, and the formats

  • lists branch, fetched directly: sanctioned_addresses_XBT.txt is 19,982
    bytes, 532 lines, one address per line, starting
    123WBUDmSJv4GctdVEz6Qq6z8nXSKrJ4KX.
    sanctioned_addresses_XBT.json is the same addresses as a JSON array.
  • The branch holds a .txt and a .json pair per asset: ARB, BCH, BSC, BSV,
    BTG, DASH, ETC, ETH, LTC, SOL, XBT, XMR and the rest listed in the README,
    which names 18 assets.
  • The main README states the two output formats verbatim: "TXT file format
    (one address per line)" and "JSON file containing a list of addresses".

Where it comes from

  • The README: the tool extracts addresses "from the [Specially Designated
    Nationals (SDN) list] of the US Office of Foreign Asset Control", from the
    XML at https://www.treasury.gov/ofac/downloads/sanctions/1.0/sdn_advanced.xml.
  • The lists branch README: "These lists are generated with the tool in the
    main branch and updated each night." The main README adds that a GitHub
    Actions workflow does it at 0 UTC. The entry says a workflow regenerates the
    lists without stating a cadence, per the timeless rule.
  • generate-address-list.py in the main branch is the extractor.

The caveat

  • Because each run regenerates the files from the current SDN XML, an address
    that OFAC delists simply disappears from the next commit. The branch's git
    history is therefore the only record of past designations, which is what the
    third sentence says.

Licence

  • LICENSE on the main branch is the MIT License, "Copyright (c) 2021 0xB10C",
    covering the tool. The addresses themselves are taken from a US Treasury
    publication, so the licence field names both rather than asserting a single
    licence over the data.

Author

  • 0xB10C, per the copyright line and the repository owner.

Not verified / left out

  • Whether every "Digital Currency Address" entry in the SDN XML is covered. The
    README is explicit that it may not be: "There might be assets on the SDN list
    that aren't covered yet", with instructions to grep the XML for more.
  • The asset list in the README is dated "As of December 2023", so newer assets
    may be covered or missing; the entry states no asset count.
  • Whether addresses are validated or normalised beyond extraction.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EQFKPv3mB1J6LFakJnjNsd

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

Dataset preview (1 changed entry)

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

OFAC sanctioned digital currency addresses

/datasets/ofac-sanctioned-addresses/

Every digital currency address designated by the US Office of Foreign Asset Control, as one address per line in a text file and as a JSON list, with one pair of files per asset. A script extracts them from the Treasury's SDN XML, and a workflow regenerates the lists. Useful for checking whether an address is sanctioned; the files hold current designations only, with earlier ones in the git history.

Field Value
Category Transactions
Format Plain text, JSON
License MIT (tool); the addresses come from the US Treasury SDN list
Author 0xB10C
Tags addresses, attribution, forensics, mainnet
Description 3 sentences, 70 words

Links, in the order they will render:

Generated by ci/preview.py.

@0xB10C
0xB10C merged commit b4570ef into bitcoin-data:main Nov 8, 2026
2 checks passed
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