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 scfg-renpy install .

or, with pipx: pipx run scfg-renpy install .

That adds:

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

Update

uvx scfg-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 scfg-renpy 0.1.2

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

Source distribution (sdist)

Source distribution for scfg-renpy 0.1.2
File Size Uploaded Provenance Actions
scfg_renpy-0.1.2.tar.gz 106.9 kB With provenance Details for scfg_renpy-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scfg-renpy 0.1.2
File Interpreter ABI Platform Actions
scfg_renpy-0.1.2-py3-none-any.whl Python 3 none any Details for scfg_renpy-0.1.2-py3-none-any.whl

Total release size: 231.1 kB

Release files / scfg_renpy-0.1.2.tar.gz

Download URL scfg_renpy-0.1.2.tar.gz
Size 106.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dae55a60a6e91ccbda0c1a78c94308eb468e979524a345cb8cf3aa1f9a093ccc
BLAKE2b-256 checksum
How to use checksums
4d0dcf04243d45a43cce61a68d12c8859b004a4f526f778e3e486644e5f42fe2
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 5, 2026.

Transparency log

Release files / scfg_renpy-0.1.2-py3-none-any.whl

Download URL scfg_renpy-0.1.2-py3-none-any.whl
Size 124.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06c591df632684457111e1e5627b78dba8b621c11db412f8722373957266c3a4
BLAKE2b-256 checksum
How to use checksums
ad8f3e24bac23dd15acd055762b037a7df68ac9f14bd60f5031411fd153ebcb0
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 5, 2026.

Transparency log

Security for scfg-renpy 0.1.2

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scfg_renpy-0.1.2.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 5, 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