Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 16 additions & 93 deletions src/config.js
Original file line number Diff line number Diff line change
@@ -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,
};