You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: rewrite README — pain-point-first, four pillars balanced
- Lead with AI agent email problem (Gmail blocks, shared inbox danger, no identity)
- Four pillars: Wallet Identity, ERC-8004, Lens Social Graph, $ATTN Economy
- Use case section: sign up, A2A collab, reputation, social graph
- $ATTN moved from hero to one-of-four (not the whole story)
- Cleaner structure, less wall-of-text
Every day, 3.4 billion email accounts receive **100+ billion messages** they didn't ask for. Spam filters guess. Unsubscribe links lie. The real problem? **Sending a message costs nothing, but reading it costs you.**
5
+
Your AI agent needs its own email — but Gmail blocks bots, shared inboxes leak secrets, and without an email identity your agent can't sign up, verify, or collaborate with anything.
6
6
7
-
BaseMail flips the model: **your attention is a commodity.** Senders spend tokens to reach you. Read their email → they get a refund. Ignore it → you keep the tokens. Reply → *both of you earn a bonus*. All positive feedback, no punishment.
7
+
BaseMail gives every AI agent a real email address (`agent@basemail.ai`) backed by an onchain wallet. No passwords. No CAPTCHAs. Three API calls to get started.
8
8
9
-
For humans, it's an inbox that pays you to read. For AI agents, it's a native email identity (`agent@basemail.ai`) with a 3-call API. For the attention economy, it's a new primitive: **$ATTN tokens**.
|**Entry barrier**| High — need USDC | Zero — free drip |
27
-
|**Unread email**| Sender loses bond | Tokens → receiver |
28
-
|**Read email**| Bond returned | Tokens → sender |
29
-
|**Reply**| Bond returned | Both earn +2 bonus 🎉 |
30
-
|**Premium**| Only option | Optional USDC lane |
31
-
|**Psychology**| "Pay to play" | "Free to use, earn from attention" |
31
+
### 📄 ERC-8004 — Onchain Agent Identity
32
32
33
-
### How $ATTN Works
33
+
Every agent gets a discoverable identity via [ERC-8004](https://eips.ethereum.org/EIPS/eip-8004): a standard JSON registration file that lets any protocol resolve `agent@basemail.ai` → wallet address → capabilities. It's like DNS for agent email.
34
34
35
+
### 🌿 Social Graph (Lens Protocol)
36
+
37
+
Agent profile pages show their Lens social graph — followers, following, mutual connections. AI agents aren't just email addresses; they're networked identities with visible reputation.
38
+
39
+
### ⚡ $ATTN — Attention Economy
40
+
41
+
Spam is an economic problem, not a filtering problem. $ATTN tokens make attention a commodity:
│ "You spammed them" │── transfer ATTN ────────────>│
50
-
│ │ "Pain compensation" 💰 │
51
-
```
52
83
53
-
### Key Parameters
84
+
Full API docs: [`GET https://api.basemail.ai/api/docs`](https://api.basemail.ai/api/docs)
85
+
86
+
---
87
+
88
+
## $ATTN Token Details
54
89
55
90
| Parameter | Value |
56
91
|-----------|-------|
@@ -69,29 +104,13 @@ SENDER ESCROW RECEIVER
69
104
|--------|----------|-------------|
70
105
| GET |`/api/attn/balance`| Your balance, daily earned, next drip |
71
106
| GET |`/api/attn/history`| Transaction log |
72
-
| POST |`/api/attn/buy`| Purchase ATTN with USDC (on-chain verified) |
107
+
| POST |`/api/attn/buy`| Purchase ATTN with USDC |
73
108
| GET |`/api/attn/settings`| Your receive price |
74
109
| PUT |`/api/attn/settings`| Set receive price (1–10 ATTN) |
75
-
| POST |`/api/inbox/:id/reject`| Reject email → earn ATTN compensation |
110
+
| POST |`/api/inbox/:id/reject`| Reject email → earn ATTN |
76
111
77
112
---
78
113
79
-
## Why This Matters
80
-
81
-
Email is the oldest open protocol on the internet — and the most broken. Filters are heuristic. They can't measure *intent*. With billions of AI agents coming online, the flood is about to get 1000x worse.
82
-
83
-
$ATTN fixes this at the economic layer:
84
-
85
-
| The Problem | The Fix |
86
-
|-------------|---------|
87
-
| Sending is free → spam is rational | Senders **stake ATTN** to reach you |
88
-
| No cost to waste someone's time | Unread emails → **tokens go to receiver**|
89
-
| Legit senders treated like spammers | Read emails → **tokens refunded** to sender |
90
-
| No reward for engaging | Reply → **both parties earn bonus**|
91
-
| Sybil attacks on attention |**CO-QAF** discounts correlated senders |
92
-
93
-
**Spam becomes economically irrational. Good conversations are literally free.**
94
-
95
114
## Architecture
96
115
97
116
```
@@ -100,10 +119,10 @@ $ATTN fixes this at the economic layer:
0 commit comments