Giter Club home page Giter Club logo

nft-dapp-starter-kit's Introduction

NFT Dapp Starter Kit 🏗️

Ready to bootstrap your own NFT minting site? You're in the right place. This boilerplate repo contains an NFT minting contract, a sample frontend dapp, and metadata generation scripts for you to get started.

Play around with the deployed test app here. Check out the deployed test contract on Goerli: NonFungibleCoinbae: 0xBa9FFf60ead181805369F92e032D898227937b2B.

Getting Started

Have the following items handy, then fork this repository and move onto Step 1:

  1. Private and public key of your development wallet (Coinbase Wallet Recommended)
  2. API URL for testnet and mainnet (Coinbase recommended for mainnet, Alchemy or Infura for testnet)
  3. Etherscan API Key for contract verification (Etherscan)

Step 1: Smart Contracts

Set up and deploy your NFT smart contract and interact with them via Hardhat by going to /smart-contracts.

Step 2: Frontend

Set up and deploy your own minting dapp UI by going to /frontend

Step 3: Metadata / Assets

Learn more about token metadata and generate your own metadata by going to /metadata.

Questions?

If you have any questions or notice issues, please file a ticket and we will respond as soon as possible! We welcome all contributors to open pull requests and will try to review them in a timely manner.

Projects Built with NFT Dapp Starter Kit

Open a PR to add your project to the list:)

Inspirations

This starter kit was largely inspired by the following projects:

Resources

License

See LICENSE

nft-dapp-starter-kit's People

Contributors

jeongmincho avatar shiva-tzu avatar straightupjac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nft-dapp-starter-kit's Issues

Frontend issue with Vercel and code

@jeongmincho Following the steps exactly as written and Vercel will give you this error -- "Error: No Next.js version could be detected in your project. Make sure "next" is installed in "dependencies" or "devDependencies"" even though it is defined in package.json. And then when you try to change it and deploy the build as "other" it gives you this error "404: NOT_FOUND
Code: NOT_FOUND ID: iad1::wqs62-1675825232273-f1f66922562b"

Ideally, we need to see the Build & Development Settings utilized within Vercel with this code including the framework used and Node.js Version utilized.

If someone could just pull the coinbaes site and shows exactly what the settings are in vercel that would be much appreciated.

error while uploading images in art-engine folder in metadata

PS C:\Users\RAKESH NADIMINTI\Downloads\nft-dapp-starter-kit-main\metadata\art-engine> yarn generate
yarn run v1.22.19
$ node scripts/generateMetadata.js
Uploading images...
The number of files being added would exceed your account’s pin limit
Finished uploading images
Error: ENOENT: no such file or directory, open 'build/URI/postRevealImgURI.txt'
at Object.openSync (node:fs:506:3)
at Object.readFileSync (node:fs:402:35)
at updateMetadata (C:\Users\RAKESH NADIMINTI\Downloads\nft-dapp-starter-kit-main\metadata\art-engine\scripts\post-reveal\updateMetadata.js:8:30)
at main (C:\Users\RAKESH NADIMINTI\Downloads\nft-dapp-starter-kit-main\metadata\art-engine\scripts\generateMetadata.js:7:9)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'build/URI/postRevealImgURI.txt'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

please help me to resolve this error

when i use mint public sale i get Error: Public sale is currently closed

1、it's my Contract address https://goerli.etherscan.io/address/0x42fa97571041c96167b3305cf7c89cd4b2af7158

.env

Goerli JSON RPC URL (Required for Goerli deployment)

GOERLI_API_URL=https://eth-goerli.g.alchemy.com/v2/RF8yubFYyclwm8b9SHxnd04CprKwQcRX

Mainnet JSON RPC URL (Required for Mainnet deployment)

MAINNET_API_URL=https://eth-mainnet.g.alchemy.com/v2/eUk0BL63e_xBVKI9WNYKBKiy0ZlI4lzA

Polygon JSON RPC URL (Optional)

POLYGON_API_URL=

Private Key used to deploy NFT (Required)

PRIVATE_KEY=*******

Public Key used to deploy NFT (Required)

PUBLIC_KEY=0x4aA717ef6C31fd152aa5C4d2601eC22C27Da2b78

Wallet to receive NFT royalties (Required to deploy contract)

ROYALTY_RECEIVER_ADDR=0x4aA717ef6C31fd152aa5C4d2601eC22C27Da2b78

Etherscan API Key to verify contract on Etherscan (Optional)

ETHERSCAN_API_KEY=*****

Polygonscan API Key to verify contract on Polygonscan (Optional)

POLYGONSCAN_API_KEY=

Token Base URI for NFT collection

BASE_URI=https://gateway.pinata.cloud/ipfs/QmXqVV2Dy8GVBx41LwuSuhxoVnzWHQJ7gZN5dDRYxeiu94

modify as needed

For setting provenance hash (Optional)

PROVENANCE_HASH=

Token Collection URI

COLLECTION_URI=https://gateway.pinata.cloud/ipfs/QmTYo65YBGZe1GCUPG1G4QcaRmVukRNypSUVcGQPLsjzsj # modify as needed

NFT Contract Address (Fill after running deploy script, required for running tasks)

CONTRACT_ADDRESS=0x42Fa97571041C96167B3305CF7c89CD4B2af7158

2、Matedate https://gateway.pinata.cloud/ipfs/QmXqVV2Dy8GVBx41LwuSuhxoVnzWHQJ7gZN5dDRYxeiu94/

3、all thing do over and when i yarn dev coinbase of frontend, when i mint public sale i get Error: Public sale is currently closed

what should i do respect, peace.

Update contract

Can you update the contract for for ERC721A or some low gas minting?

Issue with withdraw

I am attempting to execute the withdraw script with yarn withdraw and I am getting the following error:
reason: 'missing argument: passed to contract', code: 'MISSING_ARGUMENT', count: 0, expectedCount:
Am i missing something when executing the withdraw script? Thanks!

Changing default settings

How can I change the default [1] symbol, [2] name and [3] description of the NFT contract so that it also updates on OpenSea? Currently it is defaulted to MyNFT. Thanks!

presale page not rendering

After running yarn setPresaleListMerkle and yarn setPresaleActive ...for UI is not changing to page that is shown in youtube tutorial
can please help me how can get same as in the video tutorial

Unable to mint.

Everything is great until you try to mint. It just says Error under the button in red.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.