Table of Contents
📝About
I put together a framework to create and mint your own Generative NFT Collection like Bored Ape Yacht Club and CryptoPunks. With this template (steps below), you will be able to:
- Generate thousands of AI images with unique characteristics (also called "properties") via DALL-E
- Upload .jpg metadata to IPFS via Pinata
- Create + deploy basic ERC-721 Smart Contract via RemixIDE using Solidity and existing Ether.js, Web3.js libraries (this may change in the future, please chec OpenZeppelin for most recent templates if encountering errors)
- Bulk mint on OpenSea marketplace as a publicly available NFT collection
💻How to Build
Note: NFT collection of size 10 used in exampleCreate an account here --> https://vanity-eth.tk/
Acquire ether via Ropsten test network --> https://faucet.egorfine.com/
Make
.env
file with Ropsten url and private keyDeploy to Hardhat network (local dev blockchain)
npx hardhat run --network localhost scripts/deploy.js
Deploy to Ropsten
npx hardhat run --network ropsten scripts/deploy.js
Mint the NFTs at these endpoints (10 total):
https://ipfs.io/ipfs/QmS416JXfsW8kUJ5fcvabbaeabvd5g1n8pfnkt9Wk4pJLE/1.json
https://ipfs.io/ipfs/QmS416JXfsW8kUJ5fcvabbaeabvd5g1n8pfnkt9Wk4pJLE/2.json
https://ipfs.io/ipfs/QmS416JXfsW8kUJ5fcvabbaeabvd5g1n8pfnkt9Wk4pJLE/3.json
https://ipfs.io/ipfs/QmS416JXfsW8kUJ5fcvabbaeabvd5g1n8pfnkt9Wk4pJLE/4.json
https://ipfs.io/ipfs/QmS416JXfsW8kUJ5fcvabbaeabvd5g1n8pfnkt9Wk4pJLE/5.json
https://ipfs.io/ipfs/QmS416JXfsW8kUJ5fcvabbaeabvd5g1n8pfnkt9Wk4pJLE/6.json
https://ipfs.io/ipfs/QmS416JXfsW8kUJ5fcvabbaeabvd5g1n8pfnkt9Wk4pJLE/7.json
https://ipfs.io/ipfs/QmS416JXfsW8kUJ5fcvabbaeabvd5g1n8pfnkt9Wk4pJLE/8.json
https://ipfs.io/ipfs/QmS416JXfsW8kUJ5fcvabbaeabvd5g1n8pfnkt9Wk4pJLE/9.json
https://ipfs.io/ipfs/QmS416JXfsW8kUJ5fcvabbaeabvd5g1n8pfnkt9Wk4pJLE/10.json
🔧Tools Used
Web3 frameworks
Smart contracts
Misc