Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

eth-phishing-detect

1.1.13 • Public • Published

eth-phishing-detect

Greenkeeper badge

Utility for detecting phishing domains targeting Ethereum users.

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,
}
*/

Keywords

none

install

npm i eth-phishing-detect

Downloadsweekly downloads

109

version

1.1.13

license

DBAD

repository

githubgithub

last publish

collaborators

  • avatar