• TypeScript 77.5%
  • Solidity 18.6%
  • CSS 2.9%
  • JavaScript 1%
Find a file
2026-01-05 13:57:37 +01:00
app removed duplicated code 2026-01-05 12:57:51 +01:00
artifacts Add input validation to mintRelic function in OvermindNFT.sol 2025-12-25 20:47:26 +01:00
cache Add input validation to mintRelic function in OvermindNFT.sol 2025-12-25 20:47:26 +01:00
components fixed nft/x page 2026-01-05 13:53:53 +01:00
contexts feat: add global FavoritesContext provider 2026-01-05 11:33:20 +01:00
contracts Add input validation to mintRelic function in OvermindNFT.sol 2025-12-25 20:47:26 +01:00
hooks fixed nft/x page 2026-01-05 13:53:53 +01:00
lib fix: resolve build issues after rebase 2025-12-13 22:13:40 +01:00
public Add input validation to mintRelic function in OvermindNFT.sol 2025-12-25 20:47:26 +01:00
scripts feat: add scripts/create-test-nfts.mjs for development NFT minting 2026-01-03 15:12:00 +01:00
styles Initialized repository for project Overmind Gallery NFT 2025-08-23 11:41:26 +00:00
test fix: exclude scripts from TypeScript compilation 2025-12-09 14:29:31 +01:00
types feat: add favorites types and interfaces 2026-01-05 11:33:20 +01:00
.env.example audit 2025-12-25 19:56:30 +01:00
.env.local.example Security audit fixes: GBM reentrancy protection, signature expiration, NFT access control, security headers, deployment checks 2025-12-25 20:42:35 +01:00
.gitignore audit 2025-12-25 19:56:30 +01:00
components.json Initialized repository for project Overmind Gallery NFT 2025-08-23 11:41:26 +00:00
hardhat.config.ts Add NFT and marketplace smart contracts 2025-08-29 18:32:06 +02:00
LICENSE docs: add MIT license file to complete project licensing 2026-01-03 16:51:27 +01:00
next.config.mjs Security audit fixes: GBM reentrancy protection, signature expiration, NFT access control, security headers, deployment checks 2025-12-25 20:42:35 +01:00
package-lock.json feat: implement web3 nft display and details pages - complete issue #51 2026-01-03 15:12:37 +01:00
package.json feat: implement web3 nft display and details pages - complete issue #51 2026-01-03 15:12:37 +01:00
pnpm-lock.yaml feat: complete NFT view design with profile pages and components 2025-12-24 17:09:57 +01:00
postcss.config.mjs Initialized repository for project Overmind Gallery NFT 2025-08-23 11:41:26 +00:00
README.md deleted about ETH 2026-01-05 13:15:12 +01:00
tsconfig.json fix: exclude scripts from TypeScript compilation 2025-12-09 14:29:31 +01:00
vercel.json feat: implement web3 nft display and details pages - complete issue #51 2026-01-03 15:12:37 +01:00

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

  1. Clone the repository

    git clone <repository-url>
    cd Overmind-Gallery
    
  2. Install dependencies

    npm install
    
  3. Configure environment variables

    cp .env.example .env.local
    # Edit .env.local with your WalletConnect project ID if needed
    
  4. 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

  1. Start local Hardhat network:

    npx hardhat node
    
  2. Deploy contracts:

    npx hardhat run scripts/deploy.ts --network localhost
    
  3. 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

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/mystical-enhancement)
  3. Commit changes (git commit -m 'Add mystical enhancement')
  4. Push to branch (git push origin feature/mystical-enhancement)
  5. 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:

The Overmind Gallery

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