Anti-Spam Relay MVP

Stop Spam with Micro-Bonds

Protect your endpoints from spam with our x402 payment protocol. Senders pay a tiny refundable bond that gets slashed if flagged as spam.

Connect Wallet

How It Works

Simple, effective spam protection using blockchain micro-payments

1. Create Destination

Set up webhook, email, or SMS endpoints with custom bond amounts

2. Pay Micro-Bond

Senders pay a tiny USDC bond (e.g., $0.005) to send messages

3. Flag or Refund

Flag spam to slash the bond, or let it refund automatically

Easy Integration

Integrate with just a few lines of code using our x402 protocol

curl -X POST https://relay.app/api/relay/send \
  -H "content-type: application/json" \
  -d '{"destinationId":"<ID>","body":{"msg":"hello"}}' -i

# -> Receives 402 with X-402-* headers
# Pay the bond, then retry:
curl -X POST https://relay.app/api/relay/send \
  -H "content-type: application/json" \
  -H "X-402-Receipt: 0x<txHash>" \
  -H "X-402-Nonce: <nonce-from-402>" \
  -d '{"destinationId":"<ID>","body":{"msg":"hello"}}'

Multiple Destination Types

Support for webhooks, email, and SMS with unified spam protection

Webhooks

HTTP POST to any URL with HMAC signature verification

Email

Send formatted emails with message content and metadata

SMS

SMS notifications via Twilio or stub provider for testing

Why Anti-Spam Relay?

Traditional spam protection methods are either too restrictive or easily bypassed

Economic Incentive

Spammers pay real money for each message, making abuse economically unviable

Refundable Bonds

Legitimate senders get their money back if not flagged as spam

No CAPTCHAs

Seamless user experience without annoying verification challenges

Configurable Windows

Set custom time windows for spam flagging (1-168 hours)

Blockchain Security

Immutable payment records and automated contract execution

Easy Integration

Simple HTTP API with x402 payment protocol support

Ready to Stop Spam?

Connect your wallet and start protecting your endpoints in minutes

Connect Wallet

© 2024 Anti-Spam Relay. Built with Next.js, Vercel, and MongoDB.