Chat Widget
Cube Chat v2 is the terminal's own community chat — a floating panel for talking to other users without leaving the app. Two rooms, inline replies, wallet-based identity.
This is not a relay or bridge for Telegram / Discord. For embedded third-party chat, see Telegram Embed and Discord Embed.
Features
- Two rooms — Global (general chat) and Feedback (suggestions and bug reports)
- Wallet identity — your Hyperliquid address or any unlocked local wallet is your identity
- Display names — optional; set one in Settings → Leaderboard, or stay anonymous with a truncated address
- Admin badges — messages from terminal admins are tagged
ADMINand rendered in red - Inline replies — click any message to reply with quoted context
- Optimistic send — your message appears instantly and reconciles when the server confirms
- Infinite scroll back — scroll to the top of the room to load older messages
- Floating launcher — a persistent cube button in the bottom-right opens and closes the panel
Sending Messages
- Type in the input at the bottom of the panel
- Press Enter or click the Send button (paper-plane icon)
- Shift+Enter inserts a newline without sending
- Messages are capped at 500 characters
Without a wallet unlocked you can read but not send — the input is replaced with Connect wallet to chat.
Replies
Click any message in the scrollback to start a reply. A preview strip shows above the input with the name and a truncated quote of what you're replying to. Press the X on the preview to cancel, or just send to post with the reply attached.
Replies appear with a short indented quote above the new message — the truncation limit on the quoted body is 100 characters.
Rooms
| Room | Purpose |
|---|---|
| Global | General chatter with the community |
| Feedback | Share suggestions, bug reports, feature requests |
Switching rooms clears the visible list and refetches; history is room-scoped.
Message History
- The most recent messages load on open
- Scroll to the top of the panel to pull in the next page of history
- Once the server reports no more history, further scrolls are no-ops
Polling runs every 3 seconds for new messages in the active room.
Display names come from your leaderboard profile. If you've set isAnonymous, only the truncated wallet address shows. Change this in Settings → Leaderboard.
Launcher
The cube icon in the bottom-right corner toggles the chat panel open and closed. The panel floats above the terminal layout and doesn't occupy a grid slot.
Data Source
- Terminal's own chat API (
/api/chat/messages,/api/chat/history,/api/chat/send) - No third-party chat services — messages stay within CubeTerminal