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
At a high level, Sardine will be given minting privileges on each whitelisted primary sales contract (notice: your contract needs to be whitelisted; it is recommended to use the same config as done in Unity test for testing) and when doing the checkout we include the calldata for minting a token and our sales contract which they will sign and send as a transaction after our credit card purchase is confirmed
It is recommended to expose an interface that makes this logic (assembling calldata) much easier or at least clearer; please reference the Unity code for inspiration https://github.com/0xsequence/sequence-unity/blob/Feature/marketplaceCheckout/Packages/Sequence-Unity/Sequence/SequenceSDK/Pay/Sardine/ISardineCheckout.cs
The text was updated successfully, but these errors were encountered:
Expose the ability to purchase an ERC1155 using our Primary Sales contracts via a credit card with Sardine - this is a web based purchase flow
Ridl: https://github.com/0xsequence/stack/blob/master/api/proto/api.ridl#L869
Specifically, we'll need to integrate every endpoint that wasn't added in #287
At a high level, Sardine will be given minting privileges on each whitelisted primary sales contract (notice: your contract needs to be whitelisted; it is recommended to use the same config as done in Unity test for testing) and when doing the checkout we include the calldata for minting a token and our sales contract which they will sign and send as a transaction after our credit card purchase is confirmed
It is recommended to expose an interface that makes this logic (assembling calldata) much easier or at least clearer; please reference the Unity code for inspiration
https://github.com/0xsequence/sequence-unity/blob/Feature/marketplaceCheckout/Packages/Sequence-Unity/Sequence/SequenceSDK/Pay/Sardine/ISardineCheckout.cs
The text was updated successfully, but these errors were encountered: