- Set the configuration file
.env
:Follow the Turnkey documentation to obtain your organization ID and API key pair.# 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>
- Build and run the frontend:
npm install . npm run dev
Follow Telegram Login Widget to set domain with Telegram BotFather
- Telegram Mini Apps
- Telegram Login Widget
- Turnkey documentation
- How to Build a Onchain Telegram Mini App
- Next.js Document
- Turnkey Demo Telegram Mini App: github.com, t.me