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.
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 escrowThe product
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.
Using MergePay
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.
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.
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.
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.
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.
Why Rialo
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.
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.
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.
Be precise about the MVP
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.
The active deployment is unaudited and uses test RLO. Do not send production funds.
The current REX settlement path reads public PR, CI, and review endpoints. Authenticated private-repository settlement is outside this MVP.
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.
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 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.
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.
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.
The local signer is encrypted in this browser and limited to DevNet. Back up the wallet before moving devices.
For Rialo reviewers
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.