Skip to content

Commit

Permalink
Fix solana deprecated metadata - HashLips#1377
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed Oct 1, 2023
1 parent 4326a22 commit 3863363
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,10 @@ const addMetadata = (_dna, _edition) => {
}
if (network == NETWORK.sol) {
tempMetadata = {
//Added metadata for solana
name: tempMetadata.name,
symbol: solanaMetadata.symbol,
description: tempMetadata.description,
//Added metadata for solana
seller_fee_basis_points: solanaMetadata.seller_fee_basis_points,
image: `${_edition}.png`,
//Added metadata for solana
external_url: solanaMetadata.external_url,
edition: _edition,
...extraMetadata,
attributes: tempMetadata.attributes,
Expand All @@ -208,9 +203,7 @@ const addMetadata = (_dna, _edition) => {
uri: `${_edition}.png`,
type: "image/png",
},
],
category: "image",
creators: solanaMetadata.creators,
]
},
};
}
Expand Down

0 comments on commit 3863363

Please sign in to comment.