Skip to content

deauthe/deauth_andromeda

Repository files navigation

DEAUTH Platform

Project Description

The DEAUTH platform addresses the struggles faced by new aspiring illustrators by providing a solution that enables them to showcase their art, monetize their creations, and offer unique value-based NFTs. The platform compensates artists for sales of their diverse design products and allows for shared ownership of design NFTs.

Artists can create NFTs of their art and utilize them to produce a variety of products such as shirts, hoodies, and mugs. Additionally, they can monetize their designs further by dividing the ownership of NFTs between multiple owners, with sales benefits distributed according to the proportion of ownership.

project video link

Click here to watch the video

Table of Contents

Getting Started

To get started with the development server, follow these steps:

  1. Install dependencies:

    npm i
  2. Run the development server:

    npm run dev

    or

    yarn dev
  3. Open http://localhost:3000 with your browser to see the result.

Project Idea

✅ Challenges with cw721 for Child NFTs

The cw721 standard, commonly used for creating NFTs on the Cosmos blockchain, presents a challenge for our specific use case. If we were to mint child NFTs directly using cw721 and link them to parent NFTs by referencing the parent's address, anyone could potentially mint a child NFT by simply including the parent's address in their transaction. This would compromise the integrity of the parent-child relationship and potentially lead to unwanted or unauthorized child NFTs.

Proposed Solution: Reference NFT

To address the cw721 limitation, we propose introducing a new NFT type: a reference NFT. This reference NFT would act as a bridge between the parent and child NFTs. Here's how it would work:

  • Minting Process:

    • A parent NFT is minted using the standard cw721 protocol.
    • A separate reference NFT is minted. This NFT stores the addresses of both the parent and child NFTs.
    • A child NFT is minted using cw721.
  • Establishing the Relationship:

    • During the minting process of the child NFT, the transaction must include a reference to the corresponding reference NFT.
    • The reference NFT acts as a gatekeeper, ensuring only authorized child NFTs with a valid reference can be linked to the parent.
  • Removing Unwanted Children:

    • Since the reference NFT holds the addresses of both parent and child, it can be used to manage the relationship.
    • If a child NFT needs to be removed (deemed unwanted or unauthorized), the reference NFT can be updated to remove the association with that specific child NFT address.

Benefits of the Reference NFT Approach

  • Security: Prevents unauthorized creation of child NFTs by requiring a valid reference during the minting process.

  • Flexibility: Allows for future additions of child NFTs as long as they can be linked to a valid reference NFT.

  • Transparency: The reference NFT provides a clear record of the parent-child relationships on the blockchain.

✅ Additional Feature: Multiple Design Submission and NFT Creation

Challenge:

In implementing the feature allowing designers to submit multiple designs for NFT creation, we encountered a challenge ensuring the availability and authenticity of the NFTs for sale.

Solution:

To address this challenge, we implemented a verification process during NFT purchases. We validate both the owner's ID and the associated child ID to confirm the NFT's availability for sale. This verification step adds an extra layer of security and ensures that only legitimate NFTs are available for purchase.

Backend Repository.

Security Measures:

The data associated with this verification process is securely stored in our backend system. We retain only public addresses, ensuring the confidentiality of sensitive information while maintaining robust security measures. This approach safeguards user data and enhances the overall integrity of the platform.


 

 

---

How to Use the Project

  1. Submitting Designs:

    • Artists can submit their designs to the platform by navigating to the submission section in the user dashboard.
    • They will need to provide necessary details such as title, description, and upload the design file.
  2. Creating NFTs:

    • A user can make differnet designs and submit it to us.
    • Once a design is submitted, the platform automatically creates an NFT associated with the design.
    • The NFT represents ownership and authenticity of the artwork.
  3. Product Creation:

    • The platform uses the submitted designs to create a range of products such as hoodies, shirts, mugs, etc.
    • Users can browse through the product catalog and select items they wish to purchase.
  4. Purchasing NFT Shares:

    • Users interested in supporting artists can purchase shares in the NFT associated with a specific design.
    • This gives them ownership rights to a portion of the NFT and a stake in the future sales of products featuring the associated design.
  5. Sales and Revenue Distribution:

    • As products featuring the design are sold, revenue is generated.
    • Revenue from product sales is distributed proportionally among the shareholders of the NFT associated with the design.
    • Artists receive compensation for sales of their designs, while NFT shareholders earn a return on their investment based on product sales.
  6. Monetization through Shared Ownership:

    • Artists have the option to further monetize their designs by dividing the ownership of NFTs between multiple owners.
    • Sales benefits are then distributed among the NFT owners according to the proportion of their ownership.
  7. Track Performance:

    • Artists and NFT shareholders can track the performance of their designs and NFTs through the platform's analytics dashboard.
    • This provides insights into sales trends, revenue generated, and the overall popularity of designs.

By following these steps, artists can showcase their art, users can support their favorite creators, and the platform facilitates a thriving ecosystem where creativity is rewarded.

Credits

This project utilizes the following ADOs from AndromedaOs:

How to Contribute to the Project

Clone the repository

git clone https://github.com/deauthe/deauth_andromeda

Navigate to the project directory

cd deauth_andromeda

Install dependencies

npm i

Create a new branch for your feature or fix

git checkout -b feature/new-feature

Make your changes to the code

Add your changes to the staging area

git add .

Commit your changes

git commit -m "Add new feature or fix"

Push your changes to your fork

git push origin feature/new-feature

Create a pull request on the GitHub repository


Helpful links

AndromedaOs Docs
AndromedaOs Web Application Docs