Skip to content

feat: add real-time Soroban token transfer system with Freighter wallet and socket chat sync#73

Open
V1ctor-o wants to merge 2 commits into
codebestia:mainfrom
V1ctor-o:feat/stellar-token-transfer-button
Open

feat: add real-time Soroban token transfer system with Freighter wallet and socket chat sync#73
V1ctor-o wants to merge 2 commits into
codebestia:mainfrom
V1ctor-o:feat/stellar-token-transfer-button

Conversation

@V1ctor-o
Copy link
Copy Markdown

@V1ctor-o V1ctor-o commented May 29, 2026

Summary

This PR introduces a full in-chat token transfer system powered by Soroban smart contracts and Freighter wallet integration, with real-time synchronization via Socket.io.

Users can now send tokens directly inside chat messages, with transactions executed on-chain and shared instantly across all connected clients.


🚀 Features Implemented

💸 Token Transfer Flow

  • Added coin icon button in MessageInput
  • Popover UI for:
    • Amount input
    • Auto-filled recipient
  • Validation ensures amount > 0

🔐 Wallet Integration

  • Integrated Freighter wallet signing flow
  • Users approve transactions directly from Freighter extension

⛓️ Soroban Smart Contract Execution

  • Built Soroban token_transfer transaction flow
  • Transaction is simulated and submitted via Stellar SDK
  • Transaction hash returned on success

⚡ Real-Time Messaging (Socket.io)

  • Transfer messages emitted via socket after success
  • Backend persists and broadcasts messages to all connected clients
  • Chat updates instantly across users

Closes #31

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@V1ctor-o Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FRONTEND] Build token send UI inside chat

1 participant