Malicious Wallet Address Database

Features

SDK Examples

import os
from mwadb import MWA

MWA.load(os.path.abspath("malicious_wallet_address.dat"))

result = MWA.is_malicious("ETH", "0x957cD4Ff9b3894FC78b5134A8DC72b032fFbC464")
print(result)
"""
If the address is normal, the output is:{'malicious': False}
If the address is malicious, the output is:{'malicious': True, 'category': 'Phishing', 'addTime': '2018-03-28', 'updateTime': '2018-04-09'}
category:Phishing, Ransom, Stealing
"""

print(MWA.get_version())
# v18040901

print(MWA.get_statistics())
"""
The output is:
Total:    1024
Phishing: 800
Ransom:   220
Stealing: 4
"""
              
var MWA = require('./mwadb.js');

MWA.load("./malicious_wallet_address.dat");

var result = MWA.is_malicious("ETH", "0x957cD4Ff9b3894FC78b5134A8DC72b032fFbC464");
console.log(result);
/**
If the address is normal, the output is:{ malicious: false }
If the address is malicious, the output is:{ malicious: true, category: 'Phishing', addTime: '2018-03-28', updateTime: '2018-04-09' }
category:Phishing, Ransom, Stealing
*/

console.log(MWA.get_version());
// v18040901

console.log(MWA.get_statistics());
/**
The output is:
Total:    1024
Phishing: 800
Ransom:   220
Stealing: 4
*/
              
package main

import "github.com/slowmist/mwadb-go"
import "fmt"

func main(){

    MWA, err := mwadb.Load("/path/to/malicious_wallet_address.dat")
    if err == nil {
        result = MWA.Is_malicious("ETH", "0x957cD4Ff9b3894FC78b5134A8DC72b032fFbC464")
        fmt.Println(strings(result))
/*
If the address is normal, the output is:{"malicious": false}
If the address is malicious, the output is:{"malicious": true, "category": "Phishing", "addTime": "2018-03-28", "updateTime": "2018-04-09"}
category:Phishing, Ransom, Stealing
*/

        fmt.Println(MWA.Get_version()) // v18040901

        fmt.Println(MWA.Get_statistics())
/*
The output is:
Total:    1024
Phishing: 800
Ransom:   220
Stealing: 4
*/
    }
}
              
import com.slowmist.mwadb.*;

import java.io.IOException;

public class Main {
    public static void main(String[] args) {
        try {

            Mwadb mwadb = new Mwadb("/path/to/malicious_wallet_address.dat");
            result = mwadb.is_malicious("ETH", "0x957cD4Ff9b3894FC78b5134A8DC72b032fFbC464");
            System.out.println(result.toString());
/**
 * If the address is normal, the output is:{"malicious": false}
 * If the address is malicious, the output is:{"malicious": true, "category": "Phishing", "addTime": "2018-03-28", "updateTime": "2018-04-09"}
 * category:Phishing, Ransom, Stealing
*/

            System.out.println(mwadb.get_version());
// v18040901

            System.out.println(mwadb.get_statistics());
/**
 * The output is:
 * Total:    1024
 * Phishing: 800
 * Ransom:   220
 * Stealing: 4
 */

        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}