Skip to content

Commit

Permalink
add: new coins sanctioned by OFAC
Browse files Browse the repository at this point in the history
In the last two years, more coins have been added to the OFAC list.
These are:

- BSV (Bitcoin Satoshi Vision)
- BCH (Bitcoin Cash)
- XVG (Verge)
- USDT (USD Tether)
- XRP (Ripple)
- ARB (Arbitrum)
- BSC (Binance Smart Chain)
  • Loading branch information
0xB10C committed May 19, 2023
1 parent d512a82 commit 7e733b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ here: [`sdn_advanced.xml`][2].
[1]: https://home.treasury.gov/policy-issues/financial-sanctions/specially-designated-nationals-and-blocked-persons-list-sdn-human-readable-lists
[2]: https://www.treasury.gov/ofac/downloads/sanctions/1.0/sdn_advanced.xml

As of February 2021 the SDN list covers the following assets:
As of May 2023 the SDN list covers the following assets:
- XBT (Bitcoin)
- ETH (Ethereum)
- XMR (Monero)
Expand All @@ -17,7 +17,13 @@ As of February 2021 the SDN list covers the following assets:
- DASH (Dash)
- BTG (Bitcoin Gold)
- ETC (Ethereum Classic)
- BSV ( Bitcoin Satoshi Vision)
- BSV (Bitcoin Satoshi Vision)
- BCH (Bitcoin Cash)
- XVG (Verge)
- USDT (USD Tether)
- XRP (Ripple)
- ARB (Arbitrum)
- BSC (Binance Smart Chain)

The sanctioned addresses can be extracted with this tool from the
[`sdn_advanced.xml`][2] file. The tools supports the following output formats:
Expand All @@ -32,7 +38,7 @@ generated each night at 0 UTC by a GitHub Actions workflow.

## Usage Examples

The SDN list as XML file (~55 MB in Feb. 2021) can be downloaded, for example,
The SDN list as XML file (~80 MB in May 2023) can be downloaded, for example,
via `wget`:

``` console
Expand Down
4 changes: 2 additions & 2 deletions generate-address-list.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

# List of assets that have been sanctioned by the OFAC.
# Possible assets be seen by grepping the sdn_advanced.xml file for "Digital Currency Address".
POSSIBLE_ASSETS = ["XBT", "ETH", "XMR",
"LTC", "ZEC", "DASH", "BTG", "ETC", "BSV"]
POSSIBLE_ASSETS = ["XBT", "ETH", "XMR", "LTC", "ZEC", "DASH", "BTG", "ETC",
"BSV", "BCH", "XVG", "USDT", "XRP", "ARB", "BSC"]

# List of implemented output formats
OUTPUT_FORMATS = ["TXT", "JSON"]
Expand Down

0 comments on commit 7e733b7

Please sign in to comment.