Added NFT challenges

This commit is contained in:
aresastro
2023-11-23 22:22:15 +08:00
parent 7642fe1d41
commit d7463e4e34

View File

@@ -14,25 +14,28 @@ umi.use(signerIdentity(signer));
(async () => {
try {
// Follow this JSON structure
// https://docs.metaplex.com/programs/token-metadata/changelog/v1.0#json-structure
// const image = ???
const metadata = {
name: "?",
symbol: "?",
description: "?",
image: "?",
attributes: [
{trait_type: '?', value: '?'}
],
properties: {
files: [
{
type: "image/png",
uri: "?"
},
]
},
creators: []
};
// const metadata = {
// name: "?",
// symbol: "?",
// description: "?",
// image: "?",
// attributes: [
// {trait_type: '?', value: '?'}
// ],
// properties: {
// files: [
// {
// type: "image/png",
// uri: "?"
// },
// ]
// },
// creators: []
// };
// const myUri = ???
// console.log("Your image URI: ", myUri);
}