Product walkthroughDevNet / Five steps

Code merged.Value settled.

MergePay is a Rialo-native marketplace for public GitHub pull-request bounties. Sponsors lock a PR revision, reward, deadline, and optional CI or review requirements. The PR author verifies their GitHub identity, requests a payout wallet, and gets sponsor approval before funding.

THE SHORT VERSION

A programmable escrow
for shipped code.
Autonomous settlement · onchain receipts
01 / Product

The product

A bounty that can prove why it paid.

MergePay records the bounty terms in a Rialo workflow account: repository, pull request, exact head commit, target branch, reward, deadline, and selected CI or review policy. The payout wallet remains open until the sponsor approves a contributor claim.

The PR author connects GitHub, verifies the target PR, and signs a claim with a separate receiving wallet. The sponsor reviews that onchain claim, approves the beneficiary, and funds escrow. Funding arms Rialo's native heartbeat. Payout requires a valid REX proof that satisfies every locked condition and is processed before the deadline. If a funded workflow reaches its deadline without payout, the native workflow refunds the sponsor.

02 / Workflow

Using MergePay

Five steps from PR to settlement.

01

Connect a wallet

Connect a Rialo extension or unlock the embedded DevNet wallet. Use different sponsor and contributor wallets, with enough test RLO for transactions. The sponsor also covers the reward and workflow storage.

02

Verify and create the bounty

Enter the public GitHub owner, repository, and PR number, then select Verify target to lock the head SHA and target branch. Choose the reward, future deadline, Require successful CI, and Required approvals as needed. The workflow ID is generated automatically; the beneficiary stays open.

03

Claim the PR

The PR author connects GitHub and the receiving wallet, then selects Verify PR. The app matches the authenticated numeric GitHub user ID to the PR author and issues a short-lived, one-time authorization. Sign the claim before the bounty deadline; a session, wallet, or target change requires fresh verification.

04

Review, approve, and fund

The sponsor page discovers confirmed claims and shows the identity, wallet, exact terms, claim PDA, and source transaction. It rechecks the public PR author before approval. Choose explicitly if several claims match. Approval locks the beneficiary; funding is a separate transaction. Both must finish before the deadline.

05

Watch and verify

Rialo checks after funding. Payout needs matching head SHA and branch, a merged PR, any selected CI and approval requirements, and a valid proof processed before the deadline. Otherwise, an unpaid funded workflow is refunded after expiry. The visible detail page refreshes decoded state; the separate Settlements page shows only confirmed paid or refunded outcomes.

Plan around the deadline. It is an absolute time selected when creating the bounty; funding does not restart it. The form uses your browser's local time zone, and the workflow stores a Unix timestamp. Allow time for claim, approval, funding, CI, and REX processing. Merging before the deadline alone does not guarantee payout if the proof callback arrives after it.

03 / Rialo

Why Rialo

The chain is part of the verification loop.

REX checks external conditions

The custom REX verifier reads public GitHub PR, CI, and review evidence. The program requires all outputs in the received REX report to be usable and identical, then validates the compact proof against the locked policy. A private payout server cannot authorize settlement.

Escrow is program state

Bounty terms, the approved beneficiary, claim records, observed proof, and settlement flags live in Rialo accounts. Native timers keep the funded workflow running without an open browser. Anyone with the account address can inspect its state.

Uncertainty is not a payout

An invalid or inconsistent REX result cannot authorize payment. RPC or decoder failures are surfaced in the UI; they do not themselves lock funds or stop native execution. An unpaid funded workflow remains eligible for deadline refund.

04 / Limits

Be precise about the MVP

Useful today, intentionally bounded.

MergePay is a working DevNet builder submission, not production financial infrastructure. These constraints are part of the design and should remain visible to every user and reviewer.

DevNet only

The active deployment is unaudited and uses test RLO. Do not send production funds.

Public GitHub only

The current REX settlement path reads public PR, CI, and review endpoints. Authenticated private-repository settlement is outside this MVP.

Locked revision and policy

A different head commit or target branch does not satisfy the original bounty. Create a new workflow for new terms. CI and approvals are payment conditions, not a guarantee of code quality or security.

Settlement is asynchronous

Native checks and REX callbacks run after funding, but there is no guaranteed time from merge to payout. Run check now requests a check only while the workflow is active and before expiry. Refund is available after the deadline. Neither control bypasses the program's rules.

GitHub identity scope

GitHub OAuth and the app verify the public PR author before claim and sponsor approval. These are application checks, not an onchain identity attestation. The program enforces sponsor authority, matching terms, and the beneficiary lock. No repository write access is requested.

Rialo and GitHub are dependencies

GitHub or REX failures can prevent a valid payout proof. RPC or decoder failures can delay what the UI displays. Neither a page error nor an old displayed proof establishes the current onchain outcome.

Storage balance remains

Settlement pays or returns the bounty principal. It does not close the workflow account or return its remaining storage balance; transaction and storage costs are separate from the reward.

Embedded wallet is browser-local

The local signer is encrypted in this browser and limited to DevNet. Back up the wallet before moving devices.

05 / Review

For Rialo reviewers

Everything important is inspectable.

Use the app as a live walkthrough, then inspect the same facts from the chain. The current program, real transaction activity, workflow decoder, and terminal states are all exposed without a simulated success layer.

Live wallet-scoped activity
Wallet-scoped paid/refunded history
Policy-checked payout and deadline refund
Inspectable payout and refund outcomes
ACTIVE MARKETPLACE PROGRAM