-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Expand file tree
/
Copy pathconfig.js
More file actions
121 lines (104 loc) · 2.32 KB
/
config.js
File metadata and controls
121 lines (104 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
const basePath = process.cwd();
const { MODE } = require(`${basePath}/constants/blend_mode.js`);
const { NETWORK } = require(`${basePath}/constants/network.js`);
const network = NETWORK.eth;
// General metadata for Ethereum
const namePrefix = "Elite Tour Club";
const description = "A Kenyan PFP NFT project for Travel, Gaming and Entertainment enthusiasts. A new age of Digital flex with 10,000 uniquely generated NFTs. To the Metaverse";
const baseUri = ""; // TODO ipfs://NewUriToReplace";
const solanaMetadata = {
symbol: "ETC",
seller_fee_basis_points: 1000, // Define how much % you want from secondary market sales 1000 = 10%
external_url: "", // TODO "https://www.youtube.com/c/hashlipsnft",
creators: [
{
address: "0xef3e15f5a73FB9cB6F98c65817396Dc63AA0fEC8",
share: 100,
},
],
};
// If you have selected Solana then the collection starts from 0 automatically
const layerConfigurations = [
{
growEditionSizeTo: 75,
layersOrder: [
{ name: "BACKGROUND" },
{ name: "BODY" },
{ name: "EYES" },
{ name: "HEAD" },
{ name: "MOUTH" },
{ name: "OUTFIT" },
],
},
];
const shuffleLayerConfigurations = false;
const debugLogs = true;
const format = {
width: 3000,
height: 3000,
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: 5 / 128,
};
const background = {
generate: true,
brightness: "80%",
static: false,
default: "#000000",
};
const extraMetadata = {};
const rarityDelimiter = "#";
const uniqueDnaTorrance = 10000;
const preview = {
thumbPerRow: 5,
thumbWidth: 50,
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,
rarityDelimiter,
preview,
shuffleLayerConfigurations,
debugLogs,
extraMetadata,
pixelFormat,
text,
namePrefix,
network,
solanaMetadata,
gif,
preview_gif,
};