Collect label data

The OFAC

The U.S. Department of the Treasury was established in 1789. Handle the financial affairs of the United States Federation, whose Office of Foreign Assets Control (OFAC) publishes a Specially Designated Nationals (SDN) list containing information of several entities in the blockchain.

In this section, we will demonstrate how to collect labeled addresses in the OFAC sanctions list!

Start a crawl task

Run this command as follow:

scrapy crawl labels.ofac

You can find the label data on ./data/labels.ofac, each row of this file is a JSON object just like this:

{
    "net":"ETH",
    "label":"Entity",
    "info":{
        "uid":"30518",
        "address":"0x72a5843cc08275C8171E582972Aa4fDa8C397B2A",
        "first_name":null,
        "last_name":"SECONDEYE SOLUTION",
        "identities":[
            {
                "id_type":"Email Address",
                "id_number":"support@secondeyesolution.com"
            },
            {
                "id_type":"Email Address",
                "id_number":"info@forwarderz.com"
            }, ...
        ]
    }
}

Note: Please indicate the source when using crawling labels.

Last updated