Custom Trait
Next, we will expand the contract with more utility methods to have more control over the NFT creation, minting, payments and all that most of the NFT projects will need.
To start with we will move mint()
from contract lib.rs
to a custom trait PayableMint
.