Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 804 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 804 Bytes

eth-phishing-detect

Greenkeeper badge

Utility for detecting phishing domains targeting Ethereum users.

For checking why a given domain was blocked, try our interactive page here

basic usage

const checkForPhishing = require('eth-phishing-detect')

const value = checkForPhishing('etherclassicwallet.com')
console.log(value) // true

advanced usage

const PhishingDetector = require('eth-phishing-detect/src/detector')

const detector = new PhishingDetector({ whitelist, blacklist, fuzzylist, tolerance })
const value = detector.check('etherclassicwallet.com')
console.log(value)
/*
{
  type: "blacklist",
  result: true,
}
*/