Skip to content

Commit b49507a

Browse files
committed
add eth
1 parent 15c5af1 commit b49507a

File tree

7 files changed

+1081
-1080
lines changed

7 files changed

+1081
-1080
lines changed

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "minter-dapp-backend",
3-
"version": "0.0.2",
3+
"version": "0.1.0",
44
"description": "Generate an NFT collection and deploy a minting dapp easy!!",
55
"main": "index.js",
66
"bin": "index.js",

backend/src/config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const namePrefix = "YOUR COLLECTION NAME";
1111
const description = "Remember to replace this description";
1212
const baseUri = "ipfs://NewUriToReplace"; // This will be replaced automatically
1313

14-
// If you have selected Solana then the collection starts from 0 automatically
1514
const layerConfigurations = [
1615
{
1716
growEditionSizeTo: 5,
@@ -46,7 +45,7 @@ const extraMetadata = {
4645
// ** REQUIRED **
4746
const AUTH = process.env.NFTPORT_API_KEY; // Set this in the .env file to prevent exposing your API key when pushing to Github
4847
const LIMIT = 2; // Your API key rate limit
49-
const CHAIN = 'rinkeby'; // only rinkeby or polygon
48+
const CHAIN = 'rinkeby'; // only rinkeby, polygon, or ethereum
5049

5150
// REQUIRED CONTRACT DETAILS THAT CANNOT BE UPDATED LATER!
5251
const CONTRACT_NAME = 'CRYPTOPUNKS';
@@ -55,7 +54,7 @@ const METADATA_UPDATABLE = true; // set to false if you don't want to allow meta
5554
const OWNER_ADDRESS = 'YOUR WALLET ADDRESS HERE';
5655
const TREASURY_ADDRESS = 'YOUR WALLET ADDRESS HERE';
5756
const MAX_SUPPLY = 5000; // The maximum number of NFTs that can be minted. CANNOT BE UPDATED!
58-
const MINT_PRICE = 1; // Minting price per NFT. Rinkeby = ETH, Polygon = MATIC. CANNOT BE UPDATED!
57+
const MINT_PRICE = 0.01; // Minting price per NFT. Rinkeby = ETH, Ethereum = ETH, Polygon = MATIC. CANNOT BE UPDATED!
5958
const TOKENS_PER_MINT = 10; // maximum number of NFTs a user can mint in a single transaction. CANNOT BE UPDATED!
6059

6160
// REQUIRED CONTRACT DETAILS THAT CAN BE UPDATED LATER.

frontend/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ <h2>Minted!</h2>
210210
<script src="js/web3.min.js"></script>
211211
<script src="js/splide.min.js"></script>
212212
<script src="js/constants.js"></script>
213+
<script src="js/abi.js"></script>
213214
<script src="js/countdown.js"></script>
214215
<script src="js/app.js"></script>
215216
</body>

0 commit comments

Comments
 (0)