Primary Sales in Unity
When working with the Sequence sales contracts in Unity, it is recommended to use theERC721Sale
and ERC1155Sale
classes when working with ERC721 and ERC1155 sales respectively. If you are using your own primary sales contract with its own ABI, it is recommended to build a C# contract wrapper (like we’ve done with ERC721Sale
and ERC1155Sale
) to facilitate an easier, less error-prone workflow. This doc will focus on the use of our Primary Sales contracts.
Both classes are easily constructed:
Don’t forget to add your primary sales contracts and price currency contract addresses to your Gas Tank if you want these transactions to be sponsored!