Description
A dual-wallet economy primitive: every player holds a clean cash balance and a separate dirty (black_money) balance, and legit shops accept clean cash only. To spend dirty money a player must run it through a fee-taking conversion sink, which is what turns crime payouts into a real risk/reward decision instead of free money. Servers buy it because the sink drains the economy and gives illicit cash a meaningful cost.
Prompt Template
You are writing a FiveM resource for ESX (esextended).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua at content/expected-outputs/economy/23-dirty-clean-money-dual-wallet.lua implements a server-side convert handler that skims CONVERTFEE and a legit-shop buy handler that accepts…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Client-decided wallet — if the client says which balance pays, a player buys legit goods with dirty money. Spend decisions stay server-side.
- Client-side fee math — computing the clean amount on the client lets a cheater skip the skim. Require server
math.floor. - Unbounded convert — a
wallet:convertabove the heldblack_moneymints free clean cash. Rejectamount > held.
Corrective re-prompt: Move every balance check and the fee math into the server handlers; reject any convert whose amount exceeds the player's current black_money account, and make wallet:buy read only the clean cash balance so dirty money can never pay a legit shop.
Framework Integration
- ESX: native —
getAccount("black_money"),removeAccountMoney,addMoney/removeMoneyas shown. - QBCore: swap to
Player.Functions.GetItemByName("black_money")/RemoveItemandAddMoney("cash", n). - QBox: same QBCore exports via
exports.qbx_core; dirty cash is anox_inventoryitem, so adjust the read toexports.ox_inventory:GetItemCount.
Profit Potential
$80–$1,100/mo on Tebex (expected ~$280). [INFERRED] priced in the $50-389 script band against the signal-scraper corpus (tebex_snapshot n=100, median seller $11.85K/mo); a saturated framework primitive sits at the low end as bundle filler.
Trend Signal
↘ saturated — corpus: ESX ships black_money and ox_inventory tracks dirty money natively; a near-saturated framework primitive the scraper sees everywhere.
Sales Angle
Position it as the conversion-sink design rather than another wallet — a clean economy drain that makes crime cash costly to spend. Best sold inside a crime-economy bundle; standalone price ~$50-69.
Difficulty & Ship Time
beginner · ships in 2-4h.