Easily calculate the byte4 interfaceId from a given contract ABI file.
npm i erc165
or
yarn add erc165
Read the entire article about the implementation here.
Install it with npm in your project and require the library:
const erc165 = require("erc165");
.
Then call the function by doing
erc165.interfaceIdFromABI( object )
Please help better the ecosystem by submitting issues, pull requests or contacting to pitch an idea.
- Project homepage: http://blockful.io
- Repository: https://github.com/blockful-io
This project is licensed under the MIT license.