Overview
ChainCut turns raw talking-head footage into a finished, captioned 9:16 video on a creator's phone. The creator sends a client a link, the client watches a preview, asks for changes or approves, and pays in USDC on Solana.
The client's star rating and comment are written into the memo of the same payment transaction, so a creator's public reviews cannot be edited, hidden or bought. I built the whole system as a monorepo: an Expo creator app, an Express server with the editing pipeline and an x402 facilitator, and the client review web pages.
The challenge
Short-form video editors work on trust. A creator sends a cut, the client asks for changes in a chat thread, and payment and reviews live in different places. Reviews can be deleted or faked, and getting paid across borders is slow.
The project asked for something harder than a payment button: editing, approval, payment and reputation had to happen in one flow, on a phone, with no wallet setup for the creator and no SOL needed to pay.
The goal
Make one link carry a video from raw footage to a paid, reviewed job.
- 01Turn up to ten minutes of raw footage into a captioned 9:16 cut of three minutes or less, automatically.
- 02Create the creator's Solana wallet on the device at sign-up, with no connect-wallet step.
- 03Let a client preview, send timestamped comments, approve and pay from a single page.
- 04Store each rating and comment on-chain in the payment transaction so reviews are verifiable.
The editing pipeline
The server transcribes the footage with ElevenLabs Scribe to get word timestamps, then asks a Groq model which sentences to keep. Rules handle filler words, padding and the target length, which defaults to about 38 percent of the input unless the creator's note asks for something else.
FFmpeg then cuts, grades and burns in captions to produce the 9:16 video. If a key is missing or a service fails, the pipeline falls back to rules and FFmpeg silence detection instead of stopping.
A wallet created on the device
At sign-up the app generates a 12-word recovery phrase and derives a Solana wallet on the phone, using the same derivation path as Phantom so it can be imported elsewhere. The secret stays in secure storage behind a passcode or biometrics.
The wallet is also the identity: sign-in is a signed challenge that returns a token, and email is verified with a six-digit code. New wallets get a one-time devnet grant of USDC and a little SOL.
Three uses of x402
The server runs its own x402 facilitator and pays every network fee, so nobody needs SOL to pay for anything.
- 01Pay per edit: starting a render returns a 402, and the app pays $3.50 in USDC from the in-app wallet.
- 02Client pays creator: the payment goes straight to the creator's wallet, not through ChainCut.
- 03Edit API for agents: any program with a Solana wallet can buy an edit over HTTP. A demo script shows an agent doing it.
The client booth and on-chain reviews
The client opens a short link and sees a watermarked 480p preview. They can reject with timestamped comments, which triggers a second version, or approve, rate and pay.
The rating and comment are packed into the memo of the payment transaction in a fixed format. The creator's public page reads reviews back and links each one to the Solana explorer, so a visitor can check the transaction.
The outcome
ChainCut runs the full loop on Solana devnet: footage in, captioned video out, client approval, USDC payment and a review stored in the transaction. It shows an x402 facilitator built into an app server, and a mobile wallet that a creator never has to think about.


