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

Hi Amir,

Thank you for your thoughtful and detailed response.

I really appreciate how seriously you’ve considered the practical requirements of Japan’s construction industry and incorporated my feedback into the proposed template.

I believe this kind of collaboration between real-world businesses and blockchain developers is exactly what can help bring Rootstock into practical use.

Your proposal for a two-week PoC on Rootstock testnet sounds promising, especially with no real funds involved and no commitment afterwards.

I’d be happy to review the one-page scope you mentioned and share it with my development partner in Japan.

Once we’ve reviewed the technical requirements and confirmed what’s feasible on our side, we can coordinate a direct discussion via Telegram or email.

Beyond this initial test, I’m also interested in exploring how solutions like PREDGE could eventually address real challenges in Japan’s construction industry.

For now, I think starting with a small, clearly defined PoC is the right approach.

Thank you again for being open to my input. I’m looking forward to seeing how we can develop this opportunity together.

Best regards,
IBUKI

1 Like

Thanks for the proposal @predge. One positive is that you are already trying to work with other Rootstock Collective builders rather than presenting this as a standalone product. The conversations with Kleros, 1delta, and now IBUKI are the most encouraging part of the proposal.

That said, I am still not clear on the core product or the first user it is being built for. Is Predge primarily a non-custodial milestone-payment tool, a deterministic delivery-verification layer for APIs and agents, or a dispute-escalation path to Kleros? Each is a different product with different integration requirements and economics. The original proposed 1delta use case has already changed, Kleros is not yet a confirmed integration, and the construction use case remains an early testnet discussion.

At a $35,000 strategic-tier ask, I would want to see a narrower initial use case with an independent Rootstock counterparty, a defined end-to-end payment flow, and a clear explanation of why Predge is the right solution instead of a conventional escrow or a direct Kleros integration. Although the collaboration is promising, the current scope and price point still feel ahead of validated demand.

2 Likes

Thanks @Axia, fair challenge. Short answers.

What Predge is on Rootstock: one thing. Non-custodial milestone payments in USDRIF. The money sits in a contract, not with us. Release or refund follows a signed delivery verdict checked against terms both sides fixed before paying. Kleros is the appeal path when someone contests, not a separate product.

First user: staged payments between a client and a contractor, IBUKI’s construction case. We’ve sent IBUKI a one-page PoC scope (2 weeks, testnet, no real funds), which they plan to review with their development partner in Japan.

The flow end to end:

  1. Both sides sign the terms; the hash goes on-chain.
  2. The client funds a stage in USDRIF.
  3. The contractor marks it done and attaches evidence hashes.
  4. Review window: approve → released; silence → the agreed rule; dispute → verdict.
  5. Either side contests the verdict → Kleros jurors.

Why not a conventional escrow: it needs a trusted agent who holds the money and decides. Here nobody holds it, and anyone can re-check the decision.

Why not Kleros directly: a jury for every milestone is slow and costly for small amounts, and most stages never need one. We handle the default path; Kleros handles the contested ones.

On 1delta, you’re right, their use changed to read-only checks that don’t hold funds. Kleros: we’re drafting the policy with 5 test cases; it’s not a signed integration yet.

To address the price vs. validated demand point: we’re happy to tie the final tranche to a PoC running end to end on Rootstock testnet with an independent counterparty. IBUKI is the first candidate, but it doesn’t have to be them.

1 Like

Summary
Predge requests 35,000 USD (Strategic tier) for non-custodial, disputable USDRIF payments. Funds sit in a non-upgradeable job contract and are released on a signed verdict against a pre-committed acceptance test, or refunded at the deadline. Disputes escalate to Kleros, and verdicts are anchored to Bitcoin. M1 (7,000 USD) covers mainnet verdict records, a Bitcoin anchor, RNS key records, an offline verifier, one pilot integration, and a v2 audit freeze.

Assessment

Strengths

  • Transparent about what exists and what doesn’t, including security incidents.
  • Strong user protections: contract-enforced caps, deadline refunds, no custodian.
  • Sound funding structure: audit paid directly, 30% held back against binding metrics.
  • Genuine use of RIF Relay, RNS and Permit2.

Concerns

  • No demand proven yet: no replies from 12 projects, no Kleros sign-off, and M1 can pass with a self-built reference integration.
  • 25 verdict records move no money and can be self-generated.
  • A recent hosting breach and 3 high/5 medium v1 issues are a heavy load for a solo founder, who also remains the single signer.
  • The 9,000 USD audit estimate sits below the cited Coinspect range.
  • Dispute window, bonds and Kleros fees aren’t specified.

Suggestions

  1. Reduce the M1 payout if the reference-integration fallback is used.
  2. Count only verdicts from third-party jobs toward the metrics.
  3. Publish a breach post-mortem and key-management plan (HSM or threshold signing) before the vote.
  4. Define dispute parameters and how deadline refunds interact with pending challenges.
  5. Post both audit quotes and name which scope gets cut first.
  6. Clarify the M2 multisig’s powers, publish v1 findings now, and confirm no funds flow before KYC and incorporation.

Careful infrastructure with good safeguards. Tying M1 to outside adoption would strengthen it considerably.

Thanks @predge for the detailed answers, andI’d like to commend @IBUKI for the real-word, practical input. Most points are already covered by others, so I’ll just add two, focusing on the latest change.

On the first user vs. what’s being built:

In your reply to @Axia, the first user is staged construction payments. That’s the case where Predge’s main advantage applies least. Completion is approved by people, and disputes are about photos and inspections, not a test that can be checked automatically. When the template says “a reviewer decides”, that reviewer is making a judgment call, which is close to the trusted escrow agent the proposal says it removes.

It also needs contract logic that isn’t in the frozen commit or in M1:

  • staged funding
  • client approval to release a stage
  • a silence rule that pays the contractor instead of refunding the buyer
  • a fallback for a disputed stage that never gets a ruling

These change who gets the money at the deadline, so they need to be audited. They also weaken the “if Predge stops, users lose nothing” argument.

It’s also a testnet PoC, yen settlement is still open, and the platform isn’t on Rootstock today. That’s useful for the templates, but it doesn’t meet the condition set in #10 (a written scope from an independent Rootstock team).

So which flow will this grant audit and deploy on mainnet: automatic checks for paid API and agent jobs, or staged payments approved by people? The restated milestone table, budget and audit scope should follow one of them.

On terminal tranche:

Can you confirm the testnet PoC would be an extra condition for the final tranche, and not replace the mainnet FES targets? A testnet PoC settles no USDRIF.

Looking forward to the restated table and a signed scope.

1 Like

Dropping the self-integration fallback from M3 and committing to a signed scope upfront are necessary safeguards, so I appreciate you locking those in.

That being said, a testnet PoC with IBUKI is still exploratory, not a signed production integration. To evaluate this properly, we need to know exactly what the DAO is paying to audit. If the IBUKI PoC goes ahead, does it validate your core deterministic-payment flow, or are you going to have to build out custom subjective review logic just for them? Can you share the exact boundaries of the audited grant scope clearly defined so the treasury isn’t inadvertently funding open-ended roadmap exploration.

1 Like

Thanks @iamChekwube, @ChronoTrigger and Eren_DAOplomats. One reply for all three: Chrono and Eren ask the same core question, and the answer changes parts of my answer to Chekwube.

Which flow the grant audits and deploys

One flow: automatic, deterministic checks for paid API calls and agent jobs. That’s what 013ad4c and the M1 code enforce, and it’s the only logic that holds funds under this grant.

I mixed two things in #23, and Chrono is right to separate them. IBUKI stays in this grant as the first Rootstock use case, but only for the parts that fit this flow (next section).

What the grant pays to audit and deploy on mainnet

The frozen commit 013ad4c, 8 files, 1,234 lines (mocks excluded):

  • AgentJobV2.sol: job escrow. The buyer’s funds are released on a verdict against the test committed at job creation, or refunded to the buyer at the deadline. No owner.
  • PredgeValidatorBondV2.sol: the job’s evaluator. It refuses a verdict that contradicts the on-chain evidence.
  • PredgeRefundArbiterV2.sol: refund rulings on paid calls, with a challenge window and a ruling bond.
  • PredgeSettlementV2.sol: pay-per-route receipts.
  • PredgeAgentValidatorV2.sol: validation registry. Holds no funds.
  • access/PredgeAccess.sol, access/PullCredit.sol, interfaces/IAgentJobV2.sol: roles and pull payments.

Plus the M1 code on top of it: the USDRIF payment path, Permit2 receipts and the contract-enforced caps (1,000 USDRIF per job, 25,000 USDRIF open for the first 90 days). That code gets its own automated scan before freeze, then goes to the auditor with the rest.

What’s explicitly out of scope

  • Staged funding, per-stage client approval, a silence rule that pays the contractor, and a fallback for a stage that never gets a ruling. None of this is written, audited or deployed with grant money.
  • Any subjective or human review logic. The audited contracts only enforce deterministic checks. If the evaluator is silent or the deadline passes, the buyer is refunded, every time.
  • MockRefundProtocolV2 (demo only, moves no money) and the v1 set on mainnet.
  • Any contracts built for the IBUKI PoC.

So “if Predge stops, users lose nothing” holds for the job escrow the grant deploys. The deadline refund goes back to the buyer and nobody has to approve it.

What IBUKI uses, and what it doesn’t (Eren)

What fits the audited flow: each stage is a job. The stage deliverable is checked against what was committed when the job was created (documents and their hashes, a submission deadline), and if the evaluator is silent or the deadline passes, the buyer is refunded. That’s the same contract behaviour as for API calls, with no new logic.

What doesn’t fit: a person approving a stage, photo inspections, or a silence rule that pays the contractor. Our contracts won’t decide those. Where a stage needs human judgment, it goes to Kleros as an opt-in escalation (point 4 below), the same as any other job above the minimum value. No staged-payment logic is written, audited or deployed with grant money.

The testnet PoC with IBUKI tests exactly this split. We pay for it ourselves, outside the grant budget, and its results go into the M1 integration guide.

Terminal tranche (Chrono)

Confirmed: a testnet PoC never replaces the mainnet FES targets. It settles no USDRIF, so it can’t stand in for them. I’m withdrawing the PoC as a tranche condition I offered in #23. Mainnet use by IBUKI counts toward FES only through the audited flow above, and only from wallets that aren’t team-linked.

The restated milestone table, budget and audit scope follow this one flow. The M1 pilot and the M3 integrations are independent Rootstock teams or customers with paid API calls or agent jobs. No budget line pays for staged-payment logic.

Chekwube’s six suggestions

1. Smaller M1 if the fallback is used. Agreed, and we’d go further. Since #10 the self-built reference integration no longer counts as demand anywhere. It’s gone from M3 (#19), and in M1 it stays only as a technical deliverable. If M1 is reached without a signed scope from an independent team or customer running this flow on Rootstock mainnet, 4,000 USD of the 7,000 USD M1 tranche isn’t drawn. That’s the pilot share of the “first pilot integration” line. The rest of that line pays for the USDRIF path and the RIF Relay work, which ship either way. “Independent” means none of the team-linked wallets from point 2. The restated table shows the held-back amount separately.

2. Only third-party verdicts count. Agreed. Verdicts from our own jobs, or from wallets we funded, don’t count toward any metric. The restated metrics publish the list of team-linked wallets (deployer, owner Safe and its signers, operator, any wallet we funded for a test) and exclude them, plus wallets they funded directly. The main metric becomes unique independent counterparties. Dashboard queries will be public so anyone can re-run them.

3. Breach post-mortem and key management. The write-up is drafted and will be posted before the vote, as promised in #10. What’s already public: on 21 Oct our hosting provider disclosed access to customer environment variables. We assume the verdict key was read. The old key 13fa3d18… is revoked in https://api.predge.io/.well-known/predge-keys.json from 21 Oct 00:00 UTC, and the new key 3b6551a6439b9bda is active. No contract held funds, and the Rootstock mainnet contracts were deployed on 23 Oct, after the rotation.

The key management plan:

  • By 30 Nov 2026 the verdict key moves out of the hosting environment into AWS KMS on our own account. The key is created inside KMS and can’t be exported, so a leak of environment variables can’t expose it again.
  • The key and its revocation record go into RNS in M1, so key status doesn’t depend only on our server.
  • On-chain, owner and operator are separate keys. The owner is a 2-of-3 Safe and can replace the operator immediately.
  • For exact-output tests the contract decides by itself and no signer is involved. For the rest, the M1 verifier re-runs the committed test, so anyone can catch a wrong signature.

Threshold signing for the verdict key is a fair ask. It’s not in this budget. I’d rather commit to KMS with a date now and look at threshold signing after the audit than promise it without a plan.

4. Dispute parameters. The v2 contracts already bound most of this. The Rootstock values go into the restated table.

  • Challenge window: 1 day by default on Rootstock, as in the shipped config. The contract bounds it between 1 hour and 30 days and copies it into each ruling, so it can’t change under a running dispute.
  • Resolution period after a dispute: fixed at 14 days in the contract.
  • Ruling bond: the larger of a fixed minimum and a percentage of the amount, fixed when the ruling is made. For Rootstock: minimum 0.00006 RBTC (about 5 USD), percentage 0 bps, so every ruling bond is that flat minimum. The Safe can raise them later only within the contract’s bounds, and never for a ruling already made. If a disputed ruling is overturned, the bond goes to the party who disputed.
  • Kleros fees: as in #10 and #19, escalation is opt-in per job and only above a minimum value, set from the real cost of a case on Rootstock and published before M3. If the Kleros contracts aren’t operational on Rootstock, that budget line goes back unspent.

How deadline refunds and challenges interact:

  • In a job, the deadline refund only applies when no verdict was given in time. Once a verdict is recorded, the job settles on it, so a refund can’t race a decision.
  • The arbiter won’t rule on a payment unless its lockup lasts longer than the challenge window plus the 14-day resolution period. With the default 1-day window that’s more than 15 days. So a dispute filed at the last second still has time to resolve before the money can move.
  • A dispute freezes the ruling. If it isn’t resolved before it expires, the ruling is voided and nothing is executed.

5. Audit quotes and what gets cut first. We have one written quote. It’s above the 9,000 USD line, so we’ve asked that firm for a version scoped to what goes into the first deploy, which is the scope listed above. Veridise confirmed on 26 Oct that they’re sizing the frozen scope (013ad4c, 8 files, about 1,230 lines). Both quotes go up here before the vote. There’s no vote before then anyway, since we’re also waiting on an independent signed scope.

If quotes come in above 9,000 USD, nothing that holds funds gets cut. The job escrow, ruling bond, refund arbiter and settlement contracts stay in scope. The difference comes out of our engineering lines, so the total ask doesn’t change. The only code that could leave scope is the validation registry, which holds no funds. And nothing gets added: staged payment logic stays out, as above.

6. Multisig, v1 findings, KYC.

  • The M2 owner Safe (2-of-3) can: replace the operator key; transfer ownership (two steps, can’t be renounced); decide disputed rulings as the last resort; set the challenge window and bond values for future rulings, only inside the contract’s bounds; and withdraw fees paid to us through the settlement contract. It can’t upgrade anything (there’s no upgrade path), can’t touch funds held in a job (the job contract has no owner), and can’t change the window or bond of a ruling already made. The three signers will be named before M2.
  • v1 findings: the full list is the next reply in this thread. In short: 3 high, 5 medium, 7 low, 7 informational, no critical, each with its v2 status. It’s our own review, not an independent audit. v1 holds no funds and won’t.
  • No funds before KYC and incorporation: confirmed. KYC was submitted on 7 Oct and is with the Collective’s compliance team. We incorporate before the first disbursement. If either isn’t done within 30 days of a positive vote, we won’t ask for the funds.

On Chekwube’s closing point: agreed. M1 tied to outside adoption is the direction since #10, and there’s no on-chain vote until a signed scope for this flow from an independent Rootstock team or customer is posted here with their OK.

1 Like

Predge v1 contracts: findings from our own review (20 Oct 2026) and their status in v2

Published for the RootstockCollective grant discussion, [2610 Grant] Predge — disputable USDRIF payments on Rootstock without an escrow agent — Milestone 1. List as of 28 Oct 2026.

On 20 Oct 2026 we did a manual security review of our own v1 contracts. It found 3 high, 5 medium, 7 low and 7 informational issues, and no critical ones. One high (H-03) would become critical if the arbiter were connected to a real refund protocol; in v1 it only drives a demo contract that moves no money.

This was an internal review by the founder, not an independent audit. We publish it because delegates asked to see the full list before the vote, and because v1 is what is deployed on Rootstock mainnet today.

What v1 is, and why it holds no funds

v1 is the contract set deployed on Rootstock mainnet on 23 Oct 2026 (six contracts, source verified on Sourcify). As of 27 Oct it had 0 transactions to any of the six contracts, jobCount was 0 and the combined rBTC balance was 0.

Because of the findings below, we won’t route user funds through v1. Until the audit it is used only to record verdicts, which moves no money. The fixed set (v2) reaches Rootstock mainnet only after the external audit funded by this grant.

The findings

Scope of the review: PredgeAgentValidator, AgentJob, PredgeValidatorBond, PredgeSettlement, MockRefundProtocol and PredgeRefundArbiter, compiled with solc 0.8.26.

“Fixed in v2” means fixed in the v2 code and covered by tests. None of it has been through the external audit yet.

ID Severity Contract Finding Status in v2
H-01 High ValidatorBond A verdict could be recorded before the work was submitted, and then closed out before anyone could challenge it Fixed. recordScore requires the job to be submitted first
H-02 High ValidatorBond, AgentJob The expected result was public and the deliverable was an unchecked hash: a provider could copy the expected value without doing the work, and committing after submission made the bond meaningless Fixed. The expected result is a hidden commitment set before submission, and v2.1 requires the output bytes to be hashed on-chain
H-03 High (critical with a real refund protocol) RefundArbiter After an earlier fix, a challenge could never succeed; evidence could come from any address; the refund ran before the window Fixed. Evidence is bound to the payment’s payer and payee, refunds execute only after the window, the harmed party can dispute, and the owner Safe decides
M-01 Medium all contracts with an owner One hot key held the owner, validator and operator roles, with no way to transfer ownership Fixed. Owner and operator are separate constructor arguments, two-step ownership transfer, no renounce, and the deployer holds no role
M-02 Medium ValidatorBond, RefundArbiter The penalty went to whoever called it, which allowed self-challenge and front-running and left the harmed party unpaid Fixed. In the arbiter, an overturned ruling pays the harmed party. In the v2.1 bond a false verdict can’t be recorded at all, so there is nothing to challenge
M-03 Medium AgentJob No expiry or cancel, so escrow could be locked forever Fixed. Jobs have an expiry, an evaluation window and a client refund
M-04 Medium ValidatorBond, AgentJob, AgentValidator The bond’s verdict was not tied to the job’s completion or to the registry response Fixed. The bond contract is the job’s evaluator, so its verdict moves the money
M-05 Medium AgentValidator Anyone could file a validation request, in any order Fixed. Requests are restricted to the operator (or the agent owner where an identity registry is set) and are domain separated
L-01 Low RefundArbiter Parameter changes applied retroactively and had no bounds; a huge window could block funds Fixed. Parameters are bounded and copied into each stake or ruling when it is created
L-02 Low deployment config The same minimum bond on every network, worth very different amounts Fixed. Per-network floors plus scaling with the payment size
L-03 Low ValidatorBond, AgentJob, RefundArbiter Push payments: a reverting or blocklisted recipient could force an outcome or lock funds Fixed. Pull payments everywhere, with withdrawTo to redirect
L-04 Low ValidatorBond, RefundArbiter After a role rotation, the new key could reclaim old stakes Fixed. Each stake records its staker, and funds go to that address regardless of later rotation
L-05 Low Settlement withdraw to the zero address burned funds; the event was emitted after the call Fixed. Zero address rejected, event before the call, owner-only
L-06 Low AgentValidator getSummary counted duplicate hashes Fixed. Duplicates removed, capped at 100
L-07 Low deployment tooling The deployment key was also used for operations, including in test tooling Fixed. Roles are split, and the v2 tooling refuses the v1 key and uses throwaway keys for fork tests
I-01 Info Job, Arbiter, Bond uint96 truncation of amounts (not reachable in practice) Fixed. uint256 end to end
I-02 Info several Value forced into a contract could get stuck Fixed. Solvency checks use >=, and the settlement withdraw sweeps it
I-03 Info AgentValidator, RefundArbiter No chain domain separation in request and payment ids Fixed. The request hash includes the chain id and the registry address
I-04 Info MockRefundProtocol The demo contract reports refunds while moving no money Kept, labelled demo only, out of audit scope
I-05 Info several Missing event fields Fixed. Events carry the job id, recipient and evaluator
I-06 Info several Code comments claimed properties the code didn’t have Fixed. Comments rewritten to match the code
I-07 Info all Mixed compiler versions Fixed. Every v2 file pins 0.8.26

What already holds in v2, and how we checked

  • Every finding above has a test that runs the v1 attack against v1 (where it succeeds) and against v2 (where it reverts or is harmless).
  • 152 of 152 tests pass on the code frozen for audit (commit 013ad4c), with 100% line, statement, branch and function coverage on contracts/v2.
  • An external automated scan by Olympix of v2 found 17 further issues. Our response is published separately: 10 fixed, 7 by design, 0 disputed.

What v2 deliberately leaves out

  • Subjective outcomes. Only deterministic checks (the delivered output matches what the client committed) are enforced in the contract.
  • A timelock on rotating the operator. In a key compromise the owner has to replace the key immediately, and a delay helps the attacker. A delay on adding a key can sit in the owner Safe if delegates want it.
  • Upgradeability. The contracts are not upgradeable.
  • Bounties for third-party watchers.

The USDRIF payment path, Permit2 receipts and contract-enforced caps are new M1 code. They are not covered by this review and will be part of the external audit scope.

Thank you @predge for the detailed clarification, and thanks to @ChronoTrigger, @iamChekwube, and the other contributors for raising important questions.

I appreciate the clear separation between the deterministic payment mechanisms covered by this grant and the additional functionality that construction payments would require.

As a Rootstock Ambassador in Japan and someone actively involved in the demolition and construction industry, I would like to share my practical perspective and clarify how I envision the proposed PoC.

1. The real problem: protecting both contractors and clients

In Japan’s construction industry, payment security remains a significant concern.

For example, some construction contracts use a payment structure of 30% upfront, 20% at an intermediate milestone, and 50% upon completion.

Contractors need confidence that funds will be available when agreed work is completed. Clients, meanwhile, need assurance that payments will only be released under clearly defined conditions.

My long-term interest is in exploring whether blockchain-based escrow and milestone payments can reduce these risks for both parties.

2. An important limitation of the current refund mechanism

One issue deserves particular attention.

In construction, a contractor may complete the agreed work, submit photographs and reports, and still face delayed payment because the client does not respond.

Under Predge’s current deterministic job flow, if no verdict is recorded before the deadline, the funds are returned to the buyer.

I understand why this mechanism is appropriate for the current grant scope.

However, applying the same rule directly to construction payments could leave contractors exposed to the very payment risk we are trying to address.

In the future, I believe construction-specific solutions should allow contractual options such as time-limited approval, independent third-party review, or other clearly defined dispute-resolution procedures.

I am not suggesting that these features be added to the current grant. I am highlighting a practical requirement that should be considered before any real-world construction deployment.

3. Keeping the initial PoC within the existing scope

I support starting with the deterministic functionality that Predge has already defined.

For the initial testnet PoC, I would like to explore:

  • Document commitments and verifiable hashes.
  • Clearly defined submission and evaluation deadlines.
  • Deterministic verification conditions.
  • Payment settlement and refund behavior.
  • The practical limitations of applying these mechanisms to construction workflows.

Human inspection, subjective completion approval, and construction-specific staged-payment logic should remain outside the current grant scope.

The PoC should clearly document what works today and what would require separate future development.

4. A gradual path toward practical adoption

My preferred approach is to develop this in stages.

First, establish a reliable payment-security framework with appropriate human approval where necessary.

Second, explore AI-assisted verification using site photographs, progress reports, and other construction documentation.

Third, automate processes where objective verification is genuinely possible.

I am also developing a demolition management platform in Japan, which could provide a practical environment for exploring future integration.

If the technology proves useful, I would be interested in discussing deeper technical collaboration and potential adoption within Japan’s construction industry.

For the initial PoC, USDRIF is a reasonable starting point. Longer term, Japanese yen settlement options, including possible integration with JPYC, may be worth exploring.

These are future possibilities, not commitments or additional requirements for the current grant.

5. Moving the PoC forward

I am willing to contribute practical construction workflows, example milestone structures, and operational feedback to help make the testnet PoC meaningful.

I suggest evaluating the work in three stages:

  1. Technical feasibility using Predge’s existing deterministic mechanisms.
  2. Practical compatibility with Japanese construction workflows.
  3. Potential future integration with real business operations.

Any mainnet deployment involving real funds should be considered separately, following appropriate security reviews and assessment of regulatory and operational risks.

To help move the discussion toward implementation, I have three questions for @predge:

Q1. What would be a realistic timeline for preparing and starting the initial testnet PoC?

Q2. Which technical components would Predge provide, and what specific workflows, documents, or test scenarios would you like me to prepare?

Q3. How should we document the results so that the PoC clearly demonstrates the existing deterministic functionality without being mistaken for validation of construction-specific payment features or mainnet adoption?

I believe this approach would allow us to explore a genuine industry use case while maintaining the transparency and scope discipline expected by Rootstock Collective.

My objective is not simply to demonstrate blockchain technology, but to explore whether it can eventually solve real payment problems faced by businesses.

Thank you again for the constructive discussion. I look forward to exploring the next steps.

IBUKI | Rootstock Ambassador

Thanks @IBUKI, this is exactly the scope we can run now. Your point on contractor protection is fair, and it goes in the PoC report as a documented limitation, not as something we build under this grant.

Q1. Timeline

  • By 13 Nov: the v2 job contracts (frozen commit 013ad4c) deployed on Rootstock testnet, addresses posted here.
  • By 20 Nov: the first test job runs end to end, with a public txid for each step.
  • By 4 Dec: all scenarios below done, and the report posted in this thread.

Testnet only, test tRBTC as escrow (the USDRIF path is new M1 code, so it isn’t in this PoC), no real funds. We cover the testnet costs ourselves.

Q2. Who does what

We provide: the job contracts on testnet, a small tool that hashes stage documents and commits them when the job is created, the evaluator that checks the submission against those commitments, and a page listing each job, its txids and the outcome.

From you, for one sample contract (your 30 / 20 / 50 structure is a good fit):

  • the stages and their amounts;
  • per stage, the documents a contractor would hand in (report PDF, drawing, a set of photos as files), as anonymised samples;
  • the submission deadline and evaluation window you’d consider normal for each stage.

Scenarios we’ll run, each stage as its own job:

  1. Documents submitted on time and matching the commitments: funds released to the contractor.
  2. A document missing or changed after commitment: refund to the client.
  3. Nothing submitted by the deadline: refund to the client.
  4. Documents submitted, evaluator silent: refund to the client. This one shows the contractor-side risk you described, on purpose.

Q3. How we document it

The report states up front: Rootstock testnet, deterministic checks only, no real funds. It’s not a validation of construction payment features and not mainnet adoption. It counts toward no milestone and no FES metric (as in #27).

It has two parts: what works today with the audited flow (scenarios 1–3), and what would need separate development (scenario 4, time-limited approval, third-party review, staged funding). Every claim links to a testnet txid, so anyone can check it.

If that works for you, the first useful step is the sample contract and documents for stage 1, by 10 Nov if you can.

1 Like

@predge Thank you for the detailed response and for outlining such a clear PoC plan.

I appreciate that you’ve taken the contractor-side payment risk seriously and included it as a documented limitation in the test scenarios.

The proposed timeline and division of responsibilities make sense to me.

I’m happy to move forward with the testnet PoC and contribute from the perspective of real construction and demolition operations in Japan.

I’ll work on preparing a sample contract based on the 30% / 20% / 50% payment structure, along with anonymized examples of the documents typically required at each stage.

I’ll aim to provide the initial materials for Stage 1 by November 10.

I also think it’s important that we clearly distinguish what the current system can verify from what would require additional development for real-world construction payments.

Even if this PoC identifies limitations, documenting them transparently will be valuable.

I’m looking forward to working together and seeing what we can learn from the testnet results.

Thank you again for including IBUKI in this process.

Hi @predge, thanks for narrowing the grant to one flow and for publishing the v1 review, it makes the proposal much easier to follow. The audit, demand and dispute questions are already covered by other delegates, so I’ll stay on the side of everyday people who use Rootstock apps. I’m not a developer, and that’s how I read this.

  1. I see PullCredit in the audited scope. When the deadline passes and the buyer gets the refund, does the money land in the wallet on its own, or does the buyer have to send a transaction to claim it? If it’s a claim, will apps get a simple way to remind users, so funds don’t sit there forgotten?
  2. The PoC will have a page listing each job, its txids and the outcome. Could a similar page exist on mainnet, in plain words, so a buyer who isn’t a developer can check whether their job was paid, refunded or is still open?
  3. Will the M1 integration guide and the offline verifier docs also come in Spanish and Portuguese? A big part of the Rootstock community is in Latin America, and many app builders there would read it in their own language first.
  4. Once the first paid API or agent job runs on mainnet, could you share a short video of it, from payment to release or refund? It would help non technical people understand what actually happens with their money.

Looking forward to the restated milestone table and the PoC report on 4 Dec.

Hi @predge, Nihar here from Areta Market. Thanks for the detailed proposal and for outlining your need for an audit. We’d be happy to support, as we have with many of the other requests from the ecosystem. I can help get your request live and get quotes back from a number of auditors to validate the range you suggested.

If this would be helpful, feel free to message me on Telegram at @nihar_t or post your request directly here (link - Areta Marketplace).

Hi @IBUKI, one note so you can plan: the testnet PoC goes ahead as agreed, whatever happens with the grant. The grant itself has no confirmed timeline right now, so please don’t plan around it. No costs or obligations on your side, as before.

1 Like

Hi Amir,

Thank you for the clarification.

I’m glad to hear that the testnet PoC will move forward regardless of the grant outcome.

I’m currently working on preparing the sample construction contract and supporting documents, aiming to have the initial materials ready by November 10.

I appreciate your continued support and look forward to moving forward together!

Quick update and answers.

PoC deploy is done. As promised for 13 Nov, the IBUKI testnet PoC went live on 9 Nov on Rootstock testnet: the unchanged v2.1 job escrow (AgentJobV2, 0x5eAe41E4a082e6F5fDda067535757927c2716844) plus a minimal no-objection evaluator adapter (0xc1e3259a417FD06781941cA973dB6e58274DA683). Both are verified on Sourcify (exact match). The end-to-end smoke test passed on the live testnet: 10 days of silence pays the contractor, a written objection holds the payment for review, no decision returns it to the client. The adapter is not audited and is testnet only. IBUKI sends sample files by 16 Nov, the first job runs on 20 Nov, the report comes on 4 Dec.

@Manuvegadt, thank you, these are good questions from the user side.

  1. Refunds are two steps, not automatic. After the deadline anyone can trigger the refund, which credits the buyer, and the buyer then withdraws it. We did this on purpose: a wallet that cannot receive funds can’t block anyone else’s money. Apps can show “Refund ready, withdraw” from the contract’s public credit balance, and our integration guide will include that reminder pattern.
  2. Yes. The PoC page lists each job with its txids and outcome in plain words, and we’ll keep the same page for mainnet jobs: paid, refunded or still open.
  3. The M1 guide comes in English first. Spanish and Portuguese versions of the guide and the offline verifier page will follow, since a lot of builders read those first.
  4. Yes, a short screen recording of the first mainnet job, from payment to release or refund.

@Nihar_Areta_Market, thank you. We’ll post the request on Areta once the M1 scope is confirmed, so the quotes match the final contracts.