Skip to content

bz-hashtag-0780/kitty-kombat-lite

Repository files navigation

Kitty Kombat Lite

View live demo on Telegram: https://t.me/KittyKombatLiteBot/app/

Live Demo


Production Setup Guide

Prerequisites

  1. Create accounts and gather credentials:

Environment Setup

  1. Create a .env file in your project root:
NEXT_PUBLIC_MAGIC_API_KEY=your_magic_publishable_key
  1. Set up Flow credentials:
    • Create mainnet-account.pkey file with your Flow private key
  • View your private key by navigating to: Flow Wallet chrome extension > settings > account list > [account] > private key
  • Update flow.json with your mainnet account address
{
  "accounts": {
    "mainnet-account": {
      "address": "<YOUR_FLOW_ADDRESS>",
      "key": {
        "type": "file",
        "location": "mainnet-account.pkey"
      }
    }
  }
}

Smart Contract Deployment

  1. Install Flow CLI:
sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"
  1. Deploy contract to mainnet:
flow project deploy --network mainnet

Frontend Deployment

  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Deploy to Vercel:
vercel --prod

Security Notes

  • Keep your mainnet-account.pkey secure and never commit it to version control

  • Your Magic.link publishable key NEXT_PUBLIC_MAGIC_API_KEY is safe to commit

  • Add .env to your .gitignore file if it's not already there

Releases

No releases published

Packages

No packages published