Skip to content

lorine93s/NFT-auction-platform-Solana

Repository files navigation

🎨 Solana NFT Auction Platform

A revolutionary NFT creation and trading platform built on Solana blockchain, featuring randomized NFT generation, auction mechanics, and a comprehensive marketplace for digital collectibles.

Solana NFT Auction Platform Next.js TypeScript Chakra UI

🌟 Features

🎲 Randomized NFT Creation

  • Deposit-Based Generation: Users deposit SOL to create unique NFTs
  • Blockchain Randomization: NFT value determined by blockchain randomization technology
  • Variable Outcomes: Deposit 0.1 SOL, get NFT worth 0.5 SOL or 0.01 SOL - it's all about luck!
  • Fair Distribution: Transparent randomization ensures fair and unpredictable results

🏪 NFT Marketplace

  • Create & Trade: Users can create NFTs and immediately list them for sale
  • Auction System: Advanced auction mechanics for competitive bidding
  • Instant Trading: Buy and sell NFTs seamlessly on the platform
  • Price Discovery: Market-driven pricing through auction mechanisms

🎮 Future Gaming Integration

  • Utility NFTs: Created NFTs can be used in future gaming projects
  • Value Appreciation: NFTs gain value and utility through platform ecosystem
  • Cross-Platform: Seamless integration with upcoming gaming features

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • Solana CLI tools
  • A Solana wallet (Phantom, Solflare, etc.)

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/solana-nft-auction.git
    cd solana-nft-auction
  2. Install dependencies

    npm install
    # or
    yarn install
  3. Configure environment

    cp .env.example .env.local
    # Edit .env.local with your configuration
  4. Run the development server

    npm run dev
    # or
    yarn dev
  5. Open your browser Navigate to http://localhost:3000

🎯 How It Works

1. NFT Creation Process

  1. Connect Wallet: Link your Solana wallet to the platform
  2. Deposit SOL: Choose your deposit amount (minimum 0.01 SOL)
  3. Random Generation: Blockchain randomization determines NFT value and rarity
  4. Mint NFT: Your unique NFT is created and added to your collection

2. Trading & Auctions

  1. List for Sale: Set your price or start an auction
  2. Browse Marketplace: Discover unique NFTs from other creators
  3. Bid & Buy: Participate in auctions or buy at fixed prices
  4. Instant Settlement: All transactions settled on Solana blockchain

3. Future Integration

  • Gaming Assets: Use your NFTs in upcoming games
  • Utility Features: Unlock special features with rare NFTs
  • Community Benefits: Holders get access to exclusive content

🛠️ Technical Stack

  • Frontend: Next.js 13, TypeScript, Chakra UI
  • Blockchain: Solana Web3.js, Metaplex
  • Wallet Integration: Solana Wallet Adapter
  • Payment: Solana Pay integration
  • Styling: Framer Motion, Emotion

📱 Solana Pay Integration

This platform supports Solana Pay for seamless mobile payments:

  • QR Code Generation: Generate QR codes for easy mobile payments
  • Transaction Requests: Secure transaction handling
  • Mobile-First: Optimized for mobile wallet interactions

Note: Solana Pay requires HTTPS. For development, use ngrok to create a secure tunnel: ngrok http 3000

🔧 Development

Project Structure

solana-nft-auction/
├── components/          # React components
│   ├── MintButton.tsx   # Wallet-based minting
│   ├── MintQR.tsx       # Solana Pay QR code
│   └── WalletMultiButton.tsx
├── contexts/            # React contexts
├── hooks/               # Custom hooks
├── pages/               # Next.js pages
│   ├── api/            # API routes
│   └── index.tsx       # Main page
├── styles/             # CSS modules
└── utils/              # Utility functions

Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run start - Start production server
  • npm run lint - Run ESLint

🌐 Network Support

  • Devnet: For development and testing
  • Mainnet: For production (coming soon)

📞 Contact & Support

Developer: Lorine93s
Telegram: @lorine93s

For questions, support, or collaboration opportunities, reach out via Telegram!

🤝 Contributing

We welcome contributions! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

⚠️ Disclaimer

This is a development project. Always verify smart contracts and conduct thorough testing before using with real funds. The randomization feature is for entertainment purposes and should not be considered as investment advice.


Built with ❤️ on Solana | Powered by Next.js | Styled with Chakra UI

About

Provably-fair Solana NFT auction platform. Create NFTs with deposit-based randomized value, then trade or auction them in a fast, mobile-friendly marketplace built with Next.js and Solana Pay.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors