nibbstack / erc721

The reference implementation of the ERC-721 non-fungible token standard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Revert messages

MoMannn opened this issue · comments

Should we add revert messages and if in what shape and form? We can do either by error codes or descriptions.

So for an invalid nft the error would be either:

  • 400
  • Invalid nft.

Where 400 is error code representation and anyone can handle it on the front end in anyway they like.

@xpepermint @fulldecent What are your thoughts on this?

I would leave this issue open until revert messages become actually supported by nodes.

Right now this is not really usable in the real world. I recommend we consider this potentially after 2.0.0 final.