mirror of
https://github.com/Permissionless-Software-Foundation/psffpp-payments.git
synced 2026-09-21 16:52:04 -07:00
1.1 KiB
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.