Bank & Wallet
Two financial apps come pre-installed: Bank for account management and Wallet for quick peer-to-peer transfers.
Bank app
- View current bank and cash balance
- Transaction history with timestamps
- Transfer funds to any phone number (online or offline)
- Deposit and withdraw between bank and cash (framework-dependent)
- Currency symbol and position configured via Config.CurrencyFormat
- Real-time balance updates via quantic:bank:balanceUpdated event
Wallet app
The Wallet app is a lighter interface focused on quick money transfers between players — similar to Pix or Venmo:
- Send money by selecting a contact or typing a number
- Offline transfers (money is held and delivered on next login)
- Transfer confirmation screen before funds move
- Optional daily and weekly transfer caps
Transfer config
lua
Config.CurrencyFormat = "$%s" -- sprintf format: %s = amount
Config.MaxTransferAmount = 1000000 -- maximum single transfer
Config.TransferOffline = true -- allow sending money to offline players
Config.TransferLimits = {
Daily = false, -- false = unlimited | number = daily cap
Weekly = false, -- false = unlimited | number = weekly cap
}Transfer limits reset at midnight server time. Set to a number (e.g.
Daily = 50000) to cap how much a player can transfer per day.Balance event
The phone UI updates in real time when the player's balance changes. Trigger this event from your server to push a balance refresh:
lua
-- Server: notify a player's phone of a balance change
TriggerClientEvent("quantic:bank:balanceUpdated", source, {
bank = newBankBalance,
cash = newCashBalance,
})