PoP

PoP brings protected checkout, seller verification and purchase-backed reviews to COD commerce.

PoP

Created At

ETHGlobal Mumbai

Winner of

Whitechain

Whitechain - Operate · Stablecoin Payments for Business 1st place

Project Description

In India, “Do you offer cash on delivery?” carries a question larger than the payment itself: if I trust you, and something goes wrong, who carries the loss? In most attempts to bridge this gap, one side ends up more protected than the other, when perhaps both should be able to protect each other. With PoP, we aim to make that possible.

A buyer finds a product on Instagram. The conversation moves to WhatsApp. There are photographs, reviews and assurances. Yet at payment, the buyer asks for COD. The seller hesitates too. Packing costs money. Shipping costs money. A refused parcel returns, but those costs do not. We kept returning to that exchange. Both sides have something worth protecting. Neither should have to build an entire system of trust before making a sale. That trust platform should be automatic and be given to them.

PoP: Proof of Purchase, brings protected checkout, merchant operations and portable reputation into one flow. Our ambition is to become a layer of trust for the Indian commerce that already happens across social platforms, especially for small businesses whose credibility has to be earned one conversation at a time. The buyer pays test USDT into a smart contract on Whitechain Sepolia. The seller’s offer commits to the purchase terms and fulfilment deadlines. At the door, the buyer provides a six-word delivery code, which confirms the handover and starts a short window to report a problem before normal seller settlement. If shipping or delivery deadlines are missed, anyone can trigger the applicable full-refund rule. Disputes have an arbiter and a timeout, so an unresolved case has a defined way forward.

For the seller, PoP becomes part of running the business. They open a shop by proving control of their social handle, currently an Instagram handle through a bio code (checked by our team, and auto-approved in demo mode on testnet), and completing a World ID uniqueness check. They receive a payment link and QR code, a dashboard to manage shipping and withdrawals, and a CSV export. Our separate demonstration merchant, Kurta Co., integrates Pay with PoP and receives signed order notifications that it checks against the chain. We also wanted a completed purchase to leave behind something more useful than a receipt. A World-verified buyer can leave one review per seller after an eligible completed order. That review becomes a read-only Arkiv entity, transferred to the buyer’s wallet and independently readable by other applications. Kurta Co. already reads those records with its own Arkiv access key. A seller’s earned reputation can reach the next storefront without asking us to open our private database.

Reviews live for about 180 days because they describe recent experience. The order history, completed-order counts, lost disputes and bans remain in the Whitechain contracts. There is room for a seller to improve, without rewriting what happened.

The current product runs on test networks with test USDT. It demonstrates protected prepayment for a market that often turns to COD for reassurance. Our broader goal is to make that reassurance available across platforms, with evidence that buyers can inspect and credibility that sellers can carry.

For us, a brand of trust begins there. A small business with less infrastructure and a large industry should be able to say “you can trust us” and give its customer a way to check regardless, and without worry.

In a nutshell, we aim to enable a thought of trust first, just because we will always have the option to.

How it's Made

We began with a practical question: when something goes wrong with an order, which promises can the software actually enforce? That question shaped the architecture. PoP is a Next.js application backed by two Solidity contracts, with separate systems for settlement, human verification and published reputation. Each has a specific responsibility in the transaction.

PoPCheckout holds the buyer’s USDT and enforces the order lifecycle. It verifies the seller-signed offer, checks the six-word delivery code against its hash, tracks ship-by and deliver-by deadlines, and handles the dispute window and arbitration timeout. When a refund becomes eligible, anyone can submit the transaction that applies the contract’s rule. SellerRegistry maintains seller registrations and bans.

We built and tested the contracts with Foundry and OpenZeppelin, using 58 tests invariant testing, then deployed them to Whitechain Sepolia and verified them on Blockscout. The checkout uses the prize-specified test USDT. Whitechain gives the buyer and merchant the same independently inspectable payment record, including what happened after the initial transfer. The application talks to the chain through viem. Supabase Postgres stores encrypted delivery details and workflow state. Merchant-facing features turn the contracts into an operational checkout: payment links, QR codes, shipping controls, withdrawals and CSV exports. Kurta Co. is our separate integration example. It adds Pay with PoP, receives signed webhooks and checks the reported order facts onchain before updating its own records. We wanted to demonstrate a merchant plugging into the system, rather than a payment flow that only works inside our own frontend.

World ID handles the points where a wallet alone does not answer the question we are asking. A vendor must prove human uniqueness to open one shop. A reviewer must be a verified human who has not already reviewed that seller. We use IDKit in staging and verify proofs on our server before allowing those actions. For reviews, World ID’s one-time-per-action model required a separate action for each seller. We store only hashes of nullifiers for duplicate prevention. The credential choice follows the product rule: we need human uniqueness to protect reputation, without collecting a passport or legal name.

Arkiv makes the resulting reviews useful beyond PoP. Our attestor creates each review as a read-only entity on Rabdi, then transfers it to the buyer through changeOwnership. Readers check the creator and read-only flag before accepting the record. Reviews expire after roughly 180 days, while permanent transaction history stays on Whitechain. Kurta Co. queries Arkiv with its own key, so displaying published reputation does not depend on our review API. Some of the most important engineering happened between these pieces. Whitechain caps eth_getLogs queries at 10,000 blocks, so we wrote a chunked log reader to keep order history and event processing working as the deployment aged. Webhook workers use PostgreSQL’s FOR UPDATE SKIP LOCKED to claim delivery jobs without competing for the same available work. Retries still need idempotent handling, because a successful request can lose its response. For the demonstration, a throwaway browser wallet and faucet-funded test assets make the flow easier to try without lengthy wallet setup.

The result connects three kinds of evidence: what the seller committed to, what happened to the payment, and which human-backed purchase supports a review. That connection is what we wanted to build. A checkout can finish a transaction.

PoP aims to make the next transaction one to trust by default.

background image mobile

Join the mailing list

Get the latest news and updates