You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because TS/extrinsic implementation version of RMRK standard uses block number in NFT id, this prevents you from doing anything with an NFT in the same block as it is MINTed. This is because you need to know at which block the NFT was minted before you can construct additional remarks for it.
with that in mind, I propose to accept an optional onMint array with nft fields object passed with MINT interaction. This array would use double curly brace notation that will be interpolated into nft id that is being minted at a runtime.
Needs a spec change, and a whitelist for callback ops to LIST, SEND, RESADD. Otherwise fine, but needs to be aware of possible double curlies in the resource fields, if someone decides to break things 🤔
Because TS/extrinsic implementation version of RMRK standard uses block number in NFT id, this prevents you from doing anything with an NFT in the same block as it is MINTed. This is because you need to know at which block the NFT was minted before you can construct additional remarks for it.
with that in mind, I propose to accept an optional
onMint
array with nft fields object passed with MINT interaction. This array would use double curly brace notation that will be interpolated into nft id that is being minted at a runtime.The text was updated successfully, but these errors were encountered: