Global Pay
A crypto based money transfer using stable coins
Created on 8th March 2026
•
Global Pay
A crypto based money transfer using stable coins
The problem Global Pay solves
Sending $500 abroad? That costs $25–55 in fees and takes 2–5 days. Crypto fixes speed and cost — but who wants to copy-paste 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU?
Global Pay combines Solana's speed (<2 sec, <$0.01 fee) with UPI's simplicity — send money to friend@globalpay instead of wallet addresses. Sign in with Google, set up in 2 minutes, no bank account needed. PIN-secured, on-chain verified, multi-currency display. Cross-border payments that just work.
Challenges we ran into
Challenges I ran into
-
Solana Devnet Airdrop Failures
The solana-py library's request_airdrop() threw InternalErrorMessage has no .value — an undocumented error. We switched to direct HTTP POST requests to the Solana RPC endpoint, then hit rate limits. Final fix: built a faucet fallback UI that shows a link to Solana's manual faucet with a copy-address button. -
Transactions Succeeding in API but Not On-Chain
solders.Transaction didn't have the .new() method we expected. Discovered we needed Transaction.new_signed_with_payer() + send_raw_transaction(bytes(tx)). Then send_transaction was silently swallowing failures and returning 201. Restructured to execute the on-chain transfer FIRST, only create the DB record after confirmed success. -
Ghost Transactions in History
Failed transfers were being saved to the database with status "FAILED" — visible to the receiver who never got any money. Fixed by only creating the transaction record AFTER a successful on-chain transfer, never before. -
Dashboard Balance Not Updating After Send
Balance showed stale data after sending money. Added confirm_transaction() on the backend to wait for on-chain finality before responding, plus useLocation().key dependency and window focus listeners on the frontend for auto-refresh. -
Global ID Rename Redirecting to Wallet Setup
Renaming your Global ID kicked you back to wallet creation. Root cause: set_global_id() returned a raw User model missing the has_wallet field — Pydantic defaulted it to false — triggering ProtectedRoute's redirect. Fixed by returning get_profile(db, user) which computes has_wallet correctly.
Technologies used