- TypeScript 77.5%
- Solidity 18.6%
- CSS 2.9%
- JavaScript 1%
|
|
||
|---|---|---|
| app | ||
| artifacts | ||
| cache | ||
| components | ||
| contexts | ||
| contracts | ||
| hooks | ||
| lib | ||
| public | ||
| scripts | ||
| styles | ||
| test | ||
| types | ||
| .env.example | ||
| .env.local.example | ||
| .gitignore | ||
| components.json | ||
| hardhat.config.ts | ||
| LICENSE | ||
| next.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
| vercel.json | ||
The Overmind Gallery - Web3 NFT Marketplace
Sacred digital artifacts marketplace built with Next.js, Scaffold-ETH 2, and mystical aesthetics.
Features
- Web3 Integration: RainbowKit wallet connection with multi-chain support
- Smart Contracts: Custom NFT contracts with mystical power system and marketplace
- Mystical Design: Dark theme with cosmic aesthetics and animated elements
- Responsive UI: Mobile-first design with elegant components
- Real-time Data: Balance display, network info, and blockchain interactions
The Overmind Gallery is an art-first, auction-driven gallery built on the Intuition Network. Every sale is a live auction designed to let time, attention, and competition discover value. Each artifact is listed with a starting price and an auction duration. Collectors place bids using $TRUST. When a new bid outbids the previous bidder, the previous bidder receives a dynamic outbid reward.
Tech Stack
- Frontend: Next.js 15, React 19, TypeScript
- Web3: Wagmi, RainbowKit, Viem
- Smart Contracts: Hardhat, Solidity 0.8.20, OpenZeppelin
- Styling: Tailwind CSS 4, shadcn/ui components
- Blockchain: Ethereum, Sepolia testnet, Hardhat local
Prerequisites
- Node.js >= 18.0.0
- npm or yarn
- MetaMask or compatible Web3 wallet
Installation
-
Clone the repository
git clone <repository-url> cd Overmind-Gallery -
Install dependencies
npm install -
Configure environment variables
cp .env.example .env.local # Edit .env.local with your WalletConnect project ID if needed -
Compile smart contracts
npx hardhat compile
Usage
Development Mode
Start the development server:
npm run dev
Access the application at http://localhost:3000
Smart Contract Deployment
-
Start local Hardhat network:
npx hardhat node -
Deploy contracts:
npx hardhat run scripts/deploy.ts --network localhost -
Update contract addresses in
hooks/overmind/useDeployedContracts.ts
Production Build
npm run build
npm start
Smart Contracts
OvermindNFT
- ERC721 token with mystical power system (0-1000)
- Creator verification system
- Metadata URI storage for IPFS integration
OvermindMarketplace
- Buy/sell sacred relics with $TRUST
- Configurable marketplace fees
- Secure listing and transaction handling
Project Structure
├── app/ # Next.js app router pages
├── components/ # React components
│ ├── ui/ # shadcn/ui base components
│ ├── web3/ # Web3-specific components
│ └── providers/ # Context providers
├── contracts/ # Smart contracts
├── hooks/ # Custom React hooks
│ ├── scaffold-eth/ # Scaffold-ETH style hooks
│ └── overmind/ # Project-specific hooks
├── lib/ # Utilities and configurations
├── scripts/ # Deployment scripts
├── ARCHITECTURE.md # System architecture and GBM documentation
└── README.md # This file
Architecture
For detailed information about the system architecture, GBM auction mechanism, and contract interactions, see ARCHITECTURE.md.
The Overmind Gallery implements the sophisticated GBM (Gotta-Be-More) auction system from Aavegotchi, featuring dynamic pricing through competitive bidding with reward mechanisms for outbid participants.
Web3 Features
- Multi-chain Support: Mainnet, Sepolia, Hardhat local
- Wallet Integration: RainbowKit with custom dark theme
- Real-time Balance: ETH balance display with automatic updates
- Network Detection: Automatic network switching and display
- Smart Contract Interaction: Read/write operations with error handling
Contributing
- Fork the repository
- Create feature branch (
git checkout -b feature/mystical-enhancement) - Commit changes (
git commit -m 'Add mystical enhancement') - Push to branch (
git push origin feature/mystical-enhancement) - Create Pull Request
Environment Variables
# Required for wallet connections
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_project_id
# Optional RPC URLs (uses public endpoints if not provided)
NEXT_PUBLIC_MAINNET_RPC_URL=your_mainnet_rpc
NEXT_PUBLIC_SEPOLIA_RPC_URL=your_sepolia_rpc
# Private key for contract deployment (testnet/mainnet only)
PRIVATE_KEY=your_private_key
Deployment
Project is live at:
Reward Mechanism
When you are outbid, you can receive a reward. That reward increases when the new bidder jumps the price by a larger margin and is smaller for tiny increases. The reward cannot exceed 10% of the new bid.
Let: B_prev = previous (outbid) bid amount (in $TRUST) B_new = new winning bid amount (in $TRUST) r = relative increase MAX_P = maximum reward percent = 0.10 (10%) p = reward percent R = reward amount in $TRUST
Where: MAX_P = 0.10 (10%) r = (B_new - B_prev) / B_prev p = (MAX_P * r) R = (p * B_new)
👥 Authors
@Paarroo - Lead Developer, Smart Contract Specialist & UX Designer
@ChiefAmadi - UX Designer