Skip to main content

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.

The payment sheet in Ruby Dreams. The game stays visible on the left while the player picks how to pay.

Players​

Developers​

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