Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.75 KB

README.md

File metadata and controls

65 lines (44 loc) · 1.75 KB

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.