Learn about the Story Protocol Gateway that simplifies interactions with the protocol
mintAndRegisterIpAndAttachPILTerms
is one of the functions in the SPG (more specifically in the LicenseAttachmentWorkflows.sol
) that allows you to mint an NFT, register it as an IP Asset, and attach License Terms to it all in one call:
mintAndRegisterIpAndAttachPILTerms
, registerIpAndAttachPILTerms
, and a bunch more, it would be tedious for us to continually update the contract to account for every single combination of possible interactions with an IP Asset.
Instead, we have allowed for a “Multicall” mechanism where you can batch transactions how you like. For more info, see Batch Function Calls.