Skip to content

paul90317/web3-mini-app

Repository files navigation

Web3 Mini App with Turnkey

Execution

  1. Set the configuration file .env:
    # Turnkey Organization
    PRIVATE_KEY=
    PUBLIC_KEY=
    ORG_ID=
    
    # RPC provider URL for Sepolia network
    RPC_PROVIDER_URL=https://sepolia.infura.io/v3/<your token>
    
    # Telegram Bot Token for authentication
    BOT_TOKEN=
    
    # Telegram Bot Name
    NEXT_PUBLIC_BOT_NAME=
    
    # Secret key for JWT
    SECRET_KEY=<Any password that is secure enough>
    Follow the Turnkey documentation to obtain your organization ID and API key pair.
  2. Build and run the frontend:
    npm install .
    npm run dev

Set Telegram OAuth domain

Follow Telegram Login Widget to set domain with Telegram BotFather

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published