erc-165

Get interface id from a given contract ABI


Keywords
erc165, erc-165, interface, interfaceid, smart-contracts, solidity
License
MIT
Install
npm install erc-165@1.0.0

Documentation

erc165

Blockful logo

Easily calculate the byte4 interfaceId from a given contract ABI file.

Installation

npm i erc165 or yarn add erc165

Learn

Read the entire article about the implementation here.

Usage

Install it with npm in your project and require the library: const erc165 = require("erc165");.

Then call the function by doing erc165.interfaceIdFromABI( object )

Contributing

Please help better the ecosystem by submitting issues, pull requests or contacting to pitch an idea.

Links

Licensing

This project is licensed under the MIT license.