-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
266 lines (254 loc) · 14.7 KB
/
index.html
File metadata and controls
266 lines (254 loc) · 14.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MPP.sol — Settlement layer connecting Stripe-grade payments to Solana DeFi</title>
<meta name="description" content="mppsol bridges payment intents originating in EVM L1s (Tempo, Arc, Megaeth) to atomic settlement on Solana, with on-chain Receipt PDAs proving the cross-VM flow.">
<meta property="og:title" content="MPP.sol — Settlement layer connecting Stripe-grade payments to Solana DeFi">
<meta property="og:description" content="The connector between Stripe's tradfi merchant distribution and Solana's DeFi yield distribution. On-chain primitives deployed on Solana devnet; cross-VM demo via soltempo coming in v0.2.">
<meta property="og:url" content="https://mppsol.org">
<style>
:root {
--bg: #0a0a0c;
--bg-soft: #14141a;
--bg-card: #1a1a22;
--fg: #e8e8ee;
--fg-dim: #9da0ad;
--fg-faint: #6b6e7a;
--accent: #14F195;
--accent-2: #9945FF;
--border: #2a2a36;
--code-bg: #0f0f14;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg);
font-family: -apple-system, BlinkMacSystemFont, "SF Pro", "Inter", Helvetica, Arial, sans-serif;
font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s; }
a:hover { border-bottom-color: var(--accent); }
code, pre { font-family: "SF Mono", Menlo, Consolas, monospace; }
code { background: var(--code-bg); padding: 1px 5px; border-radius: 3px; font-size: 0.92em; }
pre { background: var(--code-bg); border: 1px solid var(--border); border-radius: 6px; padding: 14px 18px; overflow-x: auto; font-size: 0.88em; line-height: 1.5; }
pre code { background: none; padding: 0; }
.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.hero { padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.brand { font-size: 0.84em; color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 700; margin: 0 0 16px; letter-spacing: -0.02em; line-height: 1.05; }
.tag { font-size: 1.25rem; color: var(--fg-dim); margin: 0 0 24px; max-width: 640px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 6px; font-size: 0.95rem; font-weight: 500; transition: transform .1s, background .15s; border-bottom: none; }
.btn:hover { transform: translateY(-1px); border-bottom: none; }
.btn-primary { background: var(--accent); color: #0a0a0c; }
.btn-primary:hover { background: #1ffaa0; }
.btn-secondary { background: var(--bg-soft); color: var(--fg); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-card); }
.badges { margin-top: 24px; display: flex; gap: 16px; font-size: 0.85em; color: var(--fg-dim); flex-wrap: wrap; }
.badges span::before { content: "✓ "; color: var(--accent); }
section { padding: 56px 0; border-bottom: 1px solid var(--border); }
section:last-child { border-bottom: none; }
h2 { font-size: 1.6rem; font-weight: 600; margin: 0 0 20px; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 10px; color: var(--fg); }
p { margin: 0 0 14px; color: var(--fg-dim); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.card h3 { margin-top: 0; }
.card p { font-size: 0.95em; }
.kbd { font-family: "SF Mono", Menlo, monospace; font-size: 0.78em; background: var(--bg-soft); padding: 2px 6px; border-radius: 3px; border: 1px solid var(--border); color: var(--fg-dim); }
.status-table { width: 100%; border-collapse: collapse; font-size: 0.92em; margin-top: 14px; }
.status-table th, .status-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.status-table th { color: var(--fg-faint); font-weight: 500; font-size: 0.82em; text-transform: uppercase; letter-spacing: 0.08em; }
.status-table .ok { color: var(--accent); }
.status-table .pending { color: #FFB800; }
.status-table .deprecated { color: var(--fg-faint); text-decoration: line-through; }
.status-table code { font-size: 0.85em; }
.tag-pill { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.75em; background: var(--bg-soft); color: var(--fg-dim); border: 1px solid var(--border); margin-right: 4px; }
.tag-pill.deprecated { color: #FFB800; border-color: #4a3a18; background: #1a1410; }
footer { padding: 40px 0; color: var(--fg-faint); font-size: 0.88em; text-align: center; }
footer a { color: var(--fg-dim); }
.ascii { font-family: "SF Mono", Menlo, monospace; white-space: pre; font-size: 0.78em; line-height: 1.4; color: var(--fg-dim); padding: 20px; background: var(--code-bg); border-radius: 6px; border: 1px solid var(--border); overflow-x: auto; margin-top: 14px; }
</style>
</head>
<body>
<div class="container">
<header class="hero">
<div class="brand">MPP.sol</div>
<h1>Settlement layer connecting<br>Stripe-grade payments<br>to Solana DeFi.</h1>
<p class="tag">
Stripe brings tradfi merchant distribution. Solana brings DeFi yield distribution. <strong>mppsol is the connector</strong> — atomic on-chain settlement for payments originating in EVM contracts.
</p>
<div class="cta">
<a class="btn btn-primary" href="#architecture">Architecture</a>
<a class="btn btn-secondary" href="https://github.com/mppsol">GitHub</a>
<a class="btn btn-secondary" href="https://github.com/mppsol/soltempo">soltempo (first consumer)</a>
<a class="btn btn-secondary" href="spec/wire.md">Spec</a>
</div>
<div class="badges">
<span>2 Anchor programs deployed on Solana devnet</span>
<span>v0.2 cross-VM demo coming via soltempo</span>
<span>Apache-2.0</span>
</div>
</header>
<section id="why">
<h2>Why this exists</h2>
<p>
<a href="https://docs.stripe.com/payments/machine/mpp">Stripe and Tempo Labs</a> shipped the Machine Payments Protocol — the IETF-draft HTTP <code>402</code> standard for machine payments. The <a href="https://github.com/solana-foundation/mpp-sdk">Solana Foundation</a> shipped <code>@solana/mpp</code> as the official Solana implementation in March 2026, covering Solana-native HTTP-402 flows in five languages.
</p>
<p>
What neither covers: <strong>payments that originate in EVM contracts and need to settle atomically on Solana with verifiable on-chain receipts</strong>. mppsol fills that gap with on-chain Anchor programs plus a Solidity contract pattern, composed over a real cross-chain bridge (Chainlink CCIP).
</p>
<p>
The distribution thesis: Stripe owns tradfi merchant distribution; Solana owns DeFi yield distribution. mppsol is the connector. <a href="https://github.com/mppsol/soltempo">soltempo</a> is the first concrete consumer — Solana DeFi yield account for Tempo merchants, demonstrating the thesis end-to-end.
</p>
</section>
<section id="architecture">
<h2>Architecture</h2>
<div class="ascii"> ┌──────────────────────┐
│ Tempo / Arc / etc. │ EVM L1 (Reth-based)
│ Solidity contract │ emits cross-VM settlement intent
└──────────┬───────────┘
│
▼
┌──────────────────────┐
│ Chainlink CCIP │ cross-chain message
└──────────┬───────────┘
│
▼
┌──────────────────────┐
│ mppsol_cpi │ atomically receives + settles
│ (Solana Anchor) │ emits Receipt PDA bound to origin
└──────────────────────┘</div>
<div class="grid-2" style="margin-top: 32px;">
<div class="card">
<h3>mppsol_session</h3>
<p>Solana Anchor program for cross-VM session payments. EVM-side payer pre-authorizes a Solana-side spending budget; off-chain debits batched and settled on-chain via Ed25519 voucher verification. <strong>Live on devnet.</strong></p>
</div>
<div class="card">
<h3>mppsol_cpi</h3>
<p>Solana Anchor program for atomic settlement. Other Solana programs CPI into it to receive cross-VM payment intents and emit Receipt PDAs that bind the settlement to its EVM origin. <strong>Live on devnet.</strong></p>
</div>
<div class="card">
<h3>Tempo Solidity contract</h3>
<p>Standardized cross-VM settlement intent emitter. Lives on Tempo (or any Reth-based EVM L1). <strong>v0.2 — coming.</strong></p>
</div>
<div class="card">
<h3>CCIP integration</h3>
<p>Bridge messaging via Chainlink CCIP — the canonical cross-chain rail Tempo activated at mainnet. <strong>v0.2 — coming.</strong></p>
</div>
</div>
</section>
<section id="relationship">
<h2>Relationship to <code>@solana/mpp</code></h2>
<p>
<code>@solana/mpp</code> owns Solana-native HTTP-402 payments. mppsol owns cross-VM settlement. They compose for users who need both.
</p>
<table class="status-table">
<thead>
<tr><th>Layer</th><th>Owner</th></tr>
</thead>
<tbody>
<tr><td>HTTP 402 wire protocol on Solana</td><td><code>@solana/mpp</code> (Foundation)</td></tr>
<tr><td>Solana payment session SDK</td><td><code>@solana/mpp</code></td></tr>
<tr><td><strong>Cross-VM settlement (EVM ↔ Solana)</strong></td><td><strong>mppsol</strong></td></tr>
<tr><td>Cross-chain messaging</td><td><a href="https://chain.link/cross-chain">Chainlink CCIP</a></td></tr>
</tbody>
</table>
<p style="margin-top: 18px;">
mppsol does not depend on <code>@solana/mpp</code> at v0.1 (on-chain Anchor programs only — no npm dependency surface). A v0.2 TS SDK will depend on it (pinned exact version, types wrapped) where the cross-VM flow needs HTTP-402 composition.
</p>
</section>
<section id="status">
<h2>v0.1 status — honest scorecard</h2>
<table class="status-table">
<thead>
<tr><th>Capability</th><th>Status</th><th>Notes</th></tr>
</thead>
<tbody>
<tr><td><code>mppsol_session</code> Anchor program</td><td class="ok">✓ on devnet</td><td>PDA escrow, Ed25519 batched settle, Open/Settle/Topup/Revoke/Close lifecycle</td></tr>
<tr><td><code>mppsol_cpi</code> Anchor program</td><td class="ok">✓ on devnet</td><td>Atomic settlement + Receipt PDA emission</td></tr>
<tr><td>Anchor tests</td><td class="ok">✓ 12 passing</td><td>Localnet integration suite</td></tr>
<tr><td>Spec documents</td><td class="pending">⚠ being rewritten</td><td>Currently HTTP-402-era; cross-VM rewrite in progress</td></tr>
<tr><td>Tempo Solidity contracts</td><td class="pending">⏳ planned v0.2</td><td>Standardized cross-VM intent emitter</td></tr>
<tr><td>Chainlink CCIP integration</td><td class="pending">⏳ planned v0.2</td><td>Bridge messaging layer</td></tr>
<tr><td>End-to-end cross-VM demo</td><td class="pending">⏳ planned v0.2</td><td>Via <a href="https://github.com/mppsol/soltempo">soltempo</a></td></tr>
<tr><td><code>@mppsol/core</code>, <code>/server</code>, <code>/agent</code> npm packages</td><td class="pending">⚠ deprecated</td><td>Use <code>@solana/mpp</code>. Packages remain published at <code>0.1.0-draft.4</code> for existing consumers.</td></tr>
<tr><td>Mainnet Anchor deployment</td><td class="pending">⏳ pending</td><td>Audit + multisig transition of upgrade authority</td></tr>
</tbody>
</table>
</section>
<section id="onchain">
<h2>On-chain (Solana devnet)</h2>
<table class="status-table">
<thead>
<tr><th>Program</th><th>ID</th></tr>
</thead>
<tbody>
<tr>
<td><code>mppsol_session</code></td>
<td><a href="https://explorer.solana.com/address/B7joeuXqPJSCTfUfMacHaWL6eseoDinV7Jxt52gVdfbi?cluster=devnet"><code>B7joeuXq...VdfbI</code></a></td>
</tr>
<tr>
<td><code>mppsol_cpi</code></td>
<td><a href="https://explorer.solana.com/address/624xoctSeGzq1TAVwZU1xbM9RozAd3xZmjPeFXrAY14j?cluster=devnet"><code>624xocts...AY14j</code></a></td>
</tr>
<tr>
<td><code>test_consumer</code> <span class="tag-pill">test-only</span></td>
<td><a href="https://explorer.solana.com/address/65ndFCiYYM3tznTg5Te1x8ALfVP7SxFEwvvUeANYy3Ex?cluster=devnet"><code>65ndFCiY...y3Ex</code></a></td>
</tr>
</tbody>
</table>
<p style="margin-top: 14px; font-size: 0.9em;">IDLs are uploaded on-chain — fetch via <code>Program.fetchIdl(programId, provider)</code>.</p>
</section>
<section id="repos">
<h2>Repositories</h2>
<table class="status-table">
<thead>
<tr><th>Repo</th><th>What it is</th><th>Status</th></tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/mppsol/spec"><code>mppsol/spec</code></a></td>
<td>This repo — cross-VM settlement spec + landing site at mppsol.org</td>
<td class="ok">active</td>
</tr>
<tr>
<td><a href="https://github.com/mppsol/cpi"><code>mppsol/cpi</code></a></td>
<td>Two Anchor programs deployed on devnet</td>
<td class="ok">active</td>
</tr>
<tr>
<td><a href="https://github.com/mppsol/soltempo"><code>mppsol/soltempo</code></a></td>
<td>First consumer — Solana DeFi yield account for Tempo merchants</td>
<td class="ok">scaffolded · v0.1 in build</td>
</tr>
<tr>
<td><a href="https://github.com/mppsol/sdk"><code>mppsol/sdk</code></a></td>
<td>TS packages — use <code>@solana/mpp</code> instead</td>
<td class="pending">deprecated</td>
</tr>
</tbody>
</table>
</section>
<section id="links">
<h2>Spec docs</h2>
<p style="margin-bottom: 18px; font-size: 0.95em;">
<em>The v0.1 specs were written for the HTTP-402-on-Solana framing and are being migrated to match the cross-VM positioning. Treat current content as historical reference until the rewrite ships.</em>
</p>
<div class="grid-2">
<a class="card" href="spec/wire.md"><h3>wire.md</h3><p>HTTP header format, both settlement schemes, Ed25519 signing.</p></a>
<a class="card" href="spec/session.md"><h3>session.md</h3><p>On-chain session program: PDA layout, instruction set, lifecycle.</p></a>
<a class="card" href="spec/cpi.md"><h3>cpi.md</h3><p>CPI primitive design + v0.1 implementation notes.</p></a>
<a class="card" href="spec/settlement.md"><h3>settlement.md</h3><p>Operator guidance: confirmation levels, batching, Token-2022.</p></a>
<a class="card" href="spec/security.md"><h3>security.md</h3><p>Threat model, replay protection, cluster confusion attacks.</p></a>
</div>
</section>
<footer>
<p>
Maintained by <a href="https://github.com/psyto">psyto</a> ·
Apache-2.0 ·
<a href="https://github.com/mppsol">github.com/mppsol</a>
</p>
</footer>
</div>
</body>
</html>