OpenViSTAI · Agents · Blockchain · Crypto
Menu
Payments & Stablecoins

Solana X402 Payment

Solana X402 Payment is a web-based movie-streaming demo that uses x402 payments to gate premium video, with an Express server verifying transactions before serving protected content.

Independent OpenViST project profile, based on linked sources.

Solana X402 Payment — OpenViST project profile in Payments & Stablecoins.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it as a Base Sepolia development reference when prototyping x402-gated video access or adapting a protected content route.

Who it is for

  • Developers exploring x402 payment-gated video delivery.
  • Builders prototyping a paid-access flow for digital content.

Documented uses

  • Explore a checkout-to-video-access flow using x402.
  • Change the demo video source or price in the project files.
  • Study an Express protected route that verifies payment before content delivery.
Before you choose

Requirements & limits

  • The README specifies Node.js v22 or later and an EVM-compatible wallet holding Base Sepolia USDC.
  • The documented backend uses Express.js and x402-express middleware.
  • Base Mainnet configuration requires network changes, valid CDP API keys and an appropriate facilitator.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up the Base Sepolia video-paywall demo locally

Configure the documented development environment and open the app locally.

Before you start

  • Node.js v22 or later
  • An EVM-compatible wallet with Base Sepolia USDC

Steps

  1. Clone the repository and install dependencies with npm install.

  2. Rename .env.local to .env and set WALLET_ADDRESS, NODE_ENV=development and PORT=402.

  3. Request Base Sepolia test USDC through the Circle faucet.

  4. Run npm run dev and visit http://localhost:402.

Expected outcome

The development app is available locally for exploring its documented payment-gated video flow.

Guide limitations

  • The README describes Base Sepolia development and testing; it does not establish a deployed Base Mainnet configuration.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 October 2026
Original website title
Now-Or-Neverr/solana-x402-payment · Official homepage title · retained in its source language