feat: Integrate Telegram Mini App support from fork#172
Draft
Copilot wants to merge 6 commits into
Draft
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: tiero <3596602+tiero@users.noreply.github.com>
Deploying wallet-signet with
|
| Latest commit: |
cb42d4e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://61ead9d5.wallet-23u.pages.dev |
| Branch Preview URL: | https://copilot-integrate-telegram-m.wallet-23u.pages.dev |
Deploying wallet-mutinynet with
|
| Latest commit: |
cb42d4e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://fedf4b54.arkade-wallet.pages.dev |
| Branch Preview URL: | https://copilot-integrate-telegram-m.arkade-wallet.pages.dev |
Deploying wallet-bitcoin-v8 with
|
| Latest commit: |
cb42d4e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ed192693.wallet-v8.pages.dev |
| Branch Preview URL: | https://copilot-integrate-telegram-m.wallet-v8.pages.dev |
Co-authored-by: tiero <3596602+tiero@users.noreply.github.com>
Co-authored-by: tiero <3596602+tiero@users.noreply.github.com>
Co-authored-by: tiero <3596602+tiero@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Integrate telegram as mini-app with recent changes from master
feat: Integrate Telegram Mini App support from fork
Oct 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR integrates the Telegram Mini App functionality from @vincenzopalazzo's fork (compare link) into the main repository, enabling the Arkade Wallet to run as a native Telegram Mini App.
What's Changed
Core Telegram Integration
Added complete Telegram WebApp API integration that allows the wallet to run seamlessly within Telegram:
New Features Enabled
UI Updates
New Components
BackToWalletButton- Navigation helperMinimal- Minimal layout componentTelegramExample- Interactive demo of Telegram featuresTextarea- Textarea componentAppearance,Checked,PasskeyDocumentation
Added comprehensive
TELEGRAM_MINI_APP_DEPLOYMENT.mdwith:Security
Fixed XSS vulnerability in iframe URL handling:
http:andhttps:URLsjavascript:anddata:URI injection attackssandboxattributes to iframe for defense in depthsrc/providers/iframe.tsx,src/index.tsx,src/App.tsxTesting
Minimal Changes Approach
This integration was carefully designed to:
Files Changed
Added (11 files):
src/types/telegram.d.ts,src/providers/telegram.tsx,src/providers/iframe.tsxsrc/components/{TelegramExample,BackToWalletButton,Minimal,Textarea}.tsxsrc/icons/{Appearance,Checked,Passkey}.tsxsrc/App.cssTELEGRAM_MINI_APP_DEPLOYMENT.mdModified (5 files):
index.html- Added Telegram SDKsrc/index.tsx- Added providers to hierarchysrc/App.tsx- Integrated iframe support, updated tab iconspublic/manifest.json- Updated icon referencesStats: 16 files changed, 1,338 insertions(+), 104 deletions(-)
How to Deploy
Follow the comprehensive guide in
TELEGRAM_MINI_APP_DEPLOYMENT.mdto:Graceful Degradation
All Telegram features work with appropriate fallbacks when running outside of Telegram, ensuring the wallet functions perfectly in both environments.
Closes #[issue-number] (if applicable)
Co-authored-by: Vincenzo Palazzo vincenzopalazzodev@gmail.com
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.