feat: add user-facing mobile-first UI application#6
Open
gitteri wants to merge 1 commit into
Open
Conversation
New React/Vite app with phone simulator, network visualization, dashboard, withdrawal drawers, WebSocket integration for real-time transaction updates, and Solana wallet context.
gitteri
pushed a commit
that referenced
this pull request
May 21, 2026
* fix(core-rpc): add input bounds, decimal fix, and constants module [PRO-891..894] - Add 64KB body size limit to Core RPC handler with Content-Length pre-check (warn on unparseable headers) and Limited wrapper (PRO-891) - Cap getSignatureStatuses to 256 signatures (PRO-892) - Cap getBlocks to 500K slot range, reject end < start (PRO-893) - Fetch actual mint decimals instead of hardcoding 6 (PRO-894) - Fix pre-existing issues: return proper JSON-RPC error on invalid UTF-8 body, propagate get_latest_slot errors instead of unwrap_or(0) - Extract shared constants module (MAX_BODY_SIZE, MAX_SLOT_RANGE, MAX_SIGNATURES, SPL_TOKEN_PROGRAM_ID, SPL layout offsets) Refs: PRO-891, PRO-892, PRO-893, PRO-894 * chore: greptile feedback * refactor(core-rpc): move start_test_rpc_server into mod tests --------- Co-authored-by: Jo D <dev-jodee@users.noreply.github.com>
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.
Summary
user-ui/React/Vite application providing a mobile-first user interface rendered inside a phone simulator frame.Dockerfileandserver.mjs.Changed files (56 files, entire
user-ui/directory)Key components:
NetworkView.tsx,DashboardScreen.tsx,AdminDashboard.tsx,WithdrawalDrawer.tsx,PhoneSimulator.tsx,SettingsDrawer.tsxKey hooks:
useUsers.ts(1130 lines -- user simulation and state management),useContraWebSocket.ts,useBalances.ts,useAdminSigner.tsKey utils:
transactions.ts,queries.ts,walletStorage.ts,adminWallet.tsDependencies
Test plan
cd user-ui && pnpm install && pnpm devstarts without errorsdocker build -t user-ui ./user-uiMade with Cursor