A collection of 505 unique NFTs on Base Chain with micro-pricing.
- 505 Unique NFTs - Each NFT is uniquely generated
- Random Minting - Get a random NFT from the collection
- Micro Price - Only 0.00001 ETH per mint
- Batch Minting - Mint up to 10 NFTs at once
- 5 Rarity Tiers - Common, Uncommon, Rare, Epic, Legendary
- Base Chain - Low gas fees on Ethereum L2
# Install dependencies
forge install
# Build
forge build
# Test
forge test
# Deploy (update .env first)
forge script script/DeployMiniNFT.s.sol --rpc-url base --broadcastcd frontend
# Install dependencies
npm install
# Run development server
npm run dev| Property | Value |
|---|---|
| Network | Base Mainnet |
| Contract | 0x80203c0838a1cABe0eAbc0aC9e22f6Abd512cAa9 |
| Max Supply | 505 |
| Mint Price | 0.00001 ETH |
| Max per Batch | 10 |
miniNFT/
├── src/
│ └── MiniNFT.sol # Main NFT contract
├── test/
│ └── MiniNFT.t.sol # Foundry tests
├── frontend/
│ ├── src/
│ │ ├── components/ # React components
│ │ ├── hooks/ # Custom hooks
│ │ ├── App.jsx # Main app
│ │ └── contract.js # Contract config
│ └── package.json
└── foundry.toml
remainingSupply()- Get available NFTs counttotalSupply()- Get minted NFTs countbalanceOf(address)- Get user's NFT counttokenURI(uint256)- Get NFT metadata URI
mint()- Mint 1 random NFT (0.00001 ETH)mintBatch(quantity)- Mint multiple NFTs (max 10)
setBaseURI(string)- Update metadata URIwithdraw()- Withdraw contract balance
| Tier | Probability | Count |
|---|---|---|
| Common | 40% | ~202 |
| Uncommon | 30% | ~152 |
| Rare | 18% | ~91 |
| Epic | 9% | ~45 |
| Legendary | 3% | ~15 |
MIT License - see LICENSE for details.
Built with ❤️ on Base Chain