1

"I'm working on developing smart contracts using OpenBrush and the Ink programming language, and I'm in need of a mechanism to detect and identify the interfaces that a particular smart contract implements. In the Ethereum ecosystem, ERC-165 provides a standard way to do this, as detailed in this EIP section.

However, I'm looking for a solution that is specifically tailored to OpenBrush and Ink smart contracts. Is there a library or a recommended approach for achieving interface detection in this context? I'm keen to find a solution that is compatible with these technologies and offers similar functionality to ERC-165.

Any guidance, code examples, or references to relevant resources would be greatly appreciated. Thank you!"

1 Answer 1

1

It's part of OpenBrush, check this PR:

https://github.com/Brushfam/openbrush-contracts/pull/112

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.