Skip to content

Conversation

@bukas898
Copy link
Owner

Add Core Functionality for Artwork Registration and Licensing Management

Description:
This pull request introduces the foundational features for the DAALS project, including artwork registration, license management, and verification. The changes implement the core logic necessary for artists, galleries, and collectors to interact with the system securely and transparently on the Stacks blockchain.


Key Features Added

  1. Artwork Registration:

    • Creators can mint digital artworks with metadata such as artist name, collection, and unique token ID.
    • Automatically tracks the creation timestamp and assigns the creator as the initial licensee.
  2. License Management:

    • Includes license transfer functionality, enabling secure ownership changes.
    • Maintains a comprehensive license history for transparency.
  3. Verification System:

    • Implements functions to verify artwork authenticity, creator identity, and licensing status.
  4. License Status Updates:

    • Enables creators to update the status of licenses to "valid," "revoked," or "expired."
  5. Administrative Tools:

    • Functions to register authorized creators and galleries.

Files Changed

  1. daals.clar: Added the full Clarity smart contract with defined constants, data maps, read-only, and public functions.
  2. README.md: Updated with project details, features, and usage instructions.

Testing

  • Functions tested locally using the Stacks CLI to ensure correctness.
  • Verified contract functionality, including:
    • Artwork registration.
    • License transfers and history tracking.
    • Verification outputs for valid and invalid data.

Next Steps

  • Improve test coverage with edge cases.
  • Begin implementation of a web interface for enhanced user interaction.
  • Explore NFT compatibility for digital artwork.

Checklist

  • Code compiles and runs without errors.
  • Functions tested with expected inputs and edge cases.
  • Documentation updated to reflect the current state of the project.

Reviewer Notes:
Please focus on the implementation of core functions (e.g., mint-artwork, transfer-license, verify-artwork) and ensure they align with project goals. Feedback on error handling and input validation is also welcome.

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.

3 participants