This serves as a demo for testing out endpoints by adding an x402 enabled paywall
A full-stack Next.js application for managing crypto payments and invoices using Coinbase's infrastructure.
- Git
- Node.js (v22 or higher)
- Upstash
Create a .env file in the root directory and fill in the variables:
mv .example.env .env- Clone the repository:
git clone https://github.com/heimlabs/coinbase-x402-proxy.git
cd coinbase-x402-proxy- Install dependencies:
pnpm install-
Set up your environment variables as described above.
-
Start the development server:
pnpm devThe application will be available at http://localhost:3000.
pnpm buildTo start the production server:
pnpm start- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
