Files
psffpp-payments/ui/README.md
T
2026-08-11 20:46:44 -07:00

1.1 KiB

PSFFPP Payments UI

React web app for PSFFPP CashScript payout contracts. Forked from bch-wallet-web3-spa.

Operators use the built-in BCH wallet to:

  • Load federation deploy config (paste/upload JSON)
  • Consolidate pool UTXOs
  • Split the pool after the height gate
  • Cosign share claims and broadcast collected signatures

Setup

From this directory:

npm install
npm start

Production build:

npm run build

Contract docs live in the parent package: ../docs/why-cashscript.md, ../docs/infra-changes.md, ../docs/ui-deferred.md.

Artifacts

Compiled CashScript artifacts are copied under src/contracts/artifacts/. After changing contracts in the parent package, run npm run compile there and re-copy the JSON artifacts into this app.

Config

Paste or upload a deploy JSON matching ../config/deploy.mainnet.example.json (also mirrored at src/contracts/deploy.example.json). Never put private keys in config.