Skip to content

A blockchain-based Pokemon NFT collection platform built on the CKB (Nervos Network) blockchain using CKB-JS-VM smart contracts.

Notifications You must be signed in to change notification settings

cryptape/ckb-js-pokemon

Repository files navigation

CKB-JS Pokemon

A blockchain-based Pokemon NFT collection platform built on the CKB (Nervos Network) blockchain using CKB-JS-VM smart contracts.

🎴 Overview

This project implements a Pokemon NFT collection platform where users can:

  • Purchase Pokemon NFTs using PokePoints (custom token system)
  • Build their Pokemon collection with varying rarities and prices
  • Manage their Pokemon collection through a modern React web interface

🏗️ Project Components

  • Frontend App: Next.js application with React components and CKB wallet integration
  • PokePoint Contract: Custom token contract for platform currency (10 CKB = 1 PokePoint)
  • Pokemon Contract: NFT contract for Pokemon collectibles with integrated pricing

🚀 Quick Start

# Install dependencies
pnpm install

# Build smart contracts
pnpm build:contracts

# Start frontend development server
pnpm dev

Requirements: Node.js 18+, pnpm Development Server: http://localhost:3000

🔧 Development Commands

# Frontend
pnpm dev                    # Start development server
pnpm build                  # Build for production
pnpm lint                   # Run linting

# Smart Contracts
pnpm build:contracts        # Build all contracts
pnpm test:contracts         # Run contract tests
pnpm clean:contracts        # Clean contract builds

# Utilities
pnpm issue-pokemon          # Issue Pokemon NFTs (requires deployed contracts)

📚 Documentation

📄 License

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


Built with ❤️ on the CKB blockchain

About

A blockchain-based Pokemon NFT collection platform built on the CKB (Nervos Network) blockchain using CKB-JS-VM smart contracts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published