Contract Details
Tech Stack
TypeScript Express Stripe SDK ethers.js
Chains
Ethereum Arbitrum Base Optimism Polygon
Description
Stripe-to-crypto bridge service for purchasing subscription NFTs with credit/debit cards. Handles Stripe checkout, crypto minting, webhook verification, and receipt generation. Users pay in fiat, receive NFT.
Features
- ✓ Stripe Checkout integration for fiat payments
- ✓ Automatic NFT minting after payment confirmation
- ✓ Webhook signature verification
- ✓ Idempotent payment processing
- ✓ Receipt generation with on-chain tx links
- ✓ Multi-currency support (USD, EUR, GBP)
- ✓ Refund handling with NFT burn
- ✓ Express API with full TypeScript types
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Fiat Onramp Bridge /// @notice Stripe-to-crypto bridge for purchasing subscription NFTs with card. contract FiatOnrampBridge { address public immutable owner; uint256 public constant VERSION = 1; event Initialized(address indexed deployer); constructor() { owner = msg.sender; emit Initialized(msg.sender); } // ... full implementation in purchased package }