Expand description
HTML template system for x402 paywall
This module provides HTML template generation for the x402 paywall, similar to the Python implementation but using Rust’s type system.
Modules§
Structs§
- Branding
Config - Branding configuration for the paywall
- Paywall
Config - Template configuration for paywall customization
- Theme
Config - Theme configuration for the paywall
Functions§
- generate_
paywall_ html - Generate paywall HTML with injected configuration
- is_
browser_ request - Check if request is from a browser