This repository contains all the relevants assets for on-chain generation of Carbonable metadata.
scarb build
scarb test
Instructions for deployment
-
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.
- Run the script
-
Provider Deployment & Setup
- Use the script
./scripts/deploy_components.sh --provider --debug
to deploy and set up the provider.
- Use the script
-
Component register into Provider
- Use the script
./scripts/deploy_components.sh --register --debug
to deploy and set up the provider.
- Use the script
-
Metadata Class Declaration
- Declare classes using the script
./scripts/declare_contracts.sh --contracts --debug
.
- Declare classes using the script
-
Project Contract Provider Setup
- Set the provider on the Project contract.
-
Project URI Setup
- Set the Project URI.
-
Slot URI Setup
- Set the Slot URI.
This project is released under the Apache license.