A platform for creators to sell digital content and subscription services payment via USDC and Credit Card, built on Scaffold-ETH 2.
⚠️ Test Mode InstructionsCurrently the app is in test mode, so you can test the USDC payment as well as the Card payment method: 1. For Crypto Payment: (only on local network) - Use the faucet to get some ETH - The payment will be successful but will send test ETH - ETH will be transferred on Localhost instead of USDC on live chain 2. For Credit Card Payment: (works on live demo) - Test Card Number: 4242 4242 4242 4242 - CVC: Any 3 digits - Expiry Date: Any future date 3. Development Environment: - All features run on localhost for testing - Free tier available for all integrations (Privy, Stripe, Upstash) - Perfect for testing product demand before upgrading to paid tiers
This platform enables creators to:
- Sell downloadable digital content
- Offer subscription-based services
- Receive payments in both crypto and fiat currencies
- Store user data and session management with Redis
- Scaffold-ETH 2 - Ethereum development stack
- Upstash Redis - Serverless Redis Database
-
Content Marketplace
- Upload and sell digital content
- Content preview functionality
-
Subscription System
- Time-based access control
- Recurring payment handling
- Membership benefits management
- Subscription management
-
Payment Options
- Cryptocurrency payments (USDC)
- Fiat currency integration via Stripe
- Automated revenue distribution
Before you begin, you need to install the following tools:
- Go to Privy Dashboard
- Create a new project
- Copy your
APP_ID
from the dashboard
- Create a Stripe Account
- Get your API keys from the Stripe Dashboard
- Create account at Upstash
- Create new Redis database
- Get your REST URL and TOKEN from the database details page
yarn chain
in a new terminal, run:
yarn start
Visit your app at: http://localhost:3000
# Rebuild contracts if you make changes
yarn contracts:build
# Run contract tests
yarn test
# Build for production
yarn build