← Back to News
sccp 0.54.0

sccp 0.54.0

sccp · PyPI Skip to main content Switch to mobile version Warning Some features may not work without JavaScript. Please

try enabling it if you encounter problems. Search PyPI Search Blog Docs Log in Register Blog Docs Log in Register

Deutsch English español Esperanto français português (Brasil) Ελληνικά русский українська

עברית 中文 (简体) 中文 (繁體) 日本語 한국어 Search PyPI Search sccp 0.54.0 Some Crypto Chess Project:

a cryptocurrency whose proof of work is winning chess games pip install sccp==0.54.0 Copy PIP instructions Description

Metadata Release files Security Release history somecryptochessproject Chess as proof of work. A cryptocurrency

prototype in which the scarce resource is winning chess games against another miner, not SHA-256 hashing. Two

adversarial chess engines are paired by a public randomness beacon, play one game, and only the winner gets credit. A

miner must collect several verified wins - from different opponents and featuring never-before-mined games - before it

may produce a block and claim the reward. Project overview Block explorer Web wallet Living Whitepaper All documentation

Node API docs (Swagger UI) Node API reference (ReDoc) Public testnet Reddit Status: protocol v1 is implemented and

deployed on testnet. The repository contains the complete path from wallet to block: PGN validation and canonical game

hashing; commit/reveal beacons, deterministic pairing, signed match certificates and the timed relay; the account

ledger, block validation, fork choice, difficulty, SQLite storage and block builder; the node API, gossip and pull-sync;

the unattended engine miner; and a funded six-miner testnet (four fixed seats plus two traffic-owned role seats) with a

public faucet, automated deployment and operator runbooks. Normative formats are in docs/design/PROTOCOL.md; next steps

and improvement areas are in docs/design/IMPLEMENTATION_PLAN.md. Mainnet parameters exist, but no mainnet has launched

or been audited; testnet and devnet coins have no value. Public testnet: http://app.proofofchess.com:8645. The GET

/v1/status endpoint is the health check. The chain is reset on every deployment, so wallets, balances and faucet grants

do not survive a redeploy. This endpoint is plain HTTP and carries worthless test coins only. The relay runs timed

sessions. Every session is a real 10+0 clock game: the second start signature starts both clocks, the relay's monotonic

clock is authoritative (a move's clock_ms is display data, never trusted), each accepted move is charged to the mover

and answered with a signed receipt, and a clock that reaches zero auto-flags the match even if the losing seat never

answers. Those receipts are exactly the evidence a bonded timeout_claim settles on chain (src/sccp/protocol/clocks.py,

src/sccp/chain/timeout.py): the winner pulls GET /v1/matches/{match_id}/receipts, verifies it against the relay's

witness key it was configured with, and the miner refuses to build a claim it cannot reproduce. sccp matchmaker run

--witness-key signs the receipts, --round-seconds adds the opt-in round scheduler, and sccp miner run

--relay-witness-key --node trusts that witness and submits the bonded claim by default; --no-submit-timeout-claims keeps

it local. The formats are normative in docs/design/PROTOCOL.md section 8.4 and 10.4. The ledger rules, clock evidence,

local claim verification and automatic claim submission from the engine miner are implemented; the standalone

scripts/play_miner.py demo still holds its claim locally. Naming. The repository and project name is

somecryptochessproject. The Python package and console command use the short form sccp (import sccp, run sccp ...),

because the full name is impractical for imports and shell commands. If you prefer the full name everywhere, that is a

mechanical rename. 1. The idea Hash-based proof of work is a lottery: miners spend electricity on a computation that has

no use outside of securing the chain. somecryptochessproject keeps the lottery but makes the lottery ticket a game of

chess. A miner runs a real UCI chess engine (Stockfish by default). A matchmaker pairs two miners using a randomness

beacon that nobody can predict or bias. The two engines play a normal, legal game of chess from a beacon-selected

opening. The winner earns one "win credit". The loser earns nothing. A miner that accumulates k win credits (from

distinct opponents, all games unique and unexpired) can assemble them into a block and claim the block reward. No new

chess logic is written for this project. Board state, move generation, legality, SAN/PGN parsing and UCI engine control

all come from python-chess. The novel parts are the matchmaking protocol, the proof format, the anti-collusion rules and

the chain. Project goals Status: testnet only. Unaudited. No mainnet. Test coins are worthless. An ongoing engine arena,

open by protocol. Any UCI engine can play; Stockfish is the default reference engine, not an admission requirement.

Miners play under the same pairing, opening and proof rules, but not on the same hardware: consensus cannot observe

engine identity, search limits or machine speed. A win contributes to a block claim that pays the subsidy; a draw earns

nothing. The relay can now build its roster from chain registrations and availability (--roster-source chain), so

admission does not require an operator to edit relay.json. A public archive of decisive, legally verified games. A win

becomes a WinProof, and the games stored in block bodies are public, replayable and never pruned by the node. Draws are

not proofs, are not committed to the chain and do not affect ratings. "Well played" is not a consensus property, and the

archive is only as permanent as the chain's finality: a 2/3 bonded-weight checkpoint is not reorged, but an unfinalised

tip can be. Non-custodial settlement with decentralized validation. User keys, the DEX and the HTLC bridge have no

operator custodian, and any full node can validate the public record. The deployment is not completely decentralized:

the seed list, explorer origin, clock-witness quorum and drand each add an operator or external trust edge. Mainnet

genesis allocates 6 bps of ZQWX (12,600 ZQWX) as three 4,200 ZQWX bootstrap tranches for three people: the operator and

two prospective custodians. The entries currently in the manifest are template keys, not final custody; before launch

each custodian will create their own wallet and share only its address and public key, then the manifest and genesis

hash will be regenerated. The distribution policy is public in BOOTSTRAP.md, but it is not consensus-enforced. A

candidate long-term asset, not a proven one. Supply is capped at 21,000,000 ZQWX and issued on a predictable halving

schedule; keys are hybrid Ed25519 + ML-DSA-65 with no classical fallback; consensus rules replay from the chain, and a

2/3 bonded-weight checkpoint is final. It is unaudited and has never run on mainnet, so long-term safety remains a

research hypothesis. Capability matrix Status means: shipped = code and tests exist; partial = a real path ships but the

stated property is narrower or has a known trust edge; design-only = specified but not implemented; not planned =

deliberately out of scope. "Shipped" does not mean audited or mainnet-proven. Goal Property Status Evidence and limit 1

Any UCI engine may enter Shipped open_engine runs any UCI binary and pinning is opt-in (engines.py,

test_engine_pinning.py); the chain roster admits every registered miner with an engine fingerprint and positive quota

(epoch_follower.py) 1 Same rules, not same hardware Shipped Beacon-derived pairing, colour and opening (pairing.py);

engine identity, search limit and hardware are not observed 1 Wins are the only paid claim Shipped build_win_proof

requires a decisive PGN (transcript.py); only proofs enter a block (block.py); test_pgn_valid.py 1 Permissionless relay

admission Shipped matchmaker run --roster-source chain --node URL bootstraps from /v1/epochs/{e} and follows later

epochs (epoch_follower.py, test_epoch_follower.py); a static relay.json remains a curated fallback 1 Sybil or collusion

resistance is cryptographic Not planned Self-play remains possible; registration bonds and pairing diversity raise its

cost (BONDS.md §1-2, README.md §3.3), and no quality or collusion proof exists 2 Decisive games are archived Shipped

Proof-bearing blocks retain PGNs and the exporter reads them (block.py, test_export_block_games.py) 2 Draws are archived

or attested Not planned Draws never become proofs (require_win=True, transcript.py); no draw attestation is planned 2

Game quality is a consensus property Not planned Move quality is not checked (PROTOCOL.md §9.2); "well played" is an

off-chain judgement 2 The archive is permanent Partial Block bodies are not pruned and a 2/3 bonded-weight checkpoint

cannot be reorged (BONDS.md §3, test_chain_finality.py); testnet resets still drop games and mainnet has never run 4 A

finalised block cannot be reorged Shipped Epoch-boundary attestations ride in a later header; State.finalized_height is

in state_root, /v1/status reports it, and Chain refuses a conflicting heavier branch (finality.py,

test_chain_finality.py) 3 User keys and funds are non-custodial Shipped Keyfiles are client-side and the node never

signs for a user (keys.py, test_keys.py) 3 The DEX and bridge have no custodian Shipped Pool rules are consensus code

and the ETH leg is an ownerless HTLC (dex.py, EthHtlc.sol, test_dex.py, test_bridge_eth.py) 3 Any node validates the

chain Shipped Full nodes replay signatures, pairings, PGNs, claims and state roots (verification.py,

test_chain_block.py) 3 Venue and operations are decentralized Partial The public relay, seed publisher, explorer origin

and witness keys are still operator-run (seed list); independent relays, seeds, witnesses and mirrors are planned 3 The

genesis grant has no custodian Partial Three 4,200 ZQWX tranches total 6 bps (mainnet-premine.json); the policy is

public (BOOTSTRAP.md). The committed entries are template keys, not final custody; the planned three custodians will

replace them with their own public wallet data before genesis freeze 4 Supply is capped and issuance is predictable

Shipped 21,000,000 cap and halving schedule in config.py; test_chain_block.py 4 Keys are post-quantum hybrids with no

fallback Shipped Version-1 addresses require Ed25519 + ML-DSA-65 (keys.py, test_pq.py) 4 Consensus is verifiable from

the chain Shipped Blocks, proofs, transactions, DEX and timeouts replay from the public record (verification.py,

test_chain_block.py) 4 Checkpoint finality exists Shipped 2/3 bonded-weight attestations finalise an epoch boundary;

slash_equivocation burns a contradictory signer, and Chain refuses a conflicting reorg (finality.py,

test_chain_finality.py) 4 The asset is audited and mainnet-proven Partial Mainnet parameters and genesis exist, but no

mainnet has launched and no external audit has closed; testnet coins are worthless What this is A research prototype

exploring whether a useful, adversarial computation can secure a chain. A testbed for verifiable random matchmaking and

commit-reveal beacons. A source of real, human-reviewable chess games. What this is not A drop-in replacement for

Bitcoin, or a claim that chess is a cryptographic verifiable delay function. A general chess rating system. The node

derives Glicko-2 ratings for registered miners from settled wins (/v1/ratings); it does not rate players, engines or

arbitrary games. Anonymous: games and payouts are public and linkable. Audited. Do not put real money anywhere near it.

2. Roles and moving parts Role What it does Trust required Wallet Hybrid Ed25519 + ML-DSA-65 keys (the only scheme),

version-1 bech32 addresses, signs transactions, certificates and results none Engine miner Registers, commits

availability, connects to a relay, plays assigned games with a UCI engine, submits win proofs none for validity;

self-play is an economic attack, not a malformed proof Matchmaker / relay Runs epoch rounds, derives pairings from the

beacon, relays moves, collects co-signatures, stores match transcripts untrusted: any node can recompute the pairing and

verify the transcript Clock witness Polls the relay, re-runs the protocol's clock arithmetic, co-signs every move

receipt and flag, and serves the signed bundle a timeout_claim needs trusted for the clock only; a timeout claim needs

the configured quorum of matching signatures, and mainnet requires three witness keys. Key count is not

independent-operator count, and the relay's witness key is one signer Full node Gossips blocks and transactions,

validates the chain, serves the HTTP API none Verifier Part of every full node: checks signatures, pairing, PGN

legality, uniqueness and claim rules none; every check is decidable from the record A matchmaker is not a trusted third

party. It is a convenience service: it cannot invent a pairing, change an opening, forge a move or fabricate a result

without the resulting proof failing verification. A clock witness is a narrow exception: it is trusted to report the

clock, not to choose pairings or outcomes. A timeout claim needs clock_witness_quorum matching signatures, and

register_witness bonds the key so conflicting receipts can be slashed; sccp witness run adds independent witnesses

beside the relay's own key. 3. The protocol at a glance sequenceDiagram participant A as Miner A (engine) participant R

as Relay / matchmaker participant B as Miner B (engine) participant N as Full nodes A->>N: RegisterMiner(bond,

endpoint, engine fingerprint) B->>N: RegisterMiner(bond, endpoint, engine fingerprint) A->>N:

Availability(epoch e, commit = H(nonce)) B->>N: Availability(epoch e, commit = H(nonce)) Note over N: Beacon B_e =

H(prev block hash, valid reveals, drand) R->>A: Pairing for round r (derived from B_e) R->>B: Pairing for

round r (derived from B_e) R->>A: Seat + opening line (derived from B_e) R->>B: Seat + opening line

A<<->>R: Moves relayed R<<->>B: Moves relayed Note over A,B: Both sides sign the transcript

A->>N: WinProof(winner=A, signed game + match certificate) Note over A: Repeat until A holds k wins from distinct

opponents A->>N: Block(k proofs, transactions, seal) N->>N: Verify signatures, pairing, PGN legality,

uniqueness, claim window N->>N: Award subsidy + fees to A (coinbase, mature after N blocks) 3.1 Unique games Every

proof carries a canonical game hash computed over (network, start position, SAN move list, result) - deliberately

excluding PGN headers, comments, clocks and formatting. Nodes maintain a registry of every game hash that has ever

appeared in the canonical chain and reject a proof whose hash is already known. The same moves with different metadata

are the same game; a transposition with different moves is allowed. The registry is rebuilt on reorganisation, so games

orphaned by a reorg can be mined again. 3.2 Unpredictable, unbiasable matchmaking Miners commit to a random nonce in

epoch e-2 and reveal it in epoch e-1. The epoch beacon is derived from the last block of e-1 (H_e) and the valid

reveals, and optionally mixed with one drand signature: digest = SHA-256("sccp/v1/beacon" || network || e ||

block_hash(H_e) || sorted(commitment || nonce)), then B_e = SHA-256(digest || drand_sig) when drand_used = 1, else B_e =

digest. The first block of epoch e declares B_e and (on mainnet) carries the signature; drand_used = 0 is always valid,

so a drand outage cannot halt the chain. Pairings are a deterministic function of the active roster and B_e: every miner

is ranked by H("sccp/v1/pair", {network, epoch, round, beacon, address}), the sorted list is paired adjacent, and colour

plus opening line are drawn from the same beacon. Because the beacon is unknown when a miner commits, nobody can choose

an opponent. Because pairing is deterministic, any node can verify that a claimed match was the one the protocol

assigned. A relay that deviates produces proofs that fail validation. 3.3 Self-play, Sybils and collusion Self-play is

the central economic attack: a miner that controls both seats always wins. The project does not pretend to solve Sybil

resistance cryptographically; it uses layered economic and structural defences: Registration bonds. Each identity locks

a bond larger than the expected value of a claim. A proven stall or contradictory clock receipts are slashable

(docs/design/BONDS.md §1-2); there is no quality or collusion fraud proof. Pairing constraints. The pairing algorithm

refuses (where possible) to match two identities that share an endpoint, /24 prefix, ASN or registration funder; it also

forbids rematches inside a window. Co-signatures. The loser must sign the finished transcript to complete a proof.

Refusing leaves the game without a valid proof; there is no separate match bond, and a liveness failure is not slashed.

Win-only payment. The subsidy is paid to the winner of a valid proof, so a deliberately weak engine loses and earns

nothing. The protocol does not try to inspect move quality: "lost on purpose" and "lost badly" are the same game record,

and any quality threshold would tax honest weak engines while a colluding pair still cleared it. The honest summary:

chess PoW proves that a strong engine played a legal, previously unseen game against another signing identity. It does

not cryptographically prove that the two identities are independent. The gap is closed by cost and bonding, not by

mathematics. 3.4 A legal PGN is not proof of work Anyone can write down a legal 4-move checkmate. Legality alone is

worthless as work. A valid proof therefore also requires: a match certificate signed by both seats, binding the game to

a pairing and opening that the beacon actually produced; a decisive result: checkmate, or a resignation accepted as

written; registration, bond and claim-window checks. Nothing in that list asks how well the moves were played. That is

deliberate: see §9.2. 3.5 Draws Most games between equal strong engines are draws. Draws earn no credit and do not

produce a proof. The matchmaker simply schedules another round with a new opening against a new opponent. Difficulty

retargeting accounts for the observed draw rate, and a miner's reward variance is expected to be high. Pools are future

work. 3.6 Difficulty Two knobs, both consensus parameters: k, required wins per claim - coarse adjustment, retargeted

from observed block intervals. Seal difficulty - a conventional hash target on the block header, used as a fine-grained

rate limiter and spam guard, retargeted like Bitcoin. nodes_per_move is pinned by the network's engine profile and the

opening book version is fixed per epoch, so the rules are identical. The protocol cannot observe actual search limits or

hardware, and --nodes-per-move or --depth can override the profile: this is the same rules, not the same hardware. 4.

Networks Two isolated networks are built from day one. Network id is mixed into every hash and signature, so testnet

transactions and proofs are invalid on mainnet. Parameter testnet mainnet Network id / address HRP sccpt sccp Genesis

genesis/testnet.json genesis/mainnet.json Target block time 30 s 600 s Wins per claim (k) 1 3 (retargeted 1..10) Header

seal difficulty 0 bits 16 bits (retargeted) Block subsidy 50 coins 50 coins, halves every 210,000 blocks Max supply none

(test coins) 21,000,000 ZQWX; C960's custom-token cap is 21,000,000 Genesis allocation 1,000,000 ZQWX faucet, a 5 ZQWX/5

C960 demo pool and a completed 1-ZQWX HTLC 6 bps ZQWX (12,600): three 2-bps (4,200) bootstrap tranches; no token

allocation Coinbase maturity 40 blocks 100 blocks Registration bond 10 coins 500 coins Registration validity 20 epochs

30 epochs Claim window 128 blocks 144 blocks Timeout dispute window 4 blocks 6 blocks Timeout claim bond 1 coin 10 coins

Unbonding delay 100 blocks 1,000 blocks Clock witness bond / quorum 1 coin / 1 signature 50 coins / 3 signatures Game

length 20-300 plies 30-400 plies Engines allowed any UCI engine, incl. mock any UCI engine; Stockfish is the default

reference engine; --require-pinned-engine is optional hardening Move-quality arbitration none none (see PROTOCOL.md

§9.2) Beacon commit-reveal commit-reveal; optional drand mix-in (pinned quicknet verifier ships, chain wiring pending)

Minimum fee 1,000 base units 1,000 base units devnet (in-process, mock engines, zero seal difficulty) exists for tests

and CI. All values above are provisional and live in src/sccp/config.py. Mainnet is planned to launch with

standard-chess mining first. Genesis allocates 6 bps of ZQWX (12,600 ZQWX) as three 2-bps (4,200 ZQWX) bootstrap

tranches for three people: the operator and two prospective custodians. Each tranche can fund one initial k=3 roster -

four miners at the 500 ZQWX registration bond plus three clock witnesses at the 50 ZQWX witness bond - for 2,150 ZQWX,

leaving 2,050 for transaction fees, slashed-bond top-ups and additional miners. The combined grant is a bootstrap

budget, not enough to fund full target throughput at k=3; the roster is expected to grow from mined subsidies and fees.

The current .secrets keyfiles and the addresses in the manifest are template keys, not final custody. Before launch,

each custodian will create a dedicated mainnet wallet and share only the address and hybrid public key; the operator

will replace the three manifest entries, regenerate genesis/mainnet.json, update the pinned hash and retire the template

keys. Never send or commit a keyfile, passphrase, seed or mnemonic. The policy, handoff procedure and

disbursement/renunciation rules are in docs/design/BOOTSTRAP.md. C960 is registered at genesis as an ordinary custom

token with ticket 0960 and no allocation, so C960 remains mined-only and C960 miners still need a small ZQWX balance for

fees and the 10 ZQWX timeout bond. The addresses and public keys are in genesis/mainnet-premine.json;

scripts/make_genesis.py pins the manifest total to exactly 6 bps so neither an accidental mint nor a dropped tranche

changes the chain. The ETH bridge is pinned to one Ethereum environment per SCCP network: devnet to Anvil (chain id

31337), testnet to Sepolia (11155111) and mainnet to Ethereum (1). GET /v1/bridge publishes that mapping; see

contracts/README.md and deploy/README.md. 5. Repository layout Every module below ships in the 0.54.0 tree. Comments

name the module's main responsibility rather than a construction phase. . ├── README.md ├── LICENSE #

Unlicense (public domain) ├── pyproject.toml # packaging, deps, ruff/mypy/pytest config ├── Makefile # test

/ lint / typecheck / devnet / stack / dist ├── Dockerfile # image used by every stack service ├──

docker-compose.yml # node + relay + bootstrap + witnesses + 4 fixed miners + traffic and role seats ├──

.github/workflows/ci.yml # ruff + mypy + pytest (3.11–3.13); web (22, 24) ├──

.github/workflows/deploy-testnet-miners.yml # image + hosted testnet deploy ├──

.github/workflows/deploy-explorer.yml # hosted app + landing page ├── docs/ │ ├── README.md # index: every

page, grouped by task │ ├── audits/ # external review write-ups │ ├── design/ # what the chain is and

why │ │ ├── PROTOCOL.md # normative wire formats and consensus rules │ │ ├── WHITEPAPER.md # the

implementation end to end, in prose │ │ ├── BIG_PICTURE.md # wallet, bridge, DEX and variant-token design │

│ ├── BOOTSTRAP.md # genesis tranches, custody and faucet plan │ │ ├── THREAT_MODEL.md # adversary

model and residual risk │ │ ├── ECONOMICS.md # issuance, bonds, reward variance, attack cost │ │ └──

IMPLEMENTATION_PLAN.md # next steps and improvement areas │ ├── guides/ # use the CLI, the wallet and the web

app │ │ ├── INSTALL.md # install, node URL, network flag, keyfile rules │ │ ├──

CREATE_A_TESTNET_WALLET.md # create a keyfile, call the faucet, check it │ │ ├── CREATE_YOUR_OWN_CRYPTO.md #

register a variant token and open its first pool │ │ ├── OPEN_A_WALLET.md # create, back up and inspect a

keyfile │ │ ├── SEND_COINS.md # fund a wallet and send a transfer │ │ ├── PLAY_AND_EXPORT.md # play

on-chain, then export the block's games │ │ ├── EXPLORE_THE_CHAIN.md # build the web explorer and read its

pages │ │ ├── TEST_DEVNET_BRIDGE_DEX.md # bridge, DEX and Chess960/C960 devnet test │ │ └──

TEST_TESTNET_BRIDGE.md # Sepolia ETH, EthHtlc deploy and testnet swap │ ├── setup/ # stand up a devnet, miner,

VM or deployment │ │ ├── RUN_A_DEVNET.md # a whole devnet from source │ │ ├── RUN_A_TESTNET_MINER.md

# relay, miner and clock-witness operator guide │ │ ├── TESTNET_DEPLOYMENT.md # CI deployment and monthly cost

estimate │ │ ├── GCP_RESOURCE_SETUP.md # project, VM, firewall and deploy wiring │ │ ├──

EXPLORER_DEPLOYMENT.md # publish the explorer: proxy, DNS, rollback │ │ └── DOMAIN_MIGRATION.md # move the

deployment to a new project/domain │ └── operations/ # run and repair an existing deployment │ ├──

README.md # incident index and severity model │ ├── RUNBOOK.md # health, restarts, faucet, stuck chain, reorgs

│ └── ... # one page per failure mode ├── data/ │ ├── openings.json # curated opening lines,

shipped in the wheel │ └── engines.json # pinned Stockfish URLs + SHA-256 per platform ├── contracts/ │

├── EthHtlc.sol # the Ethereum leg: lock / claim / refund │ ├── test/EthHtlc.t.sol # Foundry adversarial

suite │ └── script/Deploy.s.sol # chain-id-checked deployment ├── deploy/ │ ├── README.md # what

the compose stack does and does not do │ ├── explorer/ # Caddy + nginx + compose for app and landing │

├── host/ # systemd network watchdog for the VM │ ├── init_testnet_stack.py # deterministic fixed-miner +

witness stack keys │ ├── bootstrap_testnet_stack.py # chain, registration and relay config │ ├──

seed_testnet_demo.py # genesis demo check │ ├── drip_testnet_traffic.py # faucet and transfer traffic │

├── check_testnet_stack.py # stack health assertions │ ├── synthetic_miner_creation.py # extra role seats

│ ├── synthetic_testnet_traffic.py # slow and GNU Chess traffic │ ├── setup_devnet_stack.py # devnet

keys + bootstrap chain + relay config │ ├── init_devnet_stack.py # keyfile half, importable on its own │

└── bootstrap_devnet_stack.py # chain half, importable on its own ├──

genesis/{devnet,testnet,mainnet,mainnet-premine}.json ├── scripts/ │ ├── fetch_engine.py # verified

Stockfish download │ ├── make_genesis.py │ ├── make_openapi_fixture.py # regenerate the API contract

snapshot │ ├── make_web_vectors.py # regenerate browser protocol vectors │ ├── make_web_wordlist.py #

regenerate the browser backup wordlist │ ├── devnet_up.py # the `sccp devnet up` entry point │ ├──

play_miner.py # play a timed relay match by hand │ ├── export_block_games.py # export a block's games as PGN +

manifest │ └── check_release_version.py # pyproject/version.py/tag agreement ├── src/sccp/ │ ├──

config.py # network parameters, settings │ ├── serialization.py # canonical JSON, domain-separated hashing │

├── crypto/ # keys, bech32 addresses, encrypted wallets │ ├── chess/ # pgn, openings, engines, gameplay

│ ├── protocol/ # models, beacon, pinned drand verifier, │ │ # pairing, transcripts, verification and │

│ # commitments │ ├── chain/ # tx, blocks, state, mempool, fork choice, │ │ # storage, difficulty,

timeouts, genesis │ ├── node/ # FastAPI app, gossip, services, faucet, │ │ # proof settler (routes in

node/api/) │ ├── miner/ # matchmaker/relay, block builder, engine miner │ ├── witness/ # clock witness:

observe, audit, co-sign │ ├── bridge/ # ETH↔ZQWX HTLC orders and configuration │ ├── wallet/ # key

files and wallet service │ ├── light/ # light client: verified headers, merkle proofs │ ├── ratings.py #

Glicko-2 miner ratings │ ├── token_notes.py # local token review notes │ ├── transport.py # synchronous

ASGI transport for httpx │ ├── devnet.py # in-process local network │ └── cli/ # Typer CLI, one module

per sub-app: │ # wallet, node, token, miner, chain, dex, │ # bridge, verify, matchmaker, witness, │ # devnet,

faucet, plus _apps/_support ├── src/landing/ # static, no-JS overview served at the apex │ ├── index.html

│ ├── styles.css │ ├── og-image.png # 1200x630 social-link preview │ └── favicon.svg ├──

src/web/ # explorer: React Native for Web + Material │ ├── README.md # build it, serve it, and understand the

pages │ ├── src/views/ # explorer, wallet, DEX and bridge views │ └── src/lib/ # node/relay clients,

protocol ports, tx signing, │ # certificates, proofs, verifier, hash vectors └── tests/ ├── unit/ #

per-module tests, including test_api.py, │ # test_gossip.py, test_sync.py, test_miner_loop.py; │ # the CLI tests

live in unit/cli/, one module │ # per sub-app ├── property/ # hypothesis ├── integration/ # Stockfish

smoke test (-m engine) ├── e2e/ # loopback network plus restart/partition/reorg drills ├── adversarial/ #

cheat / self-play / tamper suites └── fixtures/ # PGN/hash vectors, crypto vectors, openapi.json 6. Quickstart

Every step below is a thin wrapper over a library call, so the CLI, tests and services exercise the same code path. The

hosted six-miner testnet is available at http://app.proofofchess.com:8645. The quickstart below starts local processes

so you can change code without depending on it; use the hosted URL as --node or SCCP_NODE when you want the shared

deployment instead. git clone [email protected]:chessproofofwork/somecryptochessproject.git cd somecryptochessproject

python3 -m venv .venv && source .venv/bin/activate pip install -e ".[dev]" # Create a wallet (writes an

encrypted keyfile) sccp wallet new --network testnet --out alice.key # Download a pinned Stockfish (verifies the archive

SHA-256 first) python scripts/fetch_engine.py --list python scripts/fetch_engine.py --engine stockfish-19 --dest ./bin #

Verify a PGN offline: replays every move and prints the canonical game hash sccp verify pgn game.pgn --network testnet #

Run the matchmaking relay with a static roster file. # --witness-key makes it sign the clock receipts; --round-seconds

opens a round # on that interval (0 or omitted disables the scheduler); --node makes it move # onto each later epoch's

beacon/roster as the chain opens it. sccp matchmaker run --config relay.json --store ./relay-state.json \ --witness-key

relay.key --round-seconds 900 --node http://127.0.0.1:8645 # Or take the roster from the chain, with no relay.json

roster: sccp matchmaker run --roster-source chain --node http://127.0.0.1:8645 \ --store ./relay-state.json

--witness-key relay.key --round-seconds 900 # Verify a win proof offline against a public context document sccp verify

proof proof.json --context context.json --network testnet # Spin up a node, a relay and four mock miners, and mine ten

blocks sccp devnet up --miners 4 --blocks 10 --engines mock # Run an independent clock witness beside the relay's own

witness key. The # stack bootstrap registers three bonded witnesses; this one audits the relay # and serves a co-signed

bundle that `sccp miner run --witness-url` can use when # the relay cannot produce one. sccp --passphrase-file

./stack/passphrase witness run --network testnet \ --key ./stack/keys/witness-2.key \ --relay-witness-key-file

./stack/keys/witness-1.pub \ --relay http://127.0.0.1:8646 --node http://127.0.0.1:8645 # Serve a full node (chain in

./data/chain.sqlite, API on port 8645) sccp --data-dir ./data node run --network testnet --port 8645 # Read that node's

chain from the same data directory sccp --data-dir ./data chain info --network testnet sccp --data-dir ./data chain

blocks --limit 5 --network testnet sccp --data-dir ./data chain account sccpt1... --network testnet sccp --data-dir

./data chain verify --network testnet # Fund this wallet from the public faucet and check its balance. Both read the #

account from the node: no sync and no --data-dir needed. sccp faucet send --network testnet --to sccpt1... --amount 1000

sccp wallet balance --network testnet --key alice.key # history walks the adopted chain, so it still reads the data

directory sccp --data-dir ./data wallet history --network testnet --key alice.key # Register the wallet as a miner and

commit availability for the epoch ahead sccp --data-dir ./data miner register --network testnet \ --key alice.key --bond

10 --endpoint tcp://alice.example:8646 sccp --data-dir ./data miner availability --network testnet \ --key alice.key

--max-games 3 sccp --data-dir ./data miner reveal --network testnet \ --key alice.key --nonce-secret

<the-hex-from-the-previous-step> # Run an engine miner against a relay (repeat for bob.key, with another engine).

# --relay-witness-key is the relay's witness public key (hex): with it the miner # verifies the relay's clock receipts

and submits a flag it wins as a bonded # timeout_claim to --node (the default; use --no-submit-timeout-claims to keep

the # claim local). --nonce-secret-file makes the miner commit and reveal its own # availability each epoch, so the

roster keeps growing without a manual # `miner availability` run. sccp miner run --network testnet \ --key alice.key \

--nonce-secret-file alice.nonce \ --engine-path ./bin/stockfish-macos-universal \ --relay http://127.0.0.1:8646 \ --node

http://127.0.0.1:8645 \ --relay-witness-key <relay-witness-public-key-hex> # The whole testnet stack (node, relay,

bootstrap, three clock witnesses, # four fixed Stockfish seats and two traffic-owned role seats) docker compose up

--build # Play a timed relay match yourself, by hand: solo mode builds the relay and one # mock miner in-process, so the

clocks, receipts and auto-flag are the real ones. # Solo is an off-chain protocol demo: no node, no proof, no block.

python scripts/play_miner.py # you are white; SAN or UCI moves python scripts/play_miner.py --pgn-out game.pgn # also

keep the relay's PGN python scripts/play_miner.py --color black --engine stockfish-19 \ --engine-path

./bin/stockfish-macos-universal # …or build/reuse a devnet chain, play on it and mine the win proof into a block. #

The game is written to ./data-play/chain.sqlite; serve it afterwards with # `sccp --data-dir ./data-play node run

--network devnet`. python scripts/play_miner.py --on-chain python scripts/play_miner.py --on-chain # re-run: resumes

that chain python scripts/play_miner.py --on-chain --games 3 # three games, three blocks python scripts/play_miner.py

--on-chain --chain-dir ./my-play-data --color auto python scripts/play_miner.py --on-chain --fresh # discard that chain

# …or the same game on the shared chain: testnet parameters, five-block epochs python scripts/play_miner.py --on-chain

--network testnet --chain-dir ./data-play-testnet # …or take a seat on a relay that is already serving, with your own

keyfile python scripts/play_miner.py --relay http://127.0.0.1:8646 --key alice.key # Export every game in a node's

latest block as PGN, with a manifest.json. # The exporter reads the node API, so start `sccp node run` in another

terminal # first; it must serve the same chain you played on (`--data-dir ./data-play # --network devnet`). Without

`--block` it asks that node for its tip, so a # node left on another chain exports that chain's genesis instead.

`--block` # may name any other height or hash, e.g. block 5 for the second game. python scripts/export_block_games.py

--node http://127.0.0.1:8645 --out ./games python scripts/export_block_games.py --block 5 --out ./games # game 2 on a

resumed chain For a step-by-step walkthrough — including the settlement report, resuming the chain, starting the node

on the right data directory and troubleshooting a block 0 (0 games) export — see docs/guides/PLAY_AND_EXPORT.md. The

wallet and miner guides are separate. All of them are indexed, with what each one needs and where it ends, in

docs/README.md: Guide What it is for guides/INSTALL.md install the CLI, choose a node, the --network rule

guides/CREATE_A_TESTNET_WALLET.md keyfile, faucet, balance — the short path guides/CREATE_YOUR_OWN_CRYPTO.md register

a variant token, wait for it, transfer it, open a pool guides/OPEN_A_WALLET.md the full keyfile, mnemonic and restore

reference guides/SEND_COINS.md fund, transfer, fees and settlement guides/PLAY_AND_EXPORT.md play on-chain and export

the block's games guides/EXPLORE_THE_CHAIN.md build the web app and read the explorer and wallet setup/RUN_A_DEVNET.md a

whole devnet from source, step by step setup/RUN_A_TESTNET_MINER.md relay, engine miner, clock witness, registration,

availability guides/TEST_DEVNET_BRIDGE_DEX.md bridge, DEX and Chess960 end to end guides/TEST_TESTNET_BRIDGE.md Sepolia

ETH, EthHtlc deployment and a testnet bridge swap The browser wallet, native DEX and trustless ETH↔SCCP HTLC bridge

are implemented. The same user actions are available from the CLI under sccp dex and sccp bridge; the node, relay and

miners remain operator processes. docs/design/BIG_PICTURE.md records the design and the remaining work (the optional

federated wETH asset, more bridge chains and an external audit of contracts/EthHtlc.sol). To put the six-miner testnet

on a GCP VM and connect the deploy workflow, see docs/setup/GCP_RESOURCE_SETUP.md. The current deployment is published

at http://app.proofofchess.com:8645; the workflow connects to the VM over SSH through the apex name

([email protected]). Moving a deployment to a new project or domain -- the cutover that produced those names -- is

docs/setup/DOMAIN_MIGRATION.md. Once it is deployed, the pages change tense: docs/operations/ is what to do when

something is wrong with it -- the triage table, the severity model, and one runbook per failure (CHAIN_STALLED.md,

DATA_LOSS.md, TLS_AND_DNS.md, DEPLOY_FAILURES.md) alongside the RUNBOOK.md for the stack itself. The apex

https://proofofchess.com/ is a static project overview. The explorer and wallet are one app deploy on

https://app.proofofchess.com: nginx serves the built bundle with /v1 and /relay proxied onto that origin, because the

node sends no CORS headers. A Caddy terminator in front holds one certificate per name. The hamburger menu in the

top-left corner switches between the explorer, the wallet, the DEX and the bridge by hash route (#/, #/wallet, #/dex,

#/bridge), so the unlocked key stays in the tab. The legacy Play route (#/play, and its old #/wallet/play alias) is

hidden, unsupported, and kept only so older bookmarks resolve; it is not part of the app's feature set. See

docs/setup/EXPLORER_DEPLOYMENT.md. A session never starts at move 1: the relay plays the book line the beacon draws for

the match and hands you the position after it, so the script opens by printing that line (opening 1. e4 c6 2. d4 d5 3.

exd5 cxd5 4. c4 Nf6), the board it left and the move number you are on, and it numbers every move it reports (you played

5.Nc3, opponent played 5...g5). --seed derives the beacon, so a different seed is a different opening; --engine-seed

makes a given mock opponent replay the same moves. --on-chain bootstraps its own chain in process: devnet by default

(one-block, one-second epochs, zero bond), or testnet with --network testnet, which is the same game on the shared

chain's parameters and a much longer wait between epochs. The first run bootstraps --chain-dir (default ./data-play);

later runs resume that chain at its next epoch, and --games N plays several games in one sitting. --fresh is the

explicit reset. The chain has three funded opponent miners, so the demo keeps the shape of a mainnet roster; test

networks disable the opponent_cooldown, so consecutive proofs are never blocked on a rematch. --color auto takes

whichever seat the pairing deals you. When the game ends the script co-signs the result with the engine, turns the relay

transcript into a WinProof and mines it with the production block builder; the final report prints the block height,

proof id and the node run command that serves the chain. The mined block also carries the availability and reveal

transactions that make the next game's epoch matchable. A draw, a time forfeit (the claim-transaction path is not wired

into this demo), a game under the network's 20-ply minimum, or a result the engine will not co-sign produces no block,

and the report says why. Opponent strength is irrelevant to that rule: a loss to a strong engine still mines the

winner's proof, while a draw or a flag has no ordinary co-signed winner. --json works on every command (sccp --json

chain info, sccp --json devnet up, ...) and prints one machine-readable document; miner run --iterations N stops after N

relay polls, which is how the CLI tests drive it. 7. Current status and next work Protocol v1 and the testnet release

are complete. The reference implementation includes the wallet and keyfile tooling, the chess proof pipeline, the timed

relay, the ledger and consensus rules, the node and gossip layer, the unattended miner, the funded six-miner testnet

with an automated deploy path, and a web explorer, in-tab wallet, DEX and bridge (src/web). The legacy #/play route

remains reachable but is unsupported and is not advertised. The work that remains is operational and economic rather

than foundational: run a persistent public testnet and publish a 72-hour soak report; add metrics and alerting; mix

drand into production beacons (the pinned verifier and the offline check ship; epoch_beacon and the miner do not request

a signature yet); populate the roster's funder/subnet fields so pairing diversity has real data; harden storage, peer

networking, faucet limits and miner/relay resilience; complete the audit, economic review and mainnet go/no-go decision.

The prioritized list, acceptance criteria and improvement areas are in docs/design/IMPLEMENTATION_PLAN.md. 8. Security

model and caveats Chess is not a VDF. Game outcomes depend on engine strength, opening randomness and hardware. The cost

model is economic, not cryptographic. Legality is cheap. A legal PGN can be fabricated in microseconds. The security

comes from co-signed match certificates, beacon-derived pairings and bonds - in that order. Move quality is not checked

at all. A proof is valid if the game replays; how well it was played never enters validation. A bad engine prices itself

out by losing, and no bond or panel is asked to judge intent. Sybil resistance is economic. Bonds and diversity

constraints raise the cost of self-play; they do not make it impossible. Finality is a bond-weighted checkpoint, not a

signature by one operator. An epoch-boundary block becomes final once roster seats holding 2/3 of the eligible bonded

weight attest to it; the chain refuses a conflicting heavier branch below that height, and contradictory attestations

burn the signer's bond. Liveness still depends on enough bond weight attesting: a small or offline roster reports a lag

and waits. The mechanism is unaudited and has not run on mainnet. Reward variance is high. Draws earn nothing, so a

miner wins maybe one game in five against a peer; individual miners may wait a long time between payouts, and pooling is

an open question. Testnet coins have no value. License. This repository is released under the Unlicense. Stockfish is

GPLv3; this project invokes engine binaries as separate processes and never links or redistributes them.

scripts/fetch_engine.py downloads pinned builds at the user's request. 9. Development python3 -m venv .venv source

.venv/bin/activate pip install -e ".[dev]" make check # ruff check + format --check + mypy + pytest make test # pytest

(unit + property; mock engines only) make cov # whole-package report with the 85% gate make cov-gate # crypto/ and

serialization.py must stay >= 95% covered make test-all # adds integration/e2e; skips if Stockfish is absent make

dist-check # build sdist+wheel and run `twine check --strict` (twine>=7) make devnet # in-process node + relay + mock

miners make stack # write the docker-compose stack and validate the file make container-e2e # build the image and run

live HTLC, transfer, DEX and miner-payout tests (Docker) Real-engine tests are marked engine and deselected by default:

python scripts/fetch_engine.py --engine stockfish-19 --dest ./bin pytest -m engine tests/integration # or

SCCP_STOCKFISH=/path/to/stockfish Requirements: Python 3.11+ (developed against 3.13), python-chess, glicko2, pydantic,

fastapi, uvicorn, httpx, typer, cryptography, bech32, mnemonic, rich, with pytest, pytest-asyncio, hypothesis, ruff and

mypy for development. Real-engine tests need a Stockfish binary; see scripts/fetch_engine.py. Chess core The chess

pipeline is import-light and engine-free until you ask for one: from pathlib import Path from sccp.chess.engines import

MockEngine from sccp.chess.gameplay import play_game from sccp.chess.openings import book_for from sccp.chess.pgn import

validate_pgn from sccp.config import TESTNET game = validate_pgn(Path("game.pgn").read_bytes(), params=TESTNET,

require_win=True) print(game.game_hash, game.result, game.termination, game.plies) opening =

book_for(TESTNET).select(beacon=bytes(32), match_id="demo") raw = play_game(MockEngine(seed=1), MockEngine(seed=2),

params=TESTNET, opening=opening) print(raw.pgn) validate_pgn enforces the 18 required sccp headers, replays every move

with Board.is_legal, checks the result and termination against the board, and hashes only (network, start position, SAN

list, result). The opening book and engine pins are described in docs/design/PROTOCOL.md. Matchmaking and proofs Beacons

and pairings are pure functions, so a relay cannot invent either: from sccp.protocol.beacon import compute_beacon from

sccp.protocol.pairing import RosterEntry, pair beacon = compute_beacon( network="testnet", epoch=3, block_hash="ab" *

32, reveals=revealed_beacon_entries, ) matchups = pair( [RosterEntry(address="sccpt1...", max_games=3)],

bytes.fromhex(beacon.hash), network="testnet", epoch=3, round_number=0, rounds_per_epoch=3, ) Certificates commit both

seats, colours, opening and engine fingerprints; both seats sign before the first move and again on the result. sccp

matchmaker run serves the relay (POST /v1/matches/{match_id}/join|move|resign|result, GET

/v1/matches/{match_id}/receipts), keeps the 10+0 clock, signs a receipt for every accepted move and flags a clock that

reaches zero, and a JSON store survives restarts. sccp verify proof re-checks the certificate, pairing, beacon,

signatures and PGN offline, and it verifies a drand-attested beacon with the quicknet key pinned in sccp.protocol.drand.

drand_used = 0 needs no verifier, is always valid, and is what the chain currently produces. The ledger, wallets and

blocks The chain core is a library; the node daemon wraps it. Genesis, transactions, blocks, fork choice and storage all

work in-process. from sccp.chain.chain import Chain from sccp.chain.mempool import Mempool from sccp.config import

DEVNET from sccp.miner.block_builder import BlockBuilder from sccp.wallet.service import WalletService chain =

Chain.from_genesis_file("devnet", "genesis/devnet.json") wallet = WalletService(DEVNET, chain.state, chain=chain)

print(wallet.balance(miner_address).total) mempool = Mempool(params=DEVNET, tip_state=chain.state, book=chain.book)

builder = BlockBuilder(params=DEVNET, chain=chain, mempool=mempool, keypair=miner_keys) built =

builder.build_and_append(timestamp=chain.tip.block.header.timestamp + 1) Every state transition is a signed transaction

validated in a fixed order (schema, network, signature, nonce, balance, type rules, size) and applied by one function,

so the mempool and block connection cannot disagree. Blocks carry one coinbase, ordinary transactions and exactly

wins_required win proofs; their state_root is recomputed from the state the block produces, and fork choice adopts the

heaviest chain by cumulative work, returning orphaned payloads to the mempool on a reorg. SQLite storage keeps canonical

block JSON plus periodic snapshots, and a restart replays from the last snapshot rather than trusting it. Bonded

timeout_claim/timeout_dispute settlement and clock-witness slashing live in src/sccp/chain/timeout.py; genesis documents

in genesis/*.json are regenerated by scripts/make_genesis.py. Wire formats are in docs/design/PROTOCOL.md. The node,

gossip and the miner daemon The node and the miner are libraries with thin HTTP/CLI edges, so a whole network can run in

one process without opening a port. from sccp.devnet import run_devnet summary = run_devnet(miners=4, blocks=10)

print(summary.height, summary.tip_hash, len(summary.proofs)) A node is sccp.node.service.NodeService: a Chain, a

Mempool, a peer table and a transcript cache. It serves the protocol API through sccp.node.app.create_app(service)

(blocks by height or hash, accounts, epochs and beacons, difficulty history, games, matches, transcripts, mempool,

transaction/proof submission, gossip and peers) and speaks gossip through sccp.node.p2p: envelopes are signed in the

sccp/v1/gossip domain over network, kind, payload and sender, deduplicated by content id, fanned out to a random subset

of peers and never back to the sender. A peer that serves garbage collects failures and is banned for five minutes; a

block whose parent is unknown waits in the orphan pool without penalty. sync_from pulls missing heights in order and

adopts the heavier branch. The app documents itself: /openapi.json is the generated schema, /docs is Swagger UI grouped

into node, chain, ledger, chess and DeFi, and /redoc is the same schema as a single scrollable reference. On the testnet

the two pages are http://app.proofofchess.com:8645/docs and http://app.proofofchess.com:8645/redoc.

https://app.proofofchess.com/docs is the explorer, because nginx proxies only /v1/ to the node. Both pages load their

assets from a CDN, so a browser without internet access sees a blank page; the JSON needs nothing.

sccp.miner.engine_miner.EngineMiner is the unattended half: one run_once() performs at most one relay-visible action per

match, so a caller owns the pacing. It joins certified matches, replays the opponent's moves from the relay's transcript

view, signs its own moves with a receipt for the clock, co-signs results once it can rebuild them, announces proofs only

for games it won and only after the transcript matches its board, and refuses anything it cannot reproduce — a changed

certificate, an unreproducible result, a transcript with another game hash, or a match it was not seated in. Timeout

claims are assembled only from witness receipts plus a verified flag, and drawn clocks are never traded for a signature.

sccp devnet up wires the three together with devnet parameters: coins are funded from the faucet,

registration/availability/reveal are signed transactions, the relay is the production Matchmaker behind its real HTTP

API, miners are EngineMiners with seeded MockEngines, and the node mines with the production BlockBuilder. Two seeded

engines can shuffle forever, so the devnet resigns the side to move after 60 plies; resignation is a consensus-valid

result both seats co-sign, so a run always ends with real proofs. Bootstrap is consensus-defined: blocks up to

bootstrap_end_height may be empty, which is exactly the window funding, registration and availability need, so the first

matchable epoch is 3; past it a block needs wins_required proofs or, failing that, one transaction -- a proofless

heartbeat block mints no subsidy and the builder puts exactly one transaction in it, so pending ledger work turns into

one block per transaction instead of one block for the lot, which is what lets an epoch end without proofs.

tests/unit/test_devnet.py asserts the run reaches the requested height and that two runs produce the same tip hash. The

CLI is the whole operator surface: node run serves the API and pull-syncs from --peer URLs at startup, miner run is the

unattended loop (with --iterations for scripted runs), miner register|availability|reveal sign the on-chain lifecycle,

wallet balance|send ask --node for the account (falling back to --data-dir), wallet history and chain

info|blocks|account|verify read the ledger in --data-dir, and faucet send is the public test faucet. Every command takes

--json and is a thin wrapper over a library call, so the same behaviour is exercised in-process. Two tests pin the parts

a unit test could otherwise drift from: tests/unit/test_api.py compares the OpenAPI schema against

tests/fixtures/openapi.json (prose and the package version are stripped), so a new route, field or status code has to be

accepted on purpose with scripts/make_openapi_fixture.py; tests/e2e/test_local_network.py runs two nodes under uvicorn

on real loopback ports, partitions them, and checks they converge on the same tip, and that a signed envelope crosses

the wire. tests/e2e/test_testnet_resilience.py adds the drills a long-lived testnet needs: node and relay restarts,

two-sided partition healing, a heavier-branch reorg with mempool rebroadcast, SQLite full-disk/read-only failures, clock

skew at the future and median-time bounds, replayed blocks/transactions/receipts, and the mempool, gossip-cache and

peer-ban bounds. docker-compose.yml (with Dockerfile and deploy/) runs the same software as one node, one relay, a

deterministic bootstrap, three clock witnesses, four fixed Stockfish seats and two traffic-owned role seats on testnet.

deploy/README.md explains the stack and its published keys, docs/operations/RUNBOOK.md covers operations and

docs/setup/TESTNET_DEPLOYMENT.md documents the merge-to-deploy workflow and its monthly cost. When the deployed stack

misbehaves, docs/operations/ is the triage index and the per-failure runbooks. Releasing Publishing is automated by

.github/workflows/publish.yml: Bump the version in pyproject.toml and src/sccp/version.py; the workflow refuses to

publish if the two disagree or if the tag does not match. Add a CHANGELOG.md entry, run make check, commit, then tag

vX.Y.Z and push the tag. Create a GitHub release for that tag. Publishing the release builds the sdist and wheel,

re-runs lint/typecheck/tests, runs twine check --strict (twine 7+ — current hatchling emits Metadata-Version: 2.5,

which twine 6 cannot read), smoke-tests the wheel in a clean venv, and uploads to PyPI with Trusted Publishing (OIDC —

no API token is stored in the repository). Releases marked as pre-release are never uploaded to PyPI. TestPyPI dry run:

Actions → publish → Run workflow with repository: testpypi. One-time setup: on PyPI (and TestPyPI) add this

repository as a trusted publisher for sccp with workflow name publish.yml and environment name pypi (testpypi). 10.

License Public domain, via the Unlicense. Key dates PyPI data Data sourced directly from PyPI's database. Released: Dec

3, 2026 Newer release available (0.59.0) 1 maintainer PyPI data Data sourced directly from PyPI's database. beefy

Provenance Data verified by PyPI on Dec 3, 2026 Data provided by the project maintainers and verified by PyPI at

the time of upload. Full provenance Both files in this release have provenance metadata. View provenance details License

This is free and unencumbered software released into the public domain. Requires Python >=3.11 Provides Extra dev

fast Tags bech32 chess cryptocurrency ed25519 proof-of-work Classifiers Development Status 2 - Pre-Alpha Intended

Audience Developers Operating System OS Independent Programming Language Python :: 3 :: Only Python :: 3.11 Python ::

3.12 Python :: 3.13 Topic Games/Entertainment :: Board Games Security :: Cryptography Metadata Key dates PyPI data Data

sourced directly from PyPI's database. Released: Dec 3, 2026 Newer release available (0.59.0) 1 maintainer PyPI data

Data sourced directly from PyPI's database. beefy Provenance Data verified by PyPI on Dec 3, 2026 Data provided by

the project maintainers and verified by PyPI at the time of upload. Full provenance Both files in this release have

provenance metadata. View provenance details License This is free and unencumbered software released into the public

domain. Requires Python >=3.11 Provides Extra dev fast Tags bech32 chess cryptocurrency ed25519 proof-of-work

Classifiers Development Status 2 - Pre-Alpha Intended Audience Developers Operating System OS Independent Programming

Language Python :: 3 :: Only Python :: 3.11 Python :: 3.12 Python :: 3.13 Topic Games/Entertainment :: Board Games

Security :: Cryptography Release files for sccp 0.54.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 sccp 0.54.0 File Size Uploaded Provenance Actions sccp-0.54.0.tar.gz 916.4 kB Dec 3, 2026 With

provenance Details for sccp-0.54.0.tar.gz Built distribution (wheel) Table of built distributions (wheels) for sccp

0.54.0 File Interpreter ABI Platform Actions Reset sccp-0.54.0-py3-none-any.whl 527.2 kB Dec 3, 2026 With provenance

Python 3 none any Details for sccp-0.54.0-py3-none-any.whl Total release size: 1.4 MB Release files / sccp-0.54.0.tar.gz

Download URL sccp-0.54.0.tar.gz Size 916.4 kB Tags Source SHA-256 checksum How to use checksums

004d8de7c174598b86cdc62e7e961a23984203273e95e46981d3bd2f8bfc1623 Copy SHA-256 checksum BLAKE2b-256 checksum How to use

checksums ddb286234377d25174c2dcd41a1ff631be578670eefade9ada0aca710fef8a82 Copy BLAKE2b-256 checksum Upload date Dec 3,

2026 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 Dec 3, 2026. Transparency log Identity Publishing platform GitHub Actions Publishing

repository github.com/chessproofofwork/somecryptochessproject Publishing commit

github.com/chessproofofwork/somecryptochessproject/tree/782ed9abd24c5ee26889efcd80aa20d5f914fd41 Workflow Publishing

configuration

github.com/chessproofofwork/somecryptochessproject/blob/782ed9abd24c5ee26889efcd80aa20d5f914fd41/.github/workflows/publish.yml

Publishing logs github.com/chessproofofwork/somecryptochessproject/actions/runs/47021596392/attempts/1 Artifact Subject

sccp-0.54.0.tar.gz SHA-256 checksum 004d8de7c174598b86cdc62e7e961a23984203273e95e46981d3bd2f8bfc1623 Copy SHA-256

checksum Verifying attestations Release files / sccp-0.54.0-py3-none-any.whl Download URL sccp-0.54.0-py3-none-any.whl

Size 527.2 kB Tags Python 3 SHA-256 checksum How to use checksums

3b6fa054edde949f64bf6da747657c738d92a04d37617914ad21cef122010a0b Copy SHA-256 checksum BLAKE2b-256 checksum How to use

checksums 64071a6d30443a4754b4ee3d35cd3b889ba645f444f8725dfd8dbf1667aed20e Copy BLAKE2b-256 checksum Upload date Dec 3,

2026 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 Dec 3, 2026. Transparency log Identity Publishing platform GitHub Actions Publishing

repository github.com/chessproofofwork/somecryptochessproject Publishing commit

github.com/chessproofofwork/somecryptochessproject/tree/782ed9abd24c5ee26889efcd80aa20d5f914fd41 Workflow Publishing

configuration

github.com/chessproofofwork/somecryptochessproject/blob/782ed9abd24c5ee26889efcd80aa20d5f914fd41/.github/workflows/publish.yml

Publishing logs github.com/chessproofofwork/somecryptochessproject/actions/runs/47021596392/attempts/1 Artifact Subject

sccp-0.54.0-py3-none-any.whl SHA-256 checksum 3b6fa054edde949f64bf6da747657c738d92a04d37617914ad21cef122010a0b Copy

SHA-256 checksum Verifying attestations Security for sccp 0.54.0 Report project as malware 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 No files match the current filters. Reset filters With

provenance sccp-0.54.0.tar.gz Dec 3, 2026 With provenance sccp-0.54.0-py3-none-any.whl Dec 3, 2026 Attestation for

sccp-0.54.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 Dec 3, 2026. Transparency log Identity Publishing

platform GitHub Actions Publishing repository github.com/chessproofofwork/somecryptochessproject Publishing commit

github.com/chessproofofwork/somecryptochessproject/tree/782ed9abd24c5ee26889efcd80aa20d5f914fd41 Workflow Publishing

configuration

github.com/chessproofofwork/somecryptochessproject/blob/782ed9abd24c5ee26889efcd80aa20d5f914fd41/.github/workflows/publish.yml

Publishing logs github.com/chessproofofwork/somecryptochessproject/actions/runs/47021596392/attempts/1 Artifact Subject

sccp-0.54.0.tar.gz SHA-256 checksum 004d8de7c174598b86cdc62e7e961a23984203273e95e46981d3bd2f8bfc1623 Copy SHA-256

checksum Verifying attestations Attestation for sccp-0.54.0-py3-none-any.whl 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 Dec 3, 2026. Transparency log Identity Publishing platform GitHub Actions Publishing repository

github.com/chessproofofwork/somecryptochessproject Publishing commit

github.com/chessproofofwork/somecryptochessproject/tree/782ed9abd24c5ee26889efcd80aa20d5f914fd41 Workflow Publishing

configuration

github.com/chessproofofwork/somecryptochessproject/blob/782ed9abd24c5ee26889efcd80aa20d5f914fd41/.github/workflows/publish.yml

Publishing logs github.com/chessproofofwork/somecryptochessproject/actions/runs/47021596392/attempts/1 Artifact Subject

sccp-0.54.0-py3-none-any.whl SHA-256 checksum 3b6fa054edde949f64bf6da747657c738d92a04d37617914ad21cef122010a0b Copy

SHA-256 checksum Verifying attestations 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. Release history Release

notifications | RSS feed 0.59.0 Dec 4, 2026 2 release files Full provenance 0.58.0 Dec 4, 2026 2 release files Full

provenance 0.57.0 Dec 4, 2026 2 release files Full provenance 0.56.0 Dec 3, 2026 2 release files Full provenance 0.55.0

Dec 3, 2026 2 release files Full provenance 0.54.1 Dec 3, 2026 2 release files Full provenance This release 0.54.0 This

release Dec 3, 2026 2 release files Full provenance 0.52.0 Dec 2, 2026 2 release files Full provenance 0.51.1 Dec 1,

2026 2 release files Full provenance 0.51.0 Nov 30, 2026 2 release files Full provenance 0.50.1 Nov 30, 2026 2 release

files Full provenance 0.50.0 Nov 30, 2026 2 release files Full provenance 0.49.0 Nov 30, 2026 2 release files Full

provenance 0.48.0 Nov 30, 2026 2 release files Full provenance 0.46.0 Nov 30, 2026 2 release files Full provenance

0.45.0 Nov 29, 2026 2 release files Full provenance 0.44.0 Nov 29, 2026 2 release files Full provenance 0.43.0 Nov 28,

2026 2 release files Full provenance 0.42.0 Nov 28, 2026 2 release files Full provenance 0.41.0 Nov 28, 2026 2 release

files Full provenance 0.40.0 Nov 23, 2026 2 release files Full provenance 0.39.0 Nov 22, 2026 2 release files Full

provenance 0.38.0 Nov 22, 2026 2 release files Full provenance 0.37.0 Nov 22, 2026 2 release files Full provenance

0.36.6 Nov 21, 2026 2 release files Full provenance 0.36.5 Nov 21, 2026 2 release files Full provenance 0.36.4 Nov 21,

2026 2 release files Full provenance 0.36.3 Nov 21, 2026 2 release files Full provenance 0.36.2 Nov 21, 2026 2 release

files Full provenance 0.36.1 Nov 21, 2026 2 release files Full provenance 0.36.0 Nov 21, 2026 2 release files Full

provenance 0.35.0 Nov 20, 2026 2 release files Full provenance 0.34.0 Nov 20, 2026 2 release files Full

Source: pypi.org