Skip to content
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

Dapp #118

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open

Dapp #118

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.

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

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

Expand Down Expand Up @@ -37,7 +37,7 @@ const format = {
};

const extraMetadata = {
external_url: "https://codecats.xyz", // Replace with your website or remove this line if you do not have one.
external_url: "https://astonishing-parfait-37e0cd.netlify.app/", // Replace with your website or remove this line if you do not have one.
};

// NFTPort Info
Expand All @@ -51,19 +51,19 @@ const CHAIN = 'rinkeby'; // only rinkeby, polygon, or ethereum
const CONTRACT_NAME = 'CRYPTOPUNKS';
const CONTRACT_SYMBOL = 'CP';
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 = '0x6AdaF03FaB41eDa20169dBA94c24984D29be22f6';
const TREASURY_ADDRESS = '0x6AdaF03FaB41eDa20169dBA94c24984D29be22f6';
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-10-10T11: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 PRESALE_MINT_START_DATE = "2022-09-16T11:30:48+00:00"; // 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 ROYALTY_ADDRESS = "0x6AdaF03FaB41eDa20169dBA94c24984D29be22f6"; // 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
Expand All @@ -74,8 +74,8 @@ let CONTRACT_ADDRESS = "YOUR CONTRACT ADDRESS"; // If you want to manually inclu
// 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 = "which one you will get !"; // Replace with what you want the generic descriptions to say.
const GENERIC_IMAGE = "https://ipfs.io/ipfs/bafkreihy3f4yrfuhm7juwfzxfkxewcpe4hcqvjh77bvn3r6ujw4sddsdwa"; // 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 All @@ -97,8 +97,8 @@ const solanaMetadata = {
external_url: "https://www.youtube.com/c/hashlipsnft",
creators: [
{
address: "7fXNuer5sbZtaTEPhtJ5g5gNtuyRoKkvxdjEjEnPN4mC",
share: 100,
address: "0x6AdaF03FaB41eDa20169dBA94c24984D29be22f6",
share: 1,
},
],
};
Expand Down
4 changes: 2 additions & 2 deletions frontend/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
--font-primary: "Poppins", sans-serif;
--font-secondary: "Arvo", serif;
--font-code: "Roboto", monospace;
--bg-color: #00163f;
--bg-color: #234585;
--bg-color-transparent: #00163f80;
--font-color: #ffffff;
--btn-bg-color: #ffffff;
--accent-color: #be7efe;
--accent-color: #0979aa;
--header-shadow: var(--accent-color) 0px 0px 5px;
--card-shadow: var(--accent-color) 0px 0px 20px;
}
Expand Down
10 changes: 5 additions & 5 deletions frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>CodeCats</title>
<title>OUSS</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down Expand Up @@ -39,21 +39,21 @@
</div>
<div class="menu">
<a
href="https://discord.gg/A9CnsVzzkZ"
href="#"
target="_blank"
rel="noopener noreferrer"
>
<img src="images/header/discord.webp" alt="Discord" />
</a>
<a
href="https://twitter.com/codeSTACKr"
href="#"
target="_blank"
rel="noopener noreferrer"
>
<img src="images/header/twitter.webp" alt="Twitter" />
</a>
<a
href="https://opensea.io/collection/codecats"
href="#"
target="_blank"
rel="noopener noreferrer"
>
Expand All @@ -71,7 +71,7 @@
<h2 id="welcomeH2">Connect to MetaMask to Get Started</h2>
<h1 id="welcomeH1">Welcome to the CodeCats NFT Project!</h1>
<p id="welcomeP">
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.
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">OUSS</a> YouTube channel.
</p>
</div>
</section>
Expand Down
Loading