2

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 Answer 1

1

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 that you have read and understand our privacy policy and code of conduct.

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