Skip to main content

Stablecoin for Games

Take tips and sell unlocks in USDC and USDT inside your Ren'Py game, on Ethereum, Arbitrum, Polygon, Base, Arc or Solana. The player's wallet pays yours directly. There is no store, account or server in between: the game watches the blockchain itself. Prices are in dollars. There are no tokens to buy and no NFTs.

A player tips 3 USDC on Arc in Ruby Dreams: pick an amount, pick a network, scan the QR code, payment confirmed

This package installs the plugin into your Ren'Py project. Ren'Py only loads code from a game's own game/ folder, so the plugin is copied there rather than installed into Python.

Install

From your Ren'Py project folder (the one that contains game/):

uvx stablecoin-games-renpy install .

or, with pipx: pipx run stablecoin-games-renpy install ., or with Node: npx stablecoin-games-renpy install .

That adds:

game/scfg/                        (screens, API, browser checkout page)
game/python-packages/scfg_core/   (the engine; plain Python)

Update

uvx stablecoin-games-renpy update .

It replaces those two folders with the latest version. Your own files, your configuration and your players' purchases are not touched.

Use it

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

Requires Ren'Py 8.2 or newer. Read the developer guide and the security notes before you sell anything: without a server, unlocks are honour-grade.

Metadata

Release files for stablecoin-games-renpy 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stablecoin-games-renpy 0.3.0
File Size Uploaded Provenance Actions
stablecoin_games_renpy-0.3.0.tar.gz 232.0 kB With provenance Details for stablecoin_games_renpy-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stablecoin-games-renpy 0.3.0
File Interpreter ABI Platform Actions
stablecoin_games_renpy-0.3.0-py3-none-any.whl Python 3 none any Details for stablecoin_games_renpy-0.3.0-py3-none-any.whl

Total release size: 373.0 kB

Release files / stablecoin_games_renpy-0.3.0.tar.gz

Download URL stablecoin_games_renpy-0.3.0.tar.gz
Size 232.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e95088de1547f0732c02d58e82a73916ef2303e3acca75ff3181798943d794d4
BLAKE2b-256 checksum
How to use checksums
8b26f736b9b99f3af72640b6b01e738a9a8e915ae0188291b6be0d01cec3210c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / stablecoin_games_renpy-0.3.0-py3-none-any.whl

Download URL stablecoin_games_renpy-0.3.0-py3-none-any.whl
Size 141.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6ccedf102e727adb838eb1a8170c17e9571b9e8e53224d589447512c885cb6a
BLAKE2b-256 checksum
How to use checksums
0971247ced2713eec3a46d4ff16302c33d4f679cf565ce55cde11d98b7b53759
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for stablecoin-games-renpy 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stablecoin_games_renpy-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page