Stablecoin for Games
Stablecoin for Games (scfg in code) is a Ren'Py plugin that lets games take tips and sell unlocks in USDC and
USDT on Ethereum, Arbitrum, Polygon, Base, Arc or Solana. The player's wallet pays the
developer's wallet directly. There is no store, account or server in between. The game
watches the blockchain itself and unlocks the item once the payment is confirmed.

Players
- How paying works, step by step
- Which wallets work
- Restore a purchase on a new device
Developers
- Install the plugin
- Configure your wallet, networks and paid items
- Arc, where USDC also pays the network fee
- API reference for
pay(),owns()andrestore() - Security and limitations
- Web builds for HTML5 and itch.io
Unlocking a chapter
init python:
scfg.configure(wallet="0xYourWallet", testnet=True)
scfg.add_item("chapter2", code=1, price="4.99", token="USDC", title="Chapter 2")
label end_of_chapter1:
$ result = scfg.pay("unlock", item="chapter2")
if scfg.owns("chapter2"):
jump chapter2