- Implemented wallet app functionality including account management, transaction handling, and user notifications. - Updated HomeScreen to include Wallet app icon. - Enhanced StateManager to maintain mobile bank state. - Created wallet-specific styles for UI consistency. - Updated CSS and JS concatenation scripts to include wallet resources.
Forge Client Bank
Overview
The bank addon provides the client banking UI and browser bridge for account hydrate, deposits, withdrawals, transfers, PIN entry, earnings deposits, and credit-line repayment. It also exposes PIN changes from the full bank UI.
Dependencies
forge_client_commonforge_client_main- server bank events from
forge_server_bank - notifications for server-driven messages
Main Components
fnc_initRepository.sqftracks account load state.fnc_initUIBridge.sqftranslates browser requests into server RPCs and sends server responses back to the browser.fnc_handleUIEvents.sqfhandlesbank::*browser events.fnc_openUI.sqfopensRscBank; ATM mode is supported by passingtrue.
Browser Events
bank::readybank::refreshbank::deposit::requestbank::withdraw::requestbank::transfer::requestbank::depositEarnings::requestbank::repayCreditLine::requestbank::pin::requestbank::pin::change::requestbank::close
Runtime Notes
The client only displays and requests account changes. The server bank addon and extension own validation, balances, authorization, and persistence.