On this page

Tools & SDKs

Find the payment SDK, proof tools and independent audit verifier in the protocol checkout.

Tools in the repository#

Use the CommonJS SDK for payment accounting and rail lifecycle. Browser crypto and prover clients handle private account operations. FPL tools parse and evaluate questions; independent audit verifiers check exported proof answers.

Examples use repository paths. The docs assume a protocol checkout, not a published npm package or hosted SDK endpoint.

How the wallet, Pool and disclosure tools fit together
How the wallet, Pool and disclosure tools fit together

Find the tool you need#

ToolLocationUse
Payment modulessdk/payment-sessions/Sessions, subscriptions, authorization, splitters and funding
FPL toolchaindsl/Parse and check .fuyu programs, then compile or evaluate them
Audit proof relationscircuits/owned-notes/Prove facts about owned notes and spend records
Independent verifierapps/privacy/runtime/verify-audit-answer.cjsVerify an exported answer using independent history
Client crypto and provingapps/privacy/src/crypto/Open account keys, decrypt delivery and prepare spends

Set up the checkout#

Use Node 24, Python 3 and Git LFS. Install lockfile dependencies and fetch the proof files before proving or verifying. The payment SDK uses ethers 5.8.0, and its SQLite worker uses Python's standard-library sqlite3 module.

bash
git lfs pull
npm ci --ignore-scripts
npm ci --prefix apps/privacy --ignore-scripts
# Rebuild circuit sources only when needed:
npm ci --prefix circuits --ignore-scripts

Use Fuyu with an AI assistant#

Give the assistant the current protocol source, SDK reference and deployment manifest. Ask it to use the exported methods and atomic-unit amounts, with providers and funded terms supplied by your application.

For an agent buying services, configure a SessionManager budget and authenticate each signed resource request in your transport. Check contract hashes and required approvals before allowing a broadcast. The SDK has no vendor-specific agent connector.

Keep the deployment files together#

Save the source revision, runtime hashes, proof files and deployment data used by the integration. Dependency installation checks none of those contract identities. Likewise, evaluating a question locally produces a preview; a proof answer still needs verification.

Run contract, circuit and sustained acceptance work on the provisioned Linux environment. Use the development keys on a development deployment; production needs its own key setup.