From 07b4a2f7c416f31d67796c69bd627e0013ae8f55 Mon Sep 17 00:00:00 2001 From: Tyrabanksbeagle Date: Fri, 16 May 2025 22:50:00 -0300 Subject: [PATCH] pawpular Update config.js pawpular --- src/config.js | 109 ++++++++------------------------------------------ 1 file changed, 16 insertions(+), 93 deletions(-) diff --git a/src/config.js b/src/config.js index c46d867a0..be9b40772 100644 --- a/src/config.js +++ b/src/config.js @@ -1,122 +1,45 @@ const basePath = process.cwd(); const { MODE } = require(`${basePath}/constants/blend_mode.js`); -const { NETWORK } = require(`${basePath}/constants/network.js`); +const description = "Pawpular NFT Collection – Powered by pets and tech!"; +const baseUri = "ipfs://YourCIDHere"; // <-- Replace with your actual IPFS CID after upload -const network = NETWORK.eth; - -// General metadata for Ethereum -const namePrefix = "Your Collection"; -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% - external_url: "https://www.youtube.com/c/hashlipsnft", - creators: [ - { - address: "7fXNuer5sbZtaTEPhtJ5g5gNtuyRoKkvxdjEjEnPN4mC", - share: 100, - }, - ], -}; - -// If you have selected Solana then the collection starts from 0 automatically const layerConfigurations = [ { - growEditionSizeTo: 5, + growEditionSizeTo: 100, // TEMP: test 100 NFTs layersOrder: [ - { name: "Background" }, - { name: "Eyeball" }, - { name: "Eye color" }, - { name: "Iris" }, - { name: "Shine" }, - { name: "Bottom lid" }, - { name: "Top lid" }, + { name: "1_background" }, + { name: "2_fur" }, + { name: "2_fur_cat", options: { bypassDNA: true } }, // fallback if applicable + { name: "3_eyes_dog", options: { bypassDNA: true } }, + { name: "3_eyes_cat", options: { bypassDNA: true } }, + { name: "4_outfit" }, + { name: "5_accessory" } ], }, ]; -const shuffleLayerConfigurations = false; - -const debugLogs = false; - +const shuffleLayerConfigurations = true; const format = { - width: 512, - height: 512, - smoothing: false, -}; - -const gif = { - export: false, - repeat: 0, - quality: 100, - delay: 500, -}; - -const text = { - only: false, - color: "#ffffff", - size: 20, - xGap: 40, - yGap: 40, - align: "left", - baseline: "top", - weight: "regular", - family: "Courier", - spacer: " => ", -}; - -const pixelFormat = { - ratio: 2 / 128, + width: 1024, + height: 1024, }; - -const background = { - generate: true, - brightness: "80%", - static: false, - default: "#000000", -}; - -const extraMetadata = {}; - const rarityDelimiter = "#"; const uniqueDnaTorrance = 10000; - const preview = { thumbPerRow: 5, - thumbWidth: 50, + thumbWidth: 100, imageRatio: format.height / format.width, imageName: "preview.png", }; -const preview_gif = { - numberOfImages: 5, - order: "ASC", // ASC, DESC, MIXED - repeat: 0, - quality: 100, - delay: 500, - imageName: "preview.gif", -}; - module.exports = { format, baseUri, description, - background, - uniqueDnaTorrance, layerConfigurations, + shuffleLayerConfigurations, rarityDelimiter, + uniqueDnaTorrance, preview, - shuffleLayerConfigurations, - debugLogs, - extraMetadata, - pixelFormat, - text, - namePrefix, - network, - solanaMetadata, - gif, - preview_gif, };