feat: Adosia spaceprinter/marketplace Plutus to Aiken upgrade#24
Open
Liberty-Chris wants to merge 4 commits into
Open
feat: Adosia spaceprinter/marketplace Plutus to Aiken upgrade#24Liberty-Chris wants to merge 4 commits into
Liberty-Chris wants to merge 4 commits into
Conversation
1) Data Structure: The Design data type encapsulates all necessary information about a design. 2) Minting Policy: The designPolicy function ensures that the minting conditions are met. 3) NFT Minting Function: The designNFT function creates an NFT with the design's name. 4) Minting Policy Script: The mkPolicy function combines the design policy and minting function. 5) Serialization: The minting policy is serialized for deployment.
1) Data Structure: The Purchase data type encapsulates all necessary information about a purchase. 2) Validator: The purchaseValidator function ensures that the correct price is paid and the design NFT is valid. 3)Purchase Logic: The processPurchase function processes the purchase transaction. 4)Validator Script: The mkValidator function combines the purchase logic and validator. 5) Serialization: The validator is serialized for deployment on the blockchain.
1) Data Structure: The PrintJob data type encapsulates all necessary information about a print job. 2) Validator: The printJobValidator function ensures that the bid is valid, the design NFT is valid, and the shipping cost is non-negative. 3) Print Job Logic: The processPrintJob function processes the print job transaction. 4) Validator Script: The mkValidator function combines the print job logic and validator. 5) Serialization: The validator is serialized for deployment on the blockchain.
1) Data Structure: The OrderConfirmation data type encapsulates all necessary information for confirming an order. 2) Validator: The finalizeValidator function ensures that the final payment, design NFT, job NFT, and royalty payment are valid. 3) Order Finalization Logic: The processOrderFinalization function processes the order finalization transaction. 4) Validator Script: The mkValidator function combines the order finalization logic and validator. 5) Serialization: The validator is serialized for deployment on the blockchain.
LloydDuhon
approved these changes
Jul 9, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requesting the merge of the following Aiken smart contract scripts for the Adosia marketplace:
Aiken_Design_Module
Aiken_Consumer_Module
Aiken_Printer_Operator_Module
Aiken_Order_Finalization_Module