Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Error deploying config to Solana network. Error: non-base58 character

I’m testing how Metaplex’s Candy Machine works and I’m having the tittle error while uploading using the CMv2-cli.

My config file is the following:

{
  "price": 0,
  "number": 10,
  "gatekeeper": null,
  "solTreasuryAccount": "<8TBP4QrwkbDEmmYbA1EJum7HN8S2c1QYvEgTPdfb35Lh>",
  "splTokenAccount": null,
  "splToken": null,
  "goLiveDate": "27 May 2022 09:20:00 UTC",
  "endSettings": null,
  "whitelistMintSettings": null,
  "hiddenSettings": null,
  "storage": "arweave-sol",
  "ipfsInfuraProjectId": null,
  "ipfsInfuraSecret": null,
  "nftStorageKey": null,
  "awsS3Bucket": null,
  "noRetainAuthority": false,
  "noMutable": false
}

One of my assets file is the following:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

{
  "name": "Test #0001",
  "symbol": "NB",
  "description": "Collection of 10 numbers on the Solana blockchain.",
  "seller_fee_basis_points": 500,
  "image": "0.png",
  "attributes": [
      {"trait_type": "Layer-1", "value": "0"},
      {"trait_type": "Layer-2", "value": "0"}, 
      {"trait_type": "Layer-3", "value": "0"},
      {"trait_type": "Layer-4", "value": "1"}
  ],
  "properties": {
      "creators": [{"address": "8TBP4QrwkbDEmmYbA1EJum7HN8S2c1QYvEgTPdfb35Lh ", "share": 100}],
      "files": [{"uri": "0.png", "type": "image/png"}]
  },
  "collection": {"name": "numbers", "family": "numbers"}
}

>Solution :

You have 2 big errors in both files (config and the metadata).
For the config file you should not use the < > symbols, so your config file should look like this:

{
  "price": 0,
  "number": 10,
  "gatekeeper": null,
  "solTreasuryAccount": "8TBP4QrwkbDEmmYbA1EJum7HN8S2c1QYvEgTPdfb35Lh",
  "splTokenAccount": null,
  "splToken": null,
  "goLiveDate": "27 May 2022 09:20:00 UTC",
  "endSettings": null,
  "whitelistMintSettings": null,
  "hiddenSettings": null,
  "storage": "arweave-sol",
  "ipfsInfuraProjectId": null,
  "ipfsInfuraSecret": null,
  "nftStorageKey": null,
  "awsS3Bucket": null,
  "noRetainAuthority": false,
  "noMutable": false
}

For the asset file you have an extra space at the end of the creators array, so you should remove that extra space from this file and I assume from the rest of ur assets too. Should look like this:

{
  "name": "Test #0001",
  "symbol": "NB",
  "description": "Collection of 10 numbers on the Solana blockchain.",
  "seller_fee_basis_points": 500,
  "image": "0.png",
  "attributes": [
      {"trait_type": "Layer-1", "value": "0"},
      {"trait_type": "Layer-2", "value": "0"}, 
      {"trait_type": "Layer-3", "value": "0"},
      {"trait_type": "Layer-4", "value": "1"}
  ],
  "properties": {
      "creators": [{"address": "8TBP4QrwkbDEmmYbA1EJum7HN8S2c1QYvEgTPdfb35Lh", "share": 100}],
      "files": [{"uri": "0.png", "type": "image/png"}]
  },
  "collection": {"name": "numbers", "family": "numbers"}
}
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading