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 or Solana. The player's wallet pays yours directly. There is no store, account or server in between: the game watches the blockchain itself.

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.1

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.1
File Size Uploaded Provenance Actions
scfg_renpy-0.1.1.tar.gz 103.0 kB With provenance Details for scfg_renpy-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 225.0 kB

Release files / scfg_renpy-0.1.1.tar.gz

Download URL scfg_renpy-0.1.1.tar.gz
Size 103.0 kB
Tags Source
SHA-256 checksum
How to use checksums
65322cbbb34b95f4904cdb346070501b0f8517e52272ef03e3e05f2b784b683b
BLAKE2b-256 checksum
How to use checksums
3cba505beb5b018ac8b82401f752b7f154bfe28d2628b66e9d04b58f89780746
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 3, 2026.

Transparency log

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

Download URL scfg_renpy-0.1.1-py3-none-any.whl
Size 122.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ceba5cf3d5a094fa20887a40ed2d6687cafd8010876ae1cd3369b1b067cde13
BLAKE2b-256 checksum
How to use checksums
9252a041844655e99b5cb4af6dc36b9abffb4586fe9af71404db7dbf17632be0
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 3, 2026.

Transparency log

Security for scfg-renpy 0.1.1

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.1.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 3, 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