Skip to content

Minter abde #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion backend/.env.example

This file was deleted.

30 changes: 15 additions & 15 deletions backend/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ const { NETWORK } = require(`${basePath}/constants/network.js`);
const network = NETWORK.eth;

// General metadata for Ethereum
const namePrefix = "YOUR COLLECTION NAME";
const description = "Remember to replace this description";
const namePrefix = "abdessamad";
const description = "abdesssaaaamd";
const baseUri = "ipfs://NewUriToReplace"; // This will be replaced automatically

const layerConfigurations = [
{
growEditionSizeTo: 5,
growEditionSizeTo: 20,
layersOrder: [
{ name: "Background" },
{ name: "Eyeball" },
Expand Down Expand Up @@ -48,34 +48,34 @@ const LIMIT = 2; // Your API key rate limit
const CHAIN = 'rinkeby'; // only rinkeby, polygon, or ethereum

// REQUIRED CONTRACT DETAILS THAT CANNOT BE UPDATED LATER!
const CONTRACT_NAME = 'CRYPTOPUNKS';
const CONTRACT_SYMBOL = 'CP';
const CONTRACT_NAME = 'abdessamad';
const CONTRACT_SYMBOL = 'ad';
const METADATA_UPDATABLE = true; // set to false if you don't want to allow metadata updates after minting
const OWNER_ADDRESS = 'YOUR WALLET ADDRESS HERE';
const TREASURY_ADDRESS = 'YOUR WALLET ADDRESS HERE';
const OWNER_ADDRESS = '0xfF9693F0BaC7b3F461a70B4bf94d90E74cA7AF3eHERE';
const TREASURY_ADDRESS = '0xfF9693F0BaC7b3F461a70B4bf94d90E74cA7AF3eHERE';
const MAX_SUPPLY = 5000; // The maximum number of NFTs that can be minted. CANNOT BE UPDATED!
const MINT_PRICE = 0.01; // Minting price per NFT. Rinkeby = ETH, Ethereum = ETH, Polygon = MATIC. CANNOT BE UPDATED!
const TOKENS_PER_MINT = 10; // maximum number of NFTs a user can mint in a single transaction. CANNOT BE UPDATED!

// REQUIRED CONTRACT DETAILS THAT CAN BE UPDATED LATER.
const PUBLIC_MINT_START_DATE = "2022-03-20T11:30:48+00:00"; // This is required. Eg: 2022-02-08T11:30:48+00:00
const PUBLIC_MINT_START_DATE = "2022-08-20T11:30:48+00:00"; // This is required. Eg: 2022-02-08T11:30:48+00:00

// OPTIONAL CONTRACT DETAILS THAT CAN BE UPDATED LATER.
const PRESALE_MINT_START_DATE = null; // Optional. Eg: 2022-02-08T11:30:48+00:00
const ROYALTY_SHARE = 1000; // Percentage of the token price that goes to the royalty address. 100 bps = 1%
const ROYALTY_ADDRESS = "0xd8B808A887326F45B2D0cd999709Aa6264CeF919"; // Address that will receive the royalty
const PRESALE_MINT_START_DATE = "2022-08-20T11:30:48+00:00"; // Optional. Eg: 2022-02-08T11:30:48+00:00
const ROYALTY_SHARE = 800; // Percentage of the token price that goes to the royalty address. 100 bps = 1%
const ROYALTY_ADDRESS = "0xfF9693F0BaC7b3F461a70B4bf94d90E74cA7AF3e"; // Address that will receive the royalty
const BASE_URI = null; // only update if you want to manually set the base uri
const PREREVEAL_TOKEN_URI = null; // only update if you want to manually set the prereveal token uri
const PRESALE_WHITELISTED_ADDRESSES = []; // only update if you want to manually set the whitelisted addresses
const PRESALE_WHITELISTED_ADDRESSES = ["xfF9693F0BaC7b3F461a70B4bf94d90E74cA7AF3e"]; // only update if you want to manually set the whitelisted addresses

// ** OPTIONAL **
let CONTRACT_ADDRESS = "YOUR CONTRACT ADDRESS"; // If you want to manually include it
let CONTRACT_ADDRESS = "0x4665cc5F263d052ff16A87B2c997DC7B5B3618C7"; // If you want to manually include it

// Generic Metadata is optional if you want to reveal your NFTs
const GENERIC = true; // Set to true if you want to upload generic metas and reveal the real NFTs in the future
const GENERIC_TITLE = CONTRACT_NAME; // Replace with what you want the generic titles to say if you want it to be different from the contract name.
const GENERIC_DESCRIPTION = "REPLACE THIS"; // Replace with what you want the generic descriptions to say.
const GENERIC_IMAGE = "https://ipfs.io/ipfs/QmUf9tDbkqnfHkQaMdFWSGAeXwVXWA61pFED7ypx4hcsfh"; // Replace with your generic image that will display for all NFTs pre-reveal.
const GENERIC_DESCRIPTION = "apoer"; // Replace with what you want the generic descriptions to say.
const GENERIC_IMAGE = "hhttps://ipfs.io/ipfs/bafybeidndc6iia5v5p6qzmcbiazmczuxteuitq5mpvu57stci4muk6mijq"; // Replace with your generic image that will display for all NFTs pre-reveal.

// Automatically set contract address if deployed using the deployContract.js script
try {
Expand Down
6 changes: 3 additions & 3 deletions frontend/js/constants.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const contractAddress = "YOUR CONTRACT ADDRESS"; // Replace with your own contract address
const contractAddress = "0x4665cc5F263d052ff16A87B2c997DC7B5B3618C7"; // Replace with your own contract address
const chain = 'rinkeby'; // rinkeby, polygon, or ethereum

const welcome_h1 = "Welcome to the CodeCats NFT Project!!";
const welcome_h1 = "Welcome to the abdessamad!!";
const welcome_h2 = "Connect to MetaMask to Get Started";
const welcome_p = 'The CodeCats NFT Project is a decentralized, open-source project that aims to demonstrate how to develope and launch your own NFT Collection. Follow step by step on the <a href="https://youtube.com/codestackr" target="_blank" rel="noopener noreferrer">codeSTACKr</a> YouTube channel.';
const welcome_p = 'this is the real challenge.';
const h1_presale_coming_soon = "NFT Drop Coming Soon!!";
const h1_presale_mint = "Pre-Sale Minting Open!!";
const h1_public_mint = "Public Minting Open!!";
Expand Down