3

Is there a way in ink! to check supported contract interfaces? EVM has EIP-165. I know we have very few PSPs but already the interface information could be useful for PSP34/37 or say RMRK.

What would be the best way forward? Create new PSP? If new PSP is the answer what can be used in ink! as Solidity Type Information?

1
  • Hello, I'm encountering similar requirement issues because we are building an explorer for Ink smart contracts. I'd like to inquire whether you've raised the issue or found a solution for it.
    – the dev
    Nov 1, 2023 at 6:45

1 Answer 1

2

Currently, there is no standardised way of checking contract interfaces. All PSPs are implemented by OpenBrush. I would recommend opening the issue there to start the discussion there to introduce another standard.

For type information, you can try using https://docs.rs/type-info/latest/type_info

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.