This package will check EtherScamDb to get the status of an address to see if it's; blacklisted, whitelisted, neutral (unverified).
I've tried to make it as frictionless as possible for integration. So there's only 2 lines of code you need (other than requiring the package)
- Add the div where you want the verification icon to appear
<div id="esd-address-verify"></div>- Add an event listener to the input for the destination address
document.getElementById("send_to_address").addEventListener('keyup', EtherScamDbValidateAddress);(The icons are a work in progress :|)