jonnify·bcs /bcs/codemojex/the-economy

B7 · module 5 of 6 · The Economy and the Bank

The economy and the bank.

Three currencies on separate paths, a wallet keyed by the player’s account that is the running total of a transactional ledger, and a per-game bank the pool funds and pays out from after a published rake.

Three dives: three currencies, the transactional wallet, and the bank, the pool, and the rake — the levers a prize economy is built from, in the open.

Three currencies into a transactional wallet, and a per-game bank that pays after a rake. Select a part.
three currenciesKeys · paidClips · freeDiamonds · prizes the walletkeyed by USRa TXN ledgermoves in a transaction the bankBNK per gamefunded by attemptsrake, then the prize
readout · Select a part. Three currencies carry different meanings; a wallet keyed by USR is the running total of a TXN ledger moved in transactions; a per-game BNK bank holds the pool and pays out after a published rake.
§1

The three dives

each a leaf, the teaching
§2

The module, in one law

codemojex · value, in the open and in balance

B7.5 is the economy: how value enters, moves, and is paid out without ever leaving the wallet unbalanced. Three currencies carry different meanings — keys are paid, bought with Telegram Stars and spent in paid rooms; clips are free and carry no value; diamonds are prizes, won from a game’s bank and convertible to keys at ten to one. Balances live in a wallet keyed by the USR account, and the wallet is the running total of a TXN ledger: every move is a debit and a credit applied together in one transaction, all-or-nothing, so a balance is never half-changed and the history is always there to audit. Each prize game holds a BNK escrow, a pool the all-pay attempts fund; the house takes a published rake, and at the close the remainder pays the top entrants as diamonds. The reference design draws the line at hidden house players winning prizes back from users, preferring transparent levers and leaving any house participation flagged for the chief architect and legal. Three dives: three currencies, the transactional wallet, and the bank, the pool, and the rake.

§4

The doors

the sibling courses
§4

References

sources · related

Sources

Related