[2610 Grant] Predge — disputable USDRIF payments on Rootstock without an escrow agent — Milestone 1

Requested: 35,000 USD in USDRIF · Strategic tier · 20% initial, four checkpoints, full audit, 30% terminal holdback (Guidelines V3.3)
Sector: Payments & stablecoin usage · Themes claimed: USDRIF Adoption & Real-World Circulation (primary), RIF Economy Enablers (via RIF Relay and RNS)
Applicant: Predge (predge.io), solo founder. Individual KYC submitted via Persona on 7 Oct 2026, pending confirmation. Not incorporated; will incorporate before the first disbursement.
On Rootstock today: the current contract set is live on Rootstock mainnet since 23 Oct 2026, verified on Sourcify, holding no funds (addresses in section 8). On testnet since August 2026, including one verdict batch anchored end to end to Bitcoin via OP_RETURN (reply #2). rsk-l402 adapter (August 2026).


1. The Rootstock problem, in numbers

Figures as of 22 Oct 2026; sources at the bottom.

  • Stablecoins on Rootstock: $11.7M, down from $14.0M a year ago. USDRIF is $2.17M of it, and DoC supply is down roughly 40% from its 2026 peak. [1]
  • Thin activity: ~6,000 transactions a day, 1.1% network utilisation, ~200 daily active accounts in Sep 2026 against ~350 in Q4 2024. [2]
  • DEX volume: $14.3M over the last 30 days, against $29.0M in Oct 2025 alone. Chain TVL is $76.5M, down from $262.6M on 1 Oct 2025 (BTC fell ~24% over the same year). [3]
  • USDRIF has an exit problem: ~$99k of stablecoin depth against $2.38M of supply (1delta, Aug 2026). [4]
  • Builders leaving: Tropykus wound down on 31 Aug; Boltz suspended on 3 Aug after AI-assisted attacks. [5]

USDRIF needs payment flows, not more incentives. The fastest-growing flow is agents and services paid per job or per API call, and Rootstock already supports it with x402 and agentic-commerce guides on dev.rootstock.io [6].

What is missing is recourse. A Rootstock payment is final on confirmation. When paid work never arrives, the buyer can use an escrow agent (a custodian), a trusted multisig, or nothing. Every project that needs recourse (P2P trading, intent fills, paid APIs) builds its own.

2. What we build

Small, non-upgradeable contracts on Rootstock mainnet. USDRIF is the default settlement asset; rBTC is also supported.

  1. The acceptance test is committed before the work exists, so nobody can rewrite the criterion after the outcome is known.
  2. Job contract. The buyer’s USDRIF sits in the contract, not with a custodian. It is released on a verdict. With no valid verdict by the deadline, the buyer is refunded.
  3. Verdict validator. Verdicts are ed25519-signed and can be checked offline against a published key. Each one is also recorded on-chain.
  4. Refund arbiter with a dispute window. The payer or the merchant files a hash of their evidence on-chain. A ruling must cite evidence already filed. Anyone can challenge it during the window, and a contested ruling escalates to Kleros (below).

Concrete USDRIF and RIF demand, all inside this budget:

  • USDRIF: every settled job is a USDRIF transfer through a Rootstock contract, counted on-chain (section 5). USDRIF has neither EIP-3009 nor permit, so our x402 receipts use the Permit2 contract already deployed on Rootstock.
  • RIF Relay: jobs can be opened and settled from RIF Relay smart wallets, so an agent holding no rBTC pays gas in RIF, the only fee token the mainnet verifiers accept today. That is a RIF sink, and it shortens time to first transaction.
  • RNS: the verdict-signing key and its revocation record are published in RNS pubkey and text records. The SDK resolves keys through RNS by default.

Why Rootstock: verdict batches are anchored to Bitcoin via OP_RETURN and recorded back on Rootstock. This works on testnet today; M1 does it on mainnet.

Kleros. Kleros juries decide subjective questions. Predge handles the deterministic half (did a pre-committed test hold?), which is too cheap to justify a court. A contested Predge verdict escalates via a Reality.eth question to the Kleros arbitrator proxy on Rootstock mainnet. Kleros contacted us on 22 Oct 2026, offering to review challenged verdicts independently. The Rootstock escalation path is what we proposed back to them.

3. Demand validation

  • Kleros (inbound, 22 Oct 2026) offered to act as the appeal layer. We will post their written scope sign-off here before the Initial AMA, or say it did not come.
  • Rootstock projects: on 23 Oct 2026 we wrote to 12 Rootstock projects that take payments for work, fills or API calls. One address bounced, and we will reach that team through the forum. No replies yet. The four where the fit is clearest, listed for context and not as partners:
    • 1delta Intents (t/929): a verdict on “fill delivered at quoted terms” gives users recourse against third-party solvers.
    • Andromeda Core (t/876): verdict history as a reputation input.
    • PingPay (t/571) and open-source USDRIF x402 kits: a signed receipt and a refund path for paid calls.
    • RIF on Chain / Money on Chain: review the settlement path and list it as a USDRIF use case.
  • The offer to each of them: a free two-week pilot, and we do the integration work. Verdicts are recorded on mainnet now; USDRIF settlement follows once v2 is audited.
  • Gate we accept: at least one counterparty scope sign-off before the AMA. A name is added here only with that team’s consent.

4. Milestones and budget

The current mainnet set (v1) holds no funds and will not hold user funds. Our own review found issues in it (section 6). The fixed set (v2) is under an external pre-audit scan now and is not deployed. v2 goes to mainnet only after the audit (M2). Until then, mainnet is used for verdict records, which move no money.

# Checkpoint USD Verification
M1 Initial (20%): mainnet integration + offline verifier + first pilot integration. Signed verdicts recorded through the validator on Rootstock mainnet; first verdict batch anchored from Rootstock mainnet to Bitcoin mainnet; signing key and revocation published in RNS; offline verifier package (CLI + library); one Rootstock project (or, if none signs, a public reference integration) receiving verdicts for its paid jobs or calls; v2 code frozen for audit (USDRIF path, deadline refund, Permit2 receipts, contract-enforced caps), with threat model and incident playbook 7,000 Mainnet tx hashes; a reviewer verifies a real and a tampered verdict offline; frozen audit tag
A External audit (25.7%), paid by the Collective directly to the auditor at code freeze 9,000 Engagement letter, then the published report
M2 Mainnet v2 (14.3%): audit fixes, v2 deployed and verified, USDRIF settlement live under the caps, multisig owner, one full adversarial cycle (an honest verdict settles; a dishonest one is challenged by a third party and overturned); v1 marked deprecated 5,000 Mainnet tx hashes anyone can replay
M3 Integrations (10%): ≥2 integrations settling in USDRIF (or one plus a public reference integration), RIF Relay path, Kleros escalation, dashboard, docs 3,500 Named integrations with on-chain jobs; live dashboard
T Terminal (30%): released after a review 90 days after M3, pro rata to the section 5 targets met 10,500 FES review at the Final AMA

Budget by line. One engineer, the founder, at 70 USD/h:

Line Hours USD
v2 hardening to audit-ready (USDRIF path, deadline refund, caps, tests, fuzzing, pre-audit scan findings) 100 7,000
Mainnet integration: verdict records, Bitcoin anchor, RNS key records, offline verifier package 50 3,500
First pilot integration (M1), integration support for named projects (M3), RIF Relay smart-wallet path 80 5,600
Audit remediation, v2 mainnet deploy, adversarial cycle 40 2,800
Permit2 x402 receipts and L402 receipts in rsk-l402 20 1,400
Kleros escalation via Reality.eth 15 1,050
Dashboard and documentation 20 1,400
Maintenance for 12 months after M3, monthly reports, AMAs 25 1,750
Mainnet gas, RNS, Bitcoin anchoring fees, RPC and hosting for 12 months, challenger funds for the adversarial cycle — 1,500
External audit — 9,000
Total 350 35,000

Why 70 USD/h. Engineering rates in earlier Collective proposals: PingPay 35 USD/h (t/571) and Rootstock QuestHub 45 USD/h (t/493), both stated, mostly app and front-end work. WeCard’s milestones imply roughly 68–118 USD/h (hours and amounts in t/615). At the other end, the audit quoted in t/970 is 15,000 USD for one week of two senior auditors, about 190 USD/h. Immutable contracts that hold users’ USDRIF belong between those two ends. The total is the same as in our previous draft: at the higher rate we bill 350 hours instead of 490, and the rest of the work is our own contribution.

Why Strategic, not Scaling: the mandatory audit alone is about a quarter of the budget.

Audit (estimate). Candidates: Coinspect (quotes in this forum: $10–15k) or a mid-tier firm via Areta Market (SwaptoX quotes: $3.5–8.5k). 9,000 USD is an estimate; we post two written quotes before the vote. If all of them exceed it, we cut scope rather than ask for more, and unused funds are not drawn. An external automated pre-audit scan of v2 (Olympix) is under way at no cost to this grant. It does not replace the audit.

5. FES: proposed metrics (binding once approved)

Measured on Rootstock mainnet only. A wallet counts only if it shows repeat activity within a 30-day window.

Metric By M1 By M2 By M3 Terminal (M3 + 90 d) 12 months from M1
Signed verdicts recorded on mainnet (cumulative) 25 50 200 700 2,000
Jobs settled in USDRIF (cumulative) — 20 100 500 1,500
USDRIF settled (cumulative) — 500 2,500 25,000 70,000
Paying wallets with repeat activity — 5 15 40 100
Live integrations (signed scope plus on-chain activity) 1 1 2 2 active 3 active
Verdicts challenged by third parties — 1 1 3 5

The terminal tranche is judged against the Terminal column. The 12-month column is the Strategic-tier 2.0× benchmark (~70,000 USD of ecosystem value), tracked publicly.

6. Risks and how we handle them

  • No integrator signs: M1 and M3 fall back to a public reference integration, and the terminal tranche pays pro rata, so the Collective pays only for real adoption.
  • Bug in immutable contracts: caps of 1,000 USDRIF per job and 25,000 USDRIF in total for the first 90 days, enforced in the contract, not the UI. If we stop signing, the deadline refund returns buyers’ funds. Incident playbook in M1.
  • The current v1 set on mainnet: it holds no funds, and we will not route user funds through it. It is used only to record verdicts until v2 passes the audit.
  • Signing-key compromise: after our hosting provider disclosed a breach on 21 Oct 2026, we rotated the signing key the same day and marked the old key revoked in our published key registry. M1 publishes that revocation record in RNS and ships a verifier that refuses a verdict signed by a revoked key.
  • Solo founder: non-upgradeable contracts, an offline verifier, a permissive licence and the deadline refund. If Predge stops, users lose nothing.

Prior security incidents (V3.3 §8):

  1. The 21 Oct 2026 hosting-provider breach and key rotation described above. No contract held funds.
  2. Our own review of the current (v1) contracts on 20 Oct 2026 found three high and five medium issues, and showed that some fixes from an earlier internal review were incomplete. v1 holds no funds. v2 addresses these findings, is under the external pre-audit scan, and goes through the full audit in this grant before mainnet. We will share the full findings list with the auditor and publish it with the audit scope.

Cross-funding (V3.3 §6): No funding from Rootstock Labs, the RootstockCollective or any prior wave. Predge has some other non-dilutive support for work outside this scope; none of it pays for the Rootstock deliverables or the audit in this proposal.

7. Reporting and post-grant

  • Monthly Activity Report on Discourse (Collective template): transactions, new wallets, USDRIF settled, verdicts issued and challenged, progress.
  • The dashboard stays public, and the contracts stay maintained, for 12 months after close.
  • For at least 12 months after close, at least one attributed post per month tagging @RootstockColl.

8. What exists, and what does not

Exists on Rootstock mainnet (chainId 30), since 23 Oct 2026: the current (v1) set, verified on Sourcify (exact match), 23 of 23 post-deploy checks passed, zero balance.

Contract Address Deploy tx
PredgeAgentValidator 0x925767fdce6C819F027f55CC50464e3bCdfD2671 0x6fbbe762af5ea3bf52643c52590c4b85cb4c5bd5cb5ca81648d46dcf4fad05c1
AgentJob 0xcBaB4a9FA4d756b4C5e2a18F055d2E0132CE7D1D 0x96fbccebb7be61a31b58e59a88eaabee4468591a7f19a77c0265c470a720a5f9
PredgeSettlement 0x47BE8a7d461De505723a0Ac1d74982e53f8E412b 0xe600e2581b743056232267bd6ec404e9e3efc5df20c5553086c51c0e057a8806
PredgeRefundArbiter 0xb2972B4944Eec83946EB7B23D572AbE04F46E22c 0x1cf5b6529ae2452dd5e51422fca794900d001d01d6011b8ef3e20d34989d5c52

Also exists: testnet contracts since August, a verdict batch anchored to Bitcoin testnet, rsk-l402, and a working offline verifier.

Does not exist yet: v2 on mainnet (it waits for the audit), USDRIF settlement on mainnet, a mainnet Bitcoin anchor, paying customers, revenue. Judge this as pre-revenue infrastructure.

Questions are welcome here, at the Initial AMA, or on a delegate call.


Sources (retrieved 22–23 Oct 2026)

[1] DefiLlama stablecoins, Rootstock: defillama.com/stablecoins/Rootstock (USDRIF: defillama.com/stablecoin/rif-us-dollar)
[2] Blockscout stats: rootstock.blockscout.com/stats
[3] DefiLlama: defillama.com/chain/Rootstock and defillama.com/dexs/chain/rootstock; BTC price from CoinGecko
[4] 1delta Intents: gov.rootstockcollective.xyz/t/929
[5] Governance at a Glance, 6 Oct 2026: gov.rootstockcollective.xyz/t/995
[6] dev.rootstock.io/use-cases/payments-assets/integrate-x402/

1 Like

Update for delegates, and two corrections to the post above.

Already running on Rootstock testnet since August. Source: github.com/predgeAI/predge-rootstock

PredgeAgentValidator 0x7041Ed7B6D33F6A8D2605b120194645765d67a85
AgentJob 0x2Bf0EaAc5FA4EaF36AA3a55883F6ba642385690E
VerdictAnchor 0xDCf119ACd13d89F2926fF792070c6dA4d4134356

One verdict batch has been anchored end to end: root committed on Rootstock, OP_RETURN on Bitcoin testnet (block 5124111), anchor recorded back on Rootstock in tx 0xddd51a0307824cd411b9e9bbccd3ba3198cf3d27b1df6e6f5558f8d2565c6874.

Corrections. “Nothing is deployed to Rootstock yet” should read “nothing on Rootstock mainnet yet”. KYC was submitted via Persona on 7 October and is awaiting confirmation; it is not completed.

A revised milestone table aligned with Grants Guidelines V3.2 will follow after first feedback.

Two questions for delegates: should jobs settle in USDRIF by default, or in rBTC? @JuanRah, is the Kleros arbitrator on Rootstock mainnet the right escalation target for a contested verdict?

Update, 24 Oct, with one correction to the proposal above.

  • External pre-audit scan of v2 is done (Olympix, automated, at no cost to this grant). Every confirmed finding is fixed, each with its own regression test. In their mutation run our test suite killed 203 of 211 mutants; the remaining non-equivalent ones are now covered too.
  • One design change came out of it: the contract now rejects a job verdict that contradicts the on-chain evidence (the deliverable hash against the test the client committed up front). A false verdict can’t be recorded at any bond size. Refund rulings stay disputable by the other party during the window, and a contested one escalates to Kleros.
  • Correction: where the proposal says v2 “is not deployed”, read “not deployed on Rootstock”. v2 goes to Rootstock mainnet only after the full audit (M2). The M2 adversarial cycle therefore means: a false job verdict rejected on-chain, and a disputed refund ruling frozen and escalated, with tx hashes published.

Happy to walk anyone through the findings and the fixes here or on a call.

Small correction on 1delta Intents in the demand section. Achim from 1delta pointed out that their fills settle atomically: the settlement contract checks the signed minimum and deadline in the same transaction, so a fill can’t land on worse terms and there’s nothing to recourse afterwards. He’s right, and our “fill delivered at quoted terms” line was wrong.

The fit we’re exploring with them now is on the orderbook side: a signed, offline-verifiable attestation that a resting order is funded and executable at a given block. 1delta stays listed for context only, not as a partner.

1 Like

Interesting proposal, especially the approach of defining acceptance criteria before a payment is made.

From the perspective of someone running a business in Japan, I think one important challenge is making those criteria clear enough for both parties to understand.

In real business transactions, disagreements sometimes happen not because work was never delivered, but because the buyer and service provider have different expectations about what counts as completion.

Are you considering providing standard acceptance-test templates or practical guidelines to help smaller businesses define these conditions before using Predge?

I think this could make the system more accessible to businesses without technical or smart contract expertise.

1 Like

Thanks IBUKI, that’s exactly the hard part. You’re right that most disputes are about “what counts as done”, not about nothing being delivered.

Two things we do about it. First, the checks are deliberately boring and objective: HTTP status, content type, required fields, a JSON schema, an expected file hash, a time limit. Both sides see the exact test before any money moves, so there is little room to read it differently later. Second, yes: we’ll add ready-made templates for the common cases (a paid API call, a data file, a report delivered by a date), written in plain language with the technical version generated from it. A small business picks one, adjusts two or three fields, and doesn’t need to touch a contract.

Where the question really is subjective (quality, taste), a deterministic test can’t settle it, and that’s where escalation to Kleros comes in.

I’ll add the templates to Milestone 1 so delegates can hold us to it. If you have a typical case from your business in Japan, I’d be glad to use it as one of the first templates.

1 Like

Hi @predge, thanks for the proposal, the updates and the transparency. I appreciate that you clearly separate what exists from what doesn’t, and that you disclose the incidents and the pre-revenue status. The underlying problem (no recourse when a final payment on Rootstock isn’t fulfilled) is real, and the design with non-upgradeable contracts, on-chain caps, deadline refunds and an audit paid directly to the auditor is sound.

That said, I have a few concerns, ordered from most to least important.

1. Security and keys

  • What was the scope of the October 21 breach? Could the key have been exposed before it was rotated? What is the status of verdicts signed with the previous key?
  • Thanks for the Olympix update and the mutation results. Could you publish the scan report and the full list of findings (v1 and v2) before the vote, and not only alongside the audit scope? Also, the new on-chain check that rejects contradicting verdicts came out of the scan: was that new code re-scanned, and will it be in the audit scope?
  • On the design change: what exactly does the contract verify on-chain? Comparing a deliverable hash against the committed test is not the same as executing the test. Who runs the deterministic test, and can a third party reproduce it without trusting Predge? Verdicts still depend on a single signing key, so will there be on-chain rotation with a timelock or multisig after v2?

2. Demand
Today the only signal is the inbound contact from Kleros, and none of the 12 projects contacted have replied. I suggest that at least one scope sign-off from an independent counterparty be a condition before the vote, not just before the AMA. The “public reference integration” fallback is in practice a self-integration, so it shouldn’t count as validated demand.

3. Metrics and the adversarial cycle
Several metrics can be moved by the team itself: recorded verdicts, wallets with repeat activity, USDRIF settled, and challenged verdicts (whose challenger funds come out of the budget). How will founder, associate and pilot wallets be excluded? Who verifies this independently? Measuring by unique, independent counterparties would be more robust. With the new design, the M2 adversarial cycle (a false job verdict rejected on-chain) is something the team can stage on its own, so it demonstrates the mechanism but not real adversarial pressure. How does this change the “verdicts challenged by third parties” metric, given that false job verdicts can no longer be recorded? I also have trouble seeing the 2.0x: the 70,000 USDRIF of cumulative volume is presented as ecosystem value, but settled volume is not the same as value created.

4. Kleros and dispute economics
Before answering whether the Kleros arbitrator on Rootstock mainnet is the right target, could you share the arbitrator proxy and Reality.eth addresses and confirm they are deployed and operational there? Also, with jobs averaging around 47 USDRIF (70,000 / 1,500), wouldn’t arbitration costs and Reality.eth bonds exceed the value of the job? What is the minimum amount at which escalation makes economic sense?

On your question about the default asset: I would go with USDRIF by default and rBTC as an option, since the grant is justified on USDRIF demand and circulation.

5. Audit
The 9,000 USD estimate is below Coinspect’s range (10 to 15k USD), and v2 has changed since the first draft. If all quotes exceed the estimate, cutting scope on contracts that hold funds is delicate. What would be cut, and will the auditor be engaged before M1 or only at code freeze?

6. Timeline, structure and differentiation

  • There are no dates per milestone. How many weeks do you estimate for each? You mention a revised table aligned with Grants Guidelines V3.2, while the proposal cites V3.3. Which version applies?
  • The 25,000 USDRIF cap over 90 days matches the terminal USDRIF settled target exactly. Is it a cumulative cap or a simultaneous exposure cap?
  • With no incorporated entity and KYC still pending, is there a maximum deadline to complete both before the first disbursement?
  • On the “other non-dilutive support”, could you clarify who it comes from and confirm there is no overlap with rsk-l402, the offline verifier or the contracts?
  • What does Predge offer compared to combining an existing escrow with Kleros directly?

Suggestions

  • Have the first disbursement cover only M1 and the audit, with M2 and M3 released once the audit report is published and at least one independent sign-off is in place.
  • Publish the two audit quotes, the Olympix report, the per-milestone timeline and the v1 findings before the vote.
  • Redefine the metrics to exclude team-linked wallets and not count self-funded challenges.

Overall, I find this an honest and technically serious proposal, but it arrives early on demand validation and with a recent security record that needs more evidence. The Olympix results and the on-chain check are a good step. With payment tied to the audit and to a real independent integration, the risk to the Collective drops considerably. Looking forward to your answers.

1 Like

Thanks, predge! I appreciate your willingness to consider a real-world example from Japan.

I run a demolition business, and one issue I’ve personally experienced is repeated payment delays between companies, even after the agreed work has been completed.

Here’s a practical use case that could be useful for a future template.

In construction and demolition contracts, payments can be divided into three stages:

  • 30% upfront
  • 20% at an agreed construction milestone
  • 50% after final completion and inspection

Rather than requiring the full amount upfront, the client could deposit funds into a smart contract in stages.

The original contract would clearly define each deposit deadline, payment condition, and approval process.

Importantly, the funds for each stage should be secured before the contractor proceeds with the corresponding work. If a deposit is delayed, the contract could allow the next stage of work to be suspended.

Photos, inspection records, and completion reports could support verification, but human approval would still be necessary.

I understand this may go beyond Milestone 1, but I believe staged payment protection could be a valuable future B2B use case.

The real goal is to protect both parties while preventing repeated payment delays.

Do you think PREDGE could eventually support this type of staged escrow and milestone-based payment system?

2 Likes

I think this is an interesting idea, but I still think there are things we need to see in practice before we can know how useful it will really be.

For me, fairness on both sides is very important. If a buyer says the work was not delivered correctly, the person who did the work should also have a fair chance to explain their side. At the same time, buyers need a way to challenge the result if the service was not delivered as agreed.

The dispute process and the option to escalate contested rulings to Kleros are important parts of the proposal. But what matters most is how this works in real situations, especially when both sides disagree and believe they are right.

I also think we need to see if people in the Rootstock ecosystem actually need and will use this solution. The technical side is important, but real use cases will help show if it solves a problem people really have.

I see potential here, but I would like to see how these things work in practice before forming a stronger opinion about its impact.

2 Likes

Thanks @Seviramar, honestly the most useful review we’ve had so far. I’ll go point by point. Where something isn’t done yet I’ll just say so.

Quick update first: yesterday I had a call with the RootstockCollective team. Two things came out of it that shape the answers below. We follow Grant Guidelines V3.3 and its milestone structure (the “V3.2” in my reply #2 was my mistake). And demand has to be validated by an independent Rootstock team, so that’s where my time goes now. I shared the slides and the full validation stats with the Collective team, happy to share them with any delegate who wants them.

1. Security and keys

On 21 Oct our hosting provider disclosed that someone had accessed customer environment variables. We treated everything stored there as leaked, including the ed25519 key that signs verdicts. I can’t prove the key wasn’t read before we rotated it, so we assume it was.

  • New key 3b6551a6…9d1b is active. The old one 13fa3d18…52d9 is marked revoked in https://api.predge.io/.well-known/predge-keys.json, with revoked_at set to 21 Oct 00:00 UTC (start of that day, not the time we rotated).
  • Every signature under the old key now fails on /verify with key_revoked, no matter when it was made, because a leaked key can backdate. Records anchored outside our servers before 21 Oct (on-chain records, the Bitcoin testnet anchor from #2) can still be checked against those anchors.
  • The Rootstock mainnet contracts were deployed on 23 Oct, after the rotation. They’ve never recorded a verdict and hold nothing.
  • The other secrets stored there are being rotated too. The incident write-up will list what was rotated and when.

Olympix: yes, before the vote we’ll publish our finding-by-finding response (17 findings: 10 fixed with a regression test each, 7 by design with the reason, 0 disputed), their report itself if Olympix is ok with it, and the v1 findings from our own 20 Oct review.

The new check that rejects contradicting verdicts was written after their scan, so it hasn’t been scanned by them yet. We’ll ask for a re-scan of the frozen commit 013ad4c and post the result. On our side it’s covered: 152/152 tests, 100% line and branch coverage on contracts/v2, plus fuzz and invariant tests. And yes, it’s in the audit scope.

What the contract actually checks. You’re right, comparing a hash isn’t running a test. How it works: the client commits the expected result when the job is created (the operator can’t touch it), the provider submits the actual output bytes, the contract hashes them on-chain, and recordScore only accepts a pass if they match and a fail if they don’t. Anything else reverts with VerdictContradictsEvidence. So for exact-output tests the contract is the judge and nobody has to trust us.

Most useful tests aren’t an exact hash though (HTTP status, content type, required fields, schema, time limit). Those run off-chain in our evaluator and the signed result says which committed test ran on which input. They’re deterministic, so anyone with the test and the output gets the same answer. Today the offline verifier only checks the signature and the key status. Making it re-run the committed test, so a third party can reproduce the verdict and not just check our signature, goes into M1. Until then the honest answer is: you can catch us if we sign something we didn’t run, but you can’t stop us signing. That’s exactly why contested rulings escalate to Kleros.

Key rotation: in v2 owner and operator are separate. Owner is two-step, can’t be renounced, and is the only one who can rotate the operator. On Rootstock the owner is a 2-of-3 Safe (M2). We skipped a contract-level timelock on rotation on purpose, because in a compromise you want to swap the key right away and a delay only helps the attacker. If delegates prefer, we can put a delay on the Safe for adding a key while removing one stays instant. The off-chain key gets its rotation/revocation record in RNS in M1.

2. Demand

Agree on both. One written scope from an independent Rootstock team becomes a condition before the vote, not just before the AMA. And we drop the “public reference integration” as demand evidence, it stays only as a technical deliverable.

Where it stands:

  • 1delta: their fills are atomic so they don’t need a delivery verdict (see #4). What Achim pointed to is proving that resting orders are funded and executable. We built a prototype that reads their live Rootstock contracts read-only and signs a per-order record pinned to a block, and yesterday sent them a written, non-binding scope for a free 2-week integration. Not a partner unless they agree, and I’ll only post it here with their OK.
  • Kleros reached out on 22 Oct about reviewing challenged verdicts. We’re now working on a dispute policy and test cases with their team. No written scope yet.
  • The 12 teams we wrote to on 23 Oct: no replies yet, I’m following up this week. I’m also joining the Rootstock builders chat.

So demand validation is in progress, not done, and no on-chain vote without at least one written scope from an independent team.

3. Metrics

Fair. Before the vote we’ll restate the FES table: the main metric becomes unique independent counterparties, not raw counts. We’ll publish the list of team-linked wallets (deployer, owner Safe and signers, operator, the challenger wallet, any wallet we funded for a pilot) and exclude them, plus wallets they funded directly. Challenges paid from the grant budget don’t count. Dashboard queries will be public so anyone can re-run them.

On the adversarial cycle you’re right: since a false job verdict can’t be recorded anymore, M2 shows the mechanism works, not that it survives real pressure, and we could stage it alone. We’ll call it a mechanism demo and stop counting it. “Verdicts challenged by third parties” gets replaced by refund rulings disputed by an independent party.

And agreed, settled volume isn’t value created. We’ll drop the “ecosystem value” framing of the 70,000 USDRIF and report against the Collective’s own FES inputs, with volume shown separately as volume. If the Strategic tier needs a multiple, we’ll use whatever method the Grants team specifies.

4. Kleros

I don’t have confirmed addresses yet. I’ll ask Kleros and @JuanRah for the arbitrator proxy and Reality.eth addresses on Rootstock mainnet, check them on-chain and post them here before the vote. If they’re not operational there, Kleros escalation moves out of M3 and that budget line goes back unspent.

On economics you’re right, for a ~47 USDRIF job a Kleros case can cost more than the job. Escalation isn’t for small jobs. Their recourse is the deterministic check plus the deadline refund. Escalation will be opt-in per job and only above a minimum value, which we’ll set from the real cost of a case on Rootstock and publish before M3 instead of guessing now.

USDRIF by default, rBTC as an option. Agreed.

5. Audit

Both points fair. Veridise is sizing the frozen scope (013ad4c, 8 files, ~1,230 lines without mocks) and should send a written quote by Fri 30 Oct. We’ve also contacted Pruvendo, and if either can’t take the scope or the dates we’ll ask Coinspect too. Both quotes go up here before the vote.

If every quote is above 9,000 USD we won’t cut scope on anything that holds funds (job escrow, bond, refund arbiter, settlement). We’d move the difference from our own engineering lines so the total ask stays the same. The only thing that could leave scope is code that holds no funds, like the validation registry.

One note: the frozen set is native-token only. The USDRIF path, Permit2 receipts and caps are M1 work, so the final scope is 013ad4c plus that code, with its own automated scan before freeze. The auditors know this. We’d sign the engagement and book the slot before M1, and the Collective pays the auditor directly at code freeze if the Grants team confirms that’s fine.

6. Timeline and the rest

Proposed weeks, final in the restated table: M1 6 weeks from the first disbursement, audit = the auditor’s weeks + 2 weeks of fixes, M2 3 weeks after the report, M3 8 weeks, terminal M3 + 90 days.

The 25,000 USDRIF cap is an exposure cap: the contract refuses a new job if USDRIF held in open jobs would go above 25k (on top of the 1,000 per-job cap), for the first 90 days. The terminal target counts cumulative volume, so they’re independent.

KYC was submitted on 7 Oct and is with the Collective’s compliance team. We’ll incorporate before the first disbursement, and if either isn’t done within 30 days of a positive vote we won’t ask for it.

The other non-dilutive support comes from an accelerator programme we’re part of and isn’t tied to anything Rootstock. None of it pays for rsk-l402, the offline verifier, the Rootstock contracts or the audit.

Escrow + Kleros vs Predge: escrow with Kleros is the right tool when the question is subjective and the amount justifies a jury. We cover the rest: jobs with a deterministic test decided by the contract or a reproducible signed check, small jobs and paid API calls where a jury costs more than the job, and only contested rulings above a minimum go to Kleros. So it’s complementary. On Rootstock specifically: USDRIF by default, gas in RIF via RIF Relay, keys in RNS, verdict batches anchored to Bitcoin.

Your suggestions: we accept the disbursement structure. First tranche covers M1 plus the audit engagement, M2 and M3 only after the audit report is out and at least one independent written scope is in place, terminal after the post-completion review. The restated table will show the split.

Before the vote we’ll publish: the Olympix response (+ report if they agree), v1 findings, two audit quotes, weeks per milestone, restated metrics with the excluded wallets, and the 21 Oct incident write-up.

Thanks again. If it’s easier to go through any of this on a call, happy to.

1 Like

Thanks @IBUKI, that’s a really good case, and it fits better than you’d think.

30 / 20 / 50 maps to three linked payments, one per stage. Each stage is deposited into the contract before that work starts (not to the contractor, not to us), so the contractor can check on-chain that the next stage is funded before mobilising. If the deposit isn’t there by the agreed date, they can see it and pause, which is basically your “suspend the next stage” rule.

Photos, inspection records and the completion report go in as evidence (hashes on-chain, files stay with the parties). The client’s approval releases the stage. Each stage would also have a deadline rule agreed upfront so silence can’t be used to delay payment forever. To be honest, today our contracts default to refunding the buyer at the deadline, so making that rule configurable per stage is part of the template work. If the client disputes, it goes into the dispute window with the evidence already filed, and bigger amounts can escalate to Kleros.

Human inspection can’t become a fully automatic test, so here the contract handles the money side (funded upfront, deadlines, no silent delays) and the judgement stays with the parties and the arbiter if needed.

I’d like to make this one of the templates: staged payment, 3 milestones, fund before work, deadline rule per stage. If you’re up for it, I’ll send you a plain-language draft to check against how your contracts actually work.

1 Like

Thanks @Kath, agree with both, and “show it in practice” is the right bar.

On fairness: the provider is never judged just on the buyer’s word. The acceptance test is fixed before the work starts and both sides see it, so neither can reinterpret “done” later. If the buyer contests, both sides file evidence during the dispute window and a ruling has to point to evidence already filed. Either side can challenge it. If it goes to Kleros, jurors see both sides and decide under a published policy, and our own verdict is just one piece of evidence there, so they can rule against us too.

On practice, two things are moving now. With the Kleros team we’re putting together a dispute policy and test cases, including one where our own verdict is wrong and the jurors have to catch it. I’ll post the policy and the results here. And on real need: we’ve sent a written integration scope to a Rootstock team for a free 2-week integration on their live contracts, and I’m reaching out to builders directly. As I said above, no on-chain vote until at least one independent Rootstock team signs a scope.

Happy to walk you through a test case once it’s run.

Thanks, predge! I really appreciate your detailed response.

I’d be happy to review the draft and provide feedback based on my experience running a demolition business in Japan.

Payment delays are a real problem in the construction industry, so I believe this approach could have significant practical value.

I’m also developing a digital platform for the demolition industry in Japan, so I’m particularly interested in exploring how a system like PREDGE could eventually be integrated into real construction workflows.

Please feel free to send me the draft. I’d be glad to help refine it from a practical business perspective.

Looking forward to exploring this further!

Thanks @IBUKI! Posting the draft here so anyone can weigh in. Please be blunt: anything that wouldn’t work on a real job site is exactly what I need to hear.

Template: staged payment for construction / demolition work (draft v0.1)

Who: the client (pays), the contractor (does the work). Predge doesn’t hold the money and doesn’t take a side; the funds sit in a contract on Rootstock, in USDRIF.

Agreed before anything starts (signed by both sides, its hash recorded on-chain):

  • the contract price and the split, e.g. 30% / 20% / 50%
  • for each stage: what “done” means, what evidence is attached (photos, inspection record, completion report), and the date the stage must be funded
  • how long the client has to approve or dispute each stage (the review period, e.g. 7 days)
  • what happens if the client says nothing during the review period (we suggest: the stage is paid to the contractor)

Stage by stage:

  1. Funding. The client deposits the stage amount into the contract before that stage’s work starts. Anyone can see on-chain that it’s funded.
  2. Late funding. If a stage isn’t funded by its date, the contractor may pause that stage. The record shows the funding was late, so it’s not the contractor’s fault.
  3. Completion. The contractor marks the stage done and attaches the evidence. Files stay with the parties; only their fingerprints (hashes) go on-chain, so nobody can swap a photo later.
  4. Review. The client approves (money goes to the contractor) or disputes with a reason, within the review period.
  5. Silence. If the client neither approves nor disputes in time, the agreed silence rule applies.
  6. Dispute. Both sides add their evidence. A reviewer decides from the signed agreement and the evidence. For larger amounts, either side can escalate to Kleros, where independent jurors decide.

Questions for you:

  1. Is 30 / 20 / 50 typical, or does it vary a lot by job size?
  2. Who usually confirms a stage in practice: the client, a site supervisor, a third-party inspector?
  3. How long should the review period be? 7 days, 14, longer?
  4. If the client is silent, is “pay the contractor” fair in your experience, or would both sides expect something else?
  5. What evidence is normally available at each stage? Photos, inspection forms, municipal permits, waste-disposal manifests?
  6. Do your clients pay in yen today? Would a stablecoin step (yen → USDRIF and back) be a deal-breaker, or fine if someone handles it for them?

Also, you mentioned you’re building a digital platform for the demolition industry. I’d love to hear more: what it does, what it’s built on, and whether payments on Rootstock in USDRIF could make sense for it. If so, we offer a free 2-week integration where we do the work, happy to scope it together. Easiest to reach me on Telegram: Telegram: Contact @latcom

1 Like

Thanks for the detailed follow-up. I appreciate that you accepted the proposed disbursement conditions, clarified the security incident, and committed to publishing the audit quotes, findings, and revised metrics before the vote.

There are a few points I’d still like to clarify.

1. Independent demand validation

You mention sending 1delta a written, non-binding scope for a free two-week integration. Has the team accepted that scope, or is it still under discussion? I think it’s important to distinguish a proposal sent by Predge from a written commitment by an independent Rootstock team. Since demand validation is now a condition before the vote, the latter should be in place before the proposal proceeds.

2. Final audit scope and remediation

The audit scope will include the USDRIF path, Permit2 receipts, and contract-enforced caps, which are still part of the M1 development work. Can you confirm that the auditor will review the final code intended for deployment, including any changes made after the frozen commit and any fixes introduced during remediation? If material changes are made after the audit, what additional review will be required before deployment?

3. Historical verification after the key compromise

I understand why signatures from the revoked key are rejected by the current verifier. However, how will legitimate historical verdicts signed before the incident remain independently verifiable, while allowing users to identify records that may have been compromised? It would be useful to document the distinction between signature validity, key status at the time, and independently anchored evidence.

4. Maintenance and milestone verification

The budget allocates 25 hours to maintenance, monthly reports, and AMAs over the post-launch period. Could you clarify what level of maintenance is covered by those hours and how critical issues will be handled if they exceed that allocation?

I’d also suggest publishing explicit acceptance criteria for each disbursement, particularly the conditions for proceeding after the audit and for releasing the terminal tranche. The revised structure is a meaningful improvement, and making these conditions verifiable would help delegates assess the remaining risks consistently.

Thanks again for engaging constructively with the feedback.

1 Like

Thanks for the transparent proposal. Overall, I like the technical approach and how it integrates USDRIF (via Permit2), RIF Relay, and RNS, as well as the budget alignment with Guidelines V3.3.

However, I don’t agree with the current milestone structure regarding real adoption, and I have two concrete questions before supporting it:

  1. Removing the “Reference Integration” fallback (M1 & M3): You noted that out of the 12 projects contacted on Oct 23, none have replied yet, while M1 and M3 allow falling back to a self-built “public reference integration if none signs.” For a $35k grant aimed at driving real USDRIF velocity, building without confirmed third-party demand puts all the adoption risk on the DAO. Would you be willing to remove that fallback and make live third-party integrations a strict requirement to unlock M1 and M3?

  2. Unit Economics of x402 vs. Kleros & Signer Centralization: You highlight paid API calls (x402) and agentic flows as core use cases, which are typically micro-payments, while escalating disputes to Kleros via Reality.eth requires arbitration fees and bonds that cost tens of dollars. How do the unit economics work for small transactions, and how do you avoid becoming a centralized bottleneck if Predge (as a solo founder) operates the ed25519 verdict signer?

1 Like

Hi predge,

First of all, thank you for taking the time to prepare such a detailed draft.

I really appreciate that you took my suggestions seriously and developed them into a practical proposal for construction and demolition projects.

I run a demolition business in Hiroshima, Japan, and I’d be happy to share some insights based on my actual experience in the industry.

Here are my answers to your six questions.

1. Payment structure

For projects involving individual customers, a 30% upfront payment, 20% progress payment, and 50% final payment is a common structure in my experience.

However, business-to-business transactions are different.

In B2B construction and demolition contracts, payments are often processed through monthly invoicing, with payment made on an agreed date in the following month or at the end of the following month.

For larger projects, progress-based payments are also sometimes used.

I believe PREDGE would be more practical if it supported both milestone-based payments and monthly billing arrangements.

2. Who confirms completion?

In my experience, progress and completion are generally confirmed by the site manager together with the client or the client’s representative.

This can be done through an on-site inspection or by reviewing construction photographs.

For larger B2B projects involving progress payments, the site manager and the client’s representative typically verify the completed work.

It would be useful for PREDGE to record who submitted the evidence, who reviewed it, and who authorized the payment.

3. Review period

In our actual operations, we generally allow around one week for the client to review completed work.

Therefore, I believe seven days would be a reasonable default review period.

However, the period should remain customizable depending on the project and contract.

4. Automatic payment if the client does not respond

I support automatic payment under clearly agreed conditions, but I believe an additional reminder is important.

My preferred approach would be:

  • The contractor submits completion evidence.
  • The client has seven days to review it.
  • If there is no response, the system sends another notification.
  • If the client still does not respond within an additional agreed period, payment is automatically released.
  • If a valid dispute is raised within the applicable period, automatic payment is paused.

Both parties should agree to these conditions before the project begins.

This would help protect contractors from unnecessary payment delays while giving clients a fair opportunity to review the work.

5. Evidence used in demolition projects

In our demolition operations, we use all of the following types of documentation:

  • Photographs before, during, and after construction
  • Daily construction reports
  • Progress reports from the site manager
  • Asbestos-related inspection and documentation
  • Industrial waste disposal manifests
  • Records of client inspections and approvals

These documents are important for demonstrating progress, completion, and compliance.

However, some documents become available at different stages of a project.

I believe PREDGE should allow evidence requirements to be customized for each milestone.

6. Japanese yen and USDRIF payments

In Japan, construction and demolition payments are generally made in Japanese yen through bank transfers.

Ideally, customers would be able to pay in JPY while any necessary conversion or blockchain-related processes are handled behind the scenes.

However, cryptocurrency adoption among ordinary construction clients and contractors in Japan remains limited.

If customers were required to manage wallets or convert JPY into USDRIF themselves, this could become a major barrier to adoption.

For some customers, cryptocurrency-based payments may simply not be a realistic option at this stage.

I believe a simple user experience, together with appropriate regulatory compliance, would be essential for adoption in Japan.

About the demolition platform I am developing

I am currently developing a digital platform for the demolition industry in Japan together with a Japanese development partner.

The platform is intended to support:

  • Matching clients with demolition contractors
  • Estimates and project management
  • Construction progress tracking
  • Daily reports and photographic records
  • Construction-related document management
  • Vacant property management

Our long-term goal is to expand the platform throughout Japan.

We also aim to explore collaboration with local governments, particularly in areas related to vacant properties, demolition projects, and construction management.

I believe there could be interesting opportunities to connect this platform with PREDGE’s payment and verification technology.

Regarding the technical architecture, I would need to confirm the details with our development partner before providing accurate information.

Regarding your integration offer

Thank you very much for offering a free two-week integration.

I have already shared your proposal with my development partner, and I am interested in exploring the possibilities.

Before proceeding, I would appreciate more information about the technical requirements, the scope of the integration, and any potential costs or obligations after the initial two-week period.

Would it also be possible to begin with a test environment rather than processing real payments?

I believe starting with a small proof of concept would be a practical way to evaluate the technology and its potential application in Japan.

Thank you again for your thoughtful response and for considering the Japanese construction and demolition industry as a potential use case.

I look forward to continuing this discussion and exploring what we might be able to build together.

Best regards,
IBUKI

1 Like

Thanks @Seviramar, fair questions.

1. 1delta. Still in discussion, nothing signed. We sent them the scope on 27 Oct and we’re now also talking to a couple of other Rootstock teams. You’re right that a scope we sent isn’t a commitment from them. Only a written acceptance from an independent team counts, and the proposal doesn’t go to a vote until one is posted here with their OK.

2. Audit scope. Yes. The audit covers the code that actually gets deployed: the frozen commit plus the USDRIF path, Permit2 receipts and caps, and the auditor re-reviews every fix before sign-off. We deploy only the exact commit named in the final report and publish its hash with the bytecode match. If anything material changes after the report, it goes back to the same auditor as a delta review, and nothing ships to Rootstock mainnet until that review is public.

3. Old verdicts. Agreed, this needs to be written down. The verifier will report three things separately instead of one yes/no: whether the signature is valid, the key status (active or revoked, and since when), and whether there’s an independent anchor (on-chain or Bitcoin) and at what time. One honest limit: we don’t know exactly when the key could first have been read, so an anchor proves when a record existed, not that the key was safe at that moment. This goes into the incident write-up and the verifier docs.

4. Maintenance. The 25 hours are for routine work: dependencies, monitoring, monthly reports, AMAs. Critical issues (a security bug, stuck funds, a key problem) aren’t capped by that line. We fix them at our own cost and post here within 72 hours of finding one. If the fix touches a contract, it goes through the audit rule above.

Acceptance criteria. Good call. The restated milestone table will list, for each tranche, the exact conditions and how a delegate can check them (links, tx hashes, report URLs). I’ll post it here with the other documents before the vote.

1 Like

Thanks @MattSanto, both fair.

1. Fallback. Agreed for M3: the self-built reference integration goes, and M3 unlocks only with a live integration by an independent team. For M1 I’d tie it to a signed scope from an independent Rootstock team plus our own deliverables shipped and checkable, not to the partner’s go-live date, so the tranche doesn’t depend on someone else’s release calendar. Either way the line from #10 stays: no on-chain vote until that signed scope is posted here. Right now we’re in talks with several Rootstock teams, nothing signed yet, and I’ll only post one with their OK.

2. Unit economics. Small jobs never go to Kleros. Their protection is the deterministic check plus the deadline refund, which costs only gas. Kleros escalation is opt-in per job and only above a minimum value, which we’ll set from the real cost of a case on Rootstock before M3.

Centralization. Three things limit it. For exact-output tests the contract decides on its own, no signer involved. The evaluator is a parameter of each job, so the buyer picks who evaluates and Predge is one option, not a requirement. And in M1 the offline verifier re-runs the committed test, so anyone can check a verdict without trusting us, and contested ones go to Kleros. The signing key and its rotation record are published in RNS.

Thanks @IBUKI, this is exactly the kind of input I was hoping for. Real answers from a real job site beat anything I could guess.

Taking your points into the template:

  • Both payment types. Milestones for individual clients, and monthly invoicing for B2B, where each monthly invoice is reviewed like a stage.
  • Who did what. Every stage records who submitted the evidence, who reviewed it and who approved the payment.
  • Review period. 7 days by default, editable per contract. Then a reminder, then an extra agreed period, and only then automatic release. A valid dispute pauses it. Both sides agree to all of this before the project starts.
  • Evidence per milestone. Each stage lists its own required documents (photos, daily reports, asbestos records, waste manifests, client inspection), since they become available at different points.

On yen, honestly: today it settles in USDRIF, and I agree that asking ordinary clients to manage wallets would kill adoption in Japan. The realistic path is that the client pays in yen and a licensed partner handles the conversion in the background. That’s not something we solve on our own right now, so for a first test I’d leave it aside.

On your questions:

  • Test environment: yes. We’d start on Rootstock testnet with test tokens, no real money.
  • Costs and obligations: none. The 2-week integration is free, and there’s no commitment afterwards. If you ever use it in production we’d talk about pricing then, and only if it’s useful to you.
  • Technical side: your platform sends us an event when a stage is submitted and when it’s approved or disputed. We handle the contract and the evidence record. Your developer would spend a few hours wiring it up, and we do the rest.

Next step: I’ll send a one-page scope for a small PoC on your platform’s flow (one project, three stages, testnet). Happy to talk with your development partner directly. What’s the easiest way to reach you both, Telegram (Telegram: Contact @latcom) or email?

Amir

1 Like