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-app
- MetaMask
- Binance Wallet
- OKX Wallet
- Bitget Wallet
- Trust Wallet
- TONConnect
Note: Deep link support is implemented for common wallets and can be extended in App.js
:
bitkeep://
metamask://
trust://
wc://
okex://
bnc://
- Create a
.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
- Start the development server:
yarn dev
The app will be available at http://localhost:3000
.
- Build the application:
yarn build
- Start the production server:
yarn start
Note: Always ensure your .env
file is properly configured before starting either development or production servers.