Restrict access to the relay or on-chain marking features based on user payment (in BTMK).
| Option | Description | Tradeoffs |
|---|---|---|
| Token-based gating | Pre-pay for a time-limited access token (e.g., JWT) | Easy to revoke/manage |
| Address balance check | Require user to sign a challenge with BTMK-holding wallet | Fully decentralized |
| Per-use micropayments | Require NIP-57 zap or LN payment per event | Friction for users, harder to scale |
user_id → walletuser_id → relay_quota (N events/day)fee.xmark.cc).wallet → quota → expirySimulate a relay spam bot.
Enable fee gating and confirm: