mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 17:23:25 +00:00
ADD - enable secure VaultX crypto transfers
Give every VaultX profile a unique public receiving key and migrate existing profiles safely. Add server-authoritative, password-confirmed, idempotent crypto-only transfers with atomic balance and ledger updates, recipient refresh events, detailed auth flows, profile key display, localized transfer UI, and browser mock coverage.
This commit is contained in:
@@ -251,6 +251,8 @@ local server_callbacks = {
|
||||
"crypto:deposit",
|
||||
"crypto:withdraw",
|
||||
"crypto:update-profile",
|
||||
"crypto:recipient",
|
||||
"crypto:transfer",
|
||||
"billing:overview",
|
||||
"billing:list",
|
||||
"billing:detail",
|
||||
@@ -935,6 +937,10 @@ RegisterNetEvent("sky_phone:crypto:changed", function(data)
|
||||
SendNUIMessage({ type = "crypto:changed", data = data })
|
||||
end)
|
||||
|
||||
RegisterNetEvent("sky_phone:crypto:account-changed", function()
|
||||
SendNUIMessage({ type = "crypto:account-changed" })
|
||||
end)
|
||||
|
||||
RegisterNetEvent("sky_phone:billing:changed", function()
|
||||
SendNUIMessage({ type = "billing:changed" })
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user