Skip to content

Conversation

@Liberty-Chris
Copy link
Collaborator

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

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.
@Liberty-Chris Liberty-Chris changed the title feat: adosia spaceprinter/marketplace plutus to aiken upgrade feat: Adosia spaceprinter/marketplace Plutus to Aiken upgrade Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants