Skip to content

Carbonable/metadata

Repository files navigation

Carbonable Metadata

Carbonable Metadata Repository.

About

This repository contains all the relevants assets for on-chain generation of Carbonable metadata.

Project setup

πŸ“¦ Requirements

⛏️ Compile

scarb build

🌑️ Test

scarb test

πŸ“š Deployment

Instructions for deployment

  1. Component Declaration

    • Run the script ./scripts/deploy_components.sh --components --debug to declare all components.
    • Note: This script may need to be executed multiple times until all components are declared without any errors.
  2. Provider Deployment & Setup

    • Use the script ./scripts/deploy_components.sh --provider --debug to deploy and set up the provider.
  3. Component register into Provider

    • Use the script ./scripts/deploy_components.sh --register --debug to deploy and set up the provider.
  4. Metadata Class Declaration

    • Declare classes using the script ./scripts/declare_contracts.sh --contracts --debug.
  5. Project Contract Provider Setup

    • Set the provider on the Project contract.
  6. Project URI Setup

    • Set the Project URI.
  7. Slot URI Setup

    • Set the Slot URI.

πŸ“„ License

This project is released under the Apache license.