Overview
WalPay (shown as WalP in the app) is a payment-link platform on the Flow blockchain. A seller with no storefront signs up, connects a Flow wallet and creates a branded checkout link. A buyer opens the link, pays in FLOW, and the fee and the seller's earnings are settled in one transaction.
I built it solo for the Forte Hack: the Cadence smart contract, the Node.js backend with email OTP login, and the React dashboard and public checkout pages. The contract is deployed on Flow testnet.
The challenge
Small online sellers often have no storefront, only chats and social posts. Collecting crypto from a buyer there means sharing a wallet address, working out the amount by hand and later checking that the right amount arrived.
A payment-link product also has to split money correctly. The platform's fee and the seller's earnings must both land, or neither should, and the seller needs a clear record afterwards.
The goal
Give any seller a shareable checkout link where the fee split is guaranteed by the contract.
- 01Let a seller create, share and deactivate priced payment links from a dashboard.
- 02Settle the platform fee and the seller's net amount atomically on-chain.
- 03Onboard non-technical sellers with email OTP and a connected Flow wallet.
- 04Show sellers their payments and transactions, with fiat equivalents, in one place.
The Cadence contract
The WalPay contract keeps the list of payment links and each seller's lifetime earnings. When a link is created, the contract works out the fee from the platform percentage set at deployment and stores the price and the total.
When a buyer pays, the contract checks that the amount is exactly price plus fee, then pays the fee to the platform treasury and the rest to the seller in the same transaction. It emits events for creation, deactivation and payment, and only the seller can deactivate a link.
Seller onboarding and the dashboard
Sellers register with an email, verify it by one-time code, and connect a Flow wallet. The dashboard has sections for payment links, transactions, profile, settings and an API page.
Creating a link takes a name, a price in FLOW, an optional image and a redirect URL. Images are uploaded through the backend to Cloudinary.
The buyer's checkout
The public page for a link shows the price, the fee and the seller, asks the buyer to connect a Flow wallet, and sends the pay transaction through FCL. When it succeeds, the page reports the transaction ID to the backend, which logs it, and the transaction links to the correct block explorer.
Backend and reconciliation
The backend is a small Node.js server with its own router, MongoDB storage, signed sessions with access and refresh tokens, OTP login and email notifications. It keeps payment metadata, transaction records and a cached FLOW to USD rate, so the dashboard can show fiat amounts next to the on-chain earnings the contract reports.
The repository also includes an architecture document with sequence diagrams for creating, paying and deactivating a link.
The outcome
WalPay is live on Vercel with its contract deployed to Flow testnet, and the flow from creating a link to a buyer's paid transaction works end to end. It was built in about a week and a half for the Forte Hack, and the architecture notes list webhooks, analytics and per-seller fees as the next steps rather than shipped features.


