gta6/prompts
phone
Vaultadvancedphone

Crypto Wallet & Trading

ESX/QBCore/QBox crypto phone app with a server-side volatile price engine, wallet, P2P coin send, buy/sell orders, and throttled staking yield — all holdings server-authoritative.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~110 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A crypto wallet and trading app on the phone: a server-driven volatile coin price, a wallet, P2P coin sends, buy/sell orders against the live price, and an optional staking yield. The volatility engine is the differentiator — flat-price wallets are boring, so crypto-RP servers buy the speculation loop.

Prompt Template

You are writing a FiveM resource for [esx|qbcore|qbox]. Resolve the framework…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Expected Output

See content/expected-outputs/phone/16-crypto-wallet-trading.lua — a server-side…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Price ticking on the client → favorable price spoofed on sell.
  • Sell/send not clamped to balance → players mint coins they never bought.
  • Staking not throttled → claim spam for unlimited coins.

Corrective re-prompt: Move the price drift into a server CreateThread with Wait and only TriggerClientEvent the result. Clamp every sell/send with coins = math.min(tonumber(coins) or 0.0, holdings[id] or 0.0), and gate crypto:claimStake on (os.time() - (lastStake[id] or 0)) >= 300.

Framework Integration

  • ESX: ESX.GetPlayerFromId(src), getMoney()/removeMoney()/addMoney(), key holdings by xPlayer.identifier.
  • QBCore: QBCore.Functions.GetPlayer(src), Player.Functions.RemoveMoney('cash', amt) / AddMoney('cash', amt), key by citizenid.
  • QBox: exports.qbx_core:GetPlayer(src); persist price and holdings to the DB so the market state survives a restart.

Profit Potential

$280–$3500/mo on Tebex (expected ~$1000). [INFERRED] Priced inside the $50-389 script band against the corpus median seller of $11.85K/mo (signal-scraper tebex_snapshot n=100) for a rising crypto-RP niche.

Trend Signal

rising — inferred: Crypto-RP economy trend; volatile-price engine differentiates; rising demand.

Sales Angle

The speculative-economy layer for crypto-RP; the server-side volatility engine is the moat versus flat-price wallets. Recommended Tebex price $349.

Difficulty & Ship Time

advanced · ships in 2-4 days.