1

Our metadata as a CIP 25 looks like this: Pool pm metadata tool

We are using Lucid to attach it during transaction building in this way:

const filename= "https://arweave.net/" + arweaveId
      const metadata = {
        [policyId]: {
          "Origin Certificate": {
            "description": [
                "Village": "Los Hornos, Comayagua",
                "Country": "Honduras",
                "Grower": "Nelvin Humberto Vaquis",
                "SCA Grade": "85",
                "Altitude": "5245 ft",
                "Variety": "Parainema, PACA, & H-90",
                "Characteristic": Citrus Flavor, Floral Tones",
                "Bean": Medium Complexion"
            ],
            "files": [
               {
                  "mediaType": "image/png",
                  "name": "Origin Certificate",
                  "src": filename
               }
            ],
            "image": filename,
            "mediaType": "image/png",
            "name": "Origin Certificate"
          }
      },
      version: "1.0"
      };

But something exceeds the character limit even though none of the strings exceed 64 characters. Also, removing the quotation marks removes the error about the character limit but the metadata doesn't format correctly. To attach the metadata we do the following:

.attachMetadata(721, metadata)

What could we change to eliminate the issue?

1 Answer 1

1

From the looks of it, file links are too long. Have you tried shortening links, or using different file hosting service?

Try something that looks more this: Pool pm metadata tool.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.