ERC165 off-chain
This library allows to verify whether a smart contract supports an interface or not computing it off-chain.
Install
npm install --save facuspagnuolo/erc165-offchain#v1.0.0
Usage
Without a custom Ethereum provider
const bytecodeSatisfies = const ABI = contractabiconst bytecode = contractdeployedBytecode return
With a web3 1.x compatible provider
const addressSatisfies = const ABI = contractabiconst web3 = ... return