A ready-to-use boilerplate for building Web3 Telegram Mini Apps. This tech stack includes:
Install the project dependencies using:
yarn install
This project contains the following scripts:
dev: Runs the application in development modebuild: Builds the application for productionstart: Starts the production servertest: Runs testseject: Ejects from create-react-appNote: Deep link support is implemented for common wallets and can be extended in App.js:
bitkeep://metamask://trust://wc://okex://bnc://.env file in the root directory:WC_WEB3_PROJECT_ID=your_walletconnect_project_id # Get this from https://cloud.walletconnect.com/
REACT_APP_PUBLIC_URL=your dApp public url
Configure TON Connect manifest:
The TON Connect manifest is stored in public/tonconnect-manifest.json. Remember to configure this file according to your project’s information.
Install dependencies:
yarn install
yarn dev
The app will be available at http://localhost:3000.
yarn build
yarn start
Note: Always ensure your .env file is properly configured before starting either development or production servers.