Telegram Auto-Wallets
Create a wallet in a single-click from your telegram mini-app.
Introduction
Seamless Telegram Login with Telegram Web Apps improves user experience by enabling quick access directly within Telegram Messenger. Users can launch a mini app and get automatically logged in.
Live example of a Dynamic Seamless Telegram Login @DynamicMiniAppBot on Telegram App.
Live Demo
🤖 Open Dynamic Mini App Bot in Telegram
Integration guide
To begin, you can clone the provided Mini App example and repository as a foundation for your project.
Step-by-Step Instructions
-
Create an Account on Dynamic
- If you haven’t done so already, sign up for an account on Dynamic and take note of your Environment ID.
-
Clone the Repository and Deploy
- Clone Mini App example and repository to your local machine.
- Follow steps in the README
- Deploy the application online. With Next.js, you can deploy a web app within minutes. Follow the deployment instructions here.
-
Create a Telegram App and Bot
-
Configure Settings in Dynamic Dashboard
- In your Dynamic dashboard, complete the following steps:
- Add your web app URL as authorized CORS origin.
- Enable Telegram Social Login and configure it with your Bot Name and Secret Token.
- In your Dynamic dashboard, complete the following steps:
-
Update Bot Configuration
- Use the Bot
TOKEN
from Telegram and set your web app URL as theLOGIN_URL
inscripts/bot.ts
or add them as environment variables.
- Use the Bot
-
Run the Telegram Bot
- Run the Telegram bot using the following command:
npx ts-node scripts/bot.ts
- Run the Telegram bot using the following command:
-
Start the Bot in Telegram
- Open Telegram, go to your newly created bot, and type
/start
.
- Open Telegram, go to your newly created bot, and type
Success!
You should now have Dynamic’s Seamless Telegram Login fully functional in your Mini App. 🎉
If you have any questions or need help with the integration, feel free to reach out to us in Slack.
Was this page helpful?