Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creator Token Metadata #4713

Closed
5 tasks done
ignazio-bovo opened this issue Mar 27, 2023 · 2 comments
Closed
5 tasks done

Creator Token Metadata #4713

ignazio-bovo opened this issue Mar 27, 2023 · 2 comments
Assignees
Labels
crt-v1 estimate-3h Time estimation for issues in a project - 3h project_token Project tokens

Comments

@ignazio-bovo
Copy link
Contributor

ignazio-bovo commented Mar 27, 2023

  • add a creator_token_remark extrinsic for metadata support
  • compile list of metadata message format (see down below)
  • publish patch protobuf package with new metadata for CRT?
  • process metadata in orion v2?
  • Review and open PR in orion repo Orion v2 crt mappings orion#99
@ignazio-bovo ignazio-bovo added estimate-1h project_token Project tokens crt_release_placeholder Placeholder to whatever release has CRT labels Mar 27, 2023
@ignazio-bovo ignazio-bovo self-assigned this Mar 27, 2023
@ignazio-bovo ignazio-bovo changed the title Creator Token Remark extrinsic Creator Token Metadata Mar 29, 2023
@ignazio-bovo
Copy link
Contributor Author

ignazio-bovo commented Mar 29, 2023

CRT Metadata message format

syntax = "proto2";

message TokenMetadata {
  optional string name = 1; // Title
  optional string description = 2; // token description
  oneof avatar {
    uint32 avatar_object = 3; // avatar for token - index into external [assets array](#.Assets)
    string avatar_uri = 4; // Url to member's avatar
  }
  repeated Benefit benefits = 5; // benefits for tokne
  optional string whitelist_application_note = 6; // note for applicant
  optional string whitelist_application_apply_link = 7; // link to application process
}

message Benefit {
  optional string title = 1;
  optional string description = 2;
  optional string emoji = 3;
  uint32 display_order = 4;
}

message SaleMetadata {
  optional string terms_and_conditions = 1
}

@ignazio-bovo ignazio-bovo added estimate-3h Time estimation for issues in a project - 3h and removed estimate-1h labels Mar 29, 2023
@ignazio-bovo ignazio-bovo added crt-v1 and removed crt_release_placeholder Placeholder to whatever release has CRT labels Sep 11, 2023
@ignazio-bovo
Copy link
Contributor Author

symbol should be added.
Addressed in #4871

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crt-v1 estimate-3h Time estimation for issues in a project - 3h project_token Project tokens
Projects
None yet
Development

No branches or pull requests

2 participants