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

Go struct of onchain metadata format #5

Open
Lucklyric opened this issue Dec 22, 2021 · 0 comments
Open

Go struct of onchain metadata format #5

Lucklyric opened this issue Dec 22, 2021 · 0 comments
Assignees

Comments

@Lucklyric
Copy link
Member

Through our current metadata in contract is a generic dict {String: String}.
We need to define a standard format for it.

Here is v-1.0.0 format:

Version: String
Name: String
Description: String
External_url: String?
Image: String?
Attributes: String? // should be a json formatted string
AnimationURL: String?

Use this data structure to implement a mint script with test.

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

No branches or pull requests

2 participants