mirror of
https://github.com/pezkuwichain/pezkuwi-telegram-miniapp.git
synced 2026-06-20 23:11:06 +00:00
feat: add P2P deposit/withdraw flow for Telegram mini app
- New request-withdraw-telegram edge function (session token auth) - New DepositWithdrawModal component with deposit/withdraw tabs - Deposit: platform wallet display, TX hash verification, on-chain check - Withdraw: token select, amount, fee display, balance validation - BalanceCard: deposit/withdraw buttons always visible - P2P section: modal state management and balance refresh on success - p2p-api: verifyDeposit and requestWithdraw functions - i18n: 24 new translation keys across all 6 languages
This commit is contained in:
@@ -406,6 +406,31 @@ export interface Translations {
|
||||
fake_payment_proof: string;
|
||||
other: string;
|
||||
};
|
||||
// Deposit / Withdraw
|
||||
deposit: string;
|
||||
withdraw: string;
|
||||
platformWallet: string;
|
||||
txHash: string;
|
||||
txHashPlaceholder: string;
|
||||
blockNumber: string;
|
||||
optional: string;
|
||||
verifyDeposit: string;
|
||||
verifying: string;
|
||||
verifyingDesc: string;
|
||||
depositSuccess: string;
|
||||
depositFailed: string;
|
||||
depositInstructions: string;
|
||||
depositInvalidAmount: string;
|
||||
selectToken: string;
|
||||
withdrawAmount: string;
|
||||
networkFee: string;
|
||||
netAmount: string;
|
||||
withdrawSuccess: string;
|
||||
withdrawProcessing: string;
|
||||
withdrawing: string;
|
||||
minWithdraw: string;
|
||||
maxAvailable: string;
|
||||
walletAddress: string;
|
||||
// No data
|
||||
noTrades: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user