From 5037238d43674d7127761664a1fb22ff82a75696 Mon Sep 17 00:00:00 2001 From: Ozone_Labs <104269339+Ozone-Labs@users.noreply.github.com> Date: Sun, 22 Oct 2023 15:39:30 +0530 Subject: [PATCH 1/2] updated the solana config as per latest metaplex metadata structure --- src/config.js | 18 +++++++++--------- src/main.js | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/config.js b/src/config.js index c46d867a0..44eced1a1 100644 --- a/src/config.js +++ b/src/config.js @@ -2,7 +2,7 @@ const basePath = process.cwd(); const { MODE } = require(`${basePath}/constants/blend_mode.js`); const { NETWORK } = require(`${basePath}/constants/network.js`); -const network = NETWORK.eth; +const network = NETWORK.sol; // General metadata for Ethereum const namePrefix = "Your Collection"; @@ -10,15 +10,15 @@ const description = "Remember to replace this description"; const baseUri = "ipfs://NewUriToReplace"; const solanaMetadata = { - symbol: "YC", - seller_fee_basis_points: 1000, // Define how much % you want from secondary market sales 1000 = 10% + // symbol: "YC", + // seller_fee_basis_points: 1000, // Define how much % you want from secondary market sales 1000 = 10% external_url: "https://www.youtube.com/c/hashlipsnft", - creators: [ - { - address: "7fXNuer5sbZtaTEPhtJ5g5gNtuyRoKkvxdjEjEnPN4mC", - share: 100, - }, - ], + // creators: [ + // { + // address: "7fXNuer5sbZtaTEPhtJ5g5gNtuyRoKkvxdjEjEnPN4mC", + // share: 100, + // }, + // ], }; // If you have selected Solana then the collection starts from 0 automatically diff --git a/src/main.js b/src/main.js index e9c08dcf2..0027e3d31 100644 --- a/src/main.js +++ b/src/main.js @@ -163,7 +163,7 @@ const addMetadata = (_dna, _edition) => { }, ], category: "image", - creators: solanaMetadata.creators, + // creators: solanaMetadata.creators, }, }; } From d950d5dc730191236361eefcc00812462932600b Mon Sep 17 00:00:00 2001 From: Ozone_Labs <104269339+Ozone-Labs@users.noreply.github.com> Date: Sun, 22 Oct 2023 15:40:23 +0530 Subject: [PATCH 2/2] Update config.js --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 44eced1a1..4e14b0da7 100644 --- a/src/config.js +++ b/src/config.js @@ -2,7 +2,7 @@ const basePath = process.cwd(); const { MODE } = require(`${basePath}/constants/blend_mode.js`); const { NETWORK } = require(`${basePath}/constants/network.js`); -const network = NETWORK.sol; +const network = NETWORK.eth; // General metadata for Ethereum const namePrefix = "Your Collection";