Skip to content

Commit 0a58cb3

Browse files
committed
ux: remove ER jargon, rename to Full Pipeline Demo
- All user-facing 'ER' replaced with 'MagicBlock' - 'Pipeline Demo' → 'Full Pipeline Demo' in nav, buttons, taglines - README updated: removed Delegate to ER step, updated instruction table - Code comments left as-is (only UI text changed)
1 parent 95f76dc commit 0a58cb3

4 files changed

Lines changed: 21 additions & 21 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Trustless task marketplace on Solana where humans and AI agents post bounties, compete, and get paid via on-chain escrow.**
44

5-
Built with **MagicBlock Ephemeral Rollups** for gasless, sub-50ms bidding — ER for speed, L1 for trust.
5+
Built with **MagicBlock Ephemeral Rollups** for gasless, sub-50ms bidding — MagicBlock for speed, L1 for trust.
66

77
---
88

@@ -13,7 +13,7 @@ Poster creates job → deposits reward SOL into PDA escrow
1313
1414
PDA delegated to Ephemeral Rollup for gasless bidding
1515
16-
Workers bid on ER (sub-50ms, 0 gas) → winner selected by highest stake
16+
Workers bid on MagicBlock (sub-50ms, 0 gas) → winner selected by highest stake
1717
1818
Winner commits back to L1 → locks real SOL stake into escrow
1919
@@ -45,7 +45,7 @@ NO RESPONSE → Worker auto-claims after 1hr (claim_timeout)
4545
│ (Security + Finality + SOL Escrow) │
4646
│ │
4747
│ initialize_job → escrow reward │
48-
│ delegate_job → push to ER
48+
│ delegate_job → push to MagicBlock
4949
│ lock_stake → escrow stake │
5050
│ submit_proof → proof hash │
5151
│ settle_job → SOL transfers │
@@ -100,7 +100,7 @@ This demonstrates the real use case — one wallet posts a job, another bids on
100100
1. Connect **Wallet A** (Poster)
101101
2. Airdrop SOL if needed
102102
3. Click **➕ Post New Job (0.1 SOL)**
103-
4. Click **🔗 Delegate to ER** on the new job card
103+
4. The job is automatically opened for bidding
104104

105105
<!-- Screenshot: poster-creates-job.png -->
106106

@@ -197,8 +197,8 @@ Fgiye795epSDkytp6a334Y2AwjqdGDecWV24yc2neZ4s
197197
|---|---|---|
198198
| `initialize_job` | L1 | Create job + escrow reward SOL |
199199
| `delegate_job` | L1 | Push PDA to Ephemeral Rollup |
200-
| `place_bid` | ER | Gasless bid with stake amount |
201-
| `close_bidding` | ER→L1 | Select winner, commit to L1 |
200+
| `place_bid` | MagicBlock | Gasless bid with stake amount |
201+
| `close_bidding` | MagicBlock→L1 | Select winner, commit to L1 |
202202
| `lock_stake` | L1 | Worker deposits real SOL stake |
203203
| `submit_proof` | L1 | Worker submits proof hash |
204204
| `settle_job` | L1 | Poster issues verdict, SOL transfers |

client/src/App.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ function App() {
389389
.transaction()
390390

391391
const sig = await sendTx(connection, tx)
392-
addEvent(`Delegated → MagicBlock ER`, 'success', { txHash: sig, ms: Date.now() - start })
392+
addEvent(`Delegated → MagicBlock`, 'success', { txHash: sig, ms: Date.now() - start })
393393
setCompletedSteps(prev => new Set([...prev, 'delegate']))
394394
return 'delegated'
395395
} catch (e) {
@@ -443,7 +443,7 @@ function App() {
443443
async function stepBid(erEndpoint: string): Promise<boolean> {
444444
if (!jobPDA) return false
445445
setActiveStep('bidding')
446-
addEvent(`Bid via ER burner: ${erBurner.publicKey.toBase58().slice(0, 8)}...`, 'er')
446+
addEvent(`Bid via burner: ${erBurner.publicKey.toBase58().slice(0, 8)}...`, 'er')
447447
const start = Date.now()
448448
try {
449449
const erConn = new Connection(erEndpoint, {
@@ -780,7 +780,7 @@ function App() {
780780
</div>
781781
</div>
782782
<p className="tagline">
783-
Trustless Bounty Pipeline · Escrow-Protected · Solana L1 ↔ MagicBlock ER
783+
Full Pipeline Demo · Escrow-Protected · Solana L1 ↔ MagicBlock
784784
</p>
785785
</header>
786786

@@ -799,11 +799,11 @@ function App() {
799799
</div>
800800
<div className="explainer-step">
801801
<span className="explainer-num">2</span>
802-
<span><strong>Delegate</strong> — Push job to MagicBlock ER for fast bidding</span>
802+
<span><strong>Delegate</strong> — Push job to MagicBlock for fast bidding</span>
803803
</div>
804804
<div className="explainer-step">
805805
<span className="explainer-num">3</span>
806-
<span><strong>Bid</strong> — Worker bids gaslessly on ER (&lt;50ms, 0 gas)</span>
806+
<span><strong>Bid</strong> — Worker bids gaslessly on MagicBlock (&lt;50ms, 0 gas)</span>
807807
</div>
808808
<div className="explainer-step">
809809
<span className="explainer-num">4</span>
@@ -826,7 +826,7 @@ function App() {
826826
<span className="zone-label">L1 · Solana</span>
827827
</div>
828828
<div className="zone zone-er">
829-
<span className="zone-label">ER · MagicBlock</span>
829+
<span className="zone-label">MagicBlock</span>
830830
</div>
831831

832832
<div className="pipeline-track">

client/src/Board.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export default function Board() {
237237
async function bidOnJob(job: JobOnChain) {
238238
if (!program || !publicKey) return
239239
setActing(job.pubkey.toBase58())
240-
log(`Bidding on job #${job.jobId} via ER...`)
240+
log(`Bidding on job #${job.jobId} via MagicBlock...`)
241241
try {
242242
// Discover ER
243243
const resp = await fetch(MAGIC_ROUTER, {
@@ -247,7 +247,7 @@ export default function Board() {
247247
})
248248
const result: any = await resp.json()
249249
let erUrl = result.result?.fqdn || result.result?.endpoint
250-
if (!erUrl) throw new Error('Job not delegated to ER')
250+
if (!erUrl) throw new Error('Job not delegated yet')
251251
if (!erUrl.startsWith('http')) erUrl = `https://${erUrl}`
252252

253253
const erConn = new Connection(erUrl, 'confirmed')
@@ -262,7 +262,7 @@ export default function Board() {
262262
tx.feePayer = erBurner.publicKey
263263
tx.sign(erBurner)
264264
const sig = await erConn.sendRawTransaction(tx.serialize())
265-
log(`⚡ Bid placed on ER! stake=${(stakeAmount / LAMPORTS_PER_SOL).toFixed(4)} SOL tx:${sig.slice(0, 12)}...`)
265+
log(`⚡ Bid placed! stake=${(stakeAmount / LAMPORTS_PER_SOL).toFixed(4)} SOL tx:${sig.slice(0, 12)}...`)
266266

267267
// Auto-close bidding
268268
log('Closing bidding...')
@@ -380,7 +380,7 @@ export default function Board() {
380380
<span>🌲</span> TaskForest <span className="board-subtitle">Job Board</span>
381381
</a>
382382
<div className="board-header-right">
383-
<a href="/pipeline" className="board-nav-link">⚡ Pipeline Demo</a>
383+
<a href="/pipeline" className="board-nav-link">Full Pipeline Demo</a>
384384
<div className="board-network"><span className="dot" /> devnet</div>
385385
<WalletMultiButton />
386386
</div>

client/src/Landing.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function Landing() {
129129
<a href="#how-it-works">How It Works</a>
130130
<a href="#features">Features</a>
131131
<Link to="/board" className="nav-cta">Job Board</Link>
132-
<Link to="/pipeline" className="nav-cta">Pipeline Demo →</Link>
132+
<Link to="/pipeline" className="nav-cta">Full Pipeline Demo →</Link>
133133
</div>
134134
</div>
135135
</nav>
@@ -139,7 +139,7 @@ function Landing() {
139139
<div className="hero-content">
140140
<div className="hero-badge">
141141
<span className="badge-dot" />
142-
Built on Solana · Powered by MagicBlock ER
142+
Built on Solana · Powered by MagicBlock
143143
</div>
144144
<h1 className="hero-title">
145145
<span className="hero-line-1">A land of opportunities</span>
@@ -155,7 +155,7 @@ function Landing() {
155155
Browse Jobs 🌲
156156
</Link>
157157
<Link to="/pipeline" className="btn-secondary">
158-
Pipeline Demo ⚡
158+
Full Pipeline Demo ⚡
159159
</Link>
160160
<a href="#how-it-works" className="btn-secondary">
161161
See how it works ↓
@@ -247,7 +247,7 @@ function Landing() {
247247
<span>Delegate / Commit</span>
248248
</div>
249249
<div className="arch-card arch-er">
250-
<div className="arch-badge arch-badge-er">MagicBlock ER</div>
250+
<div className="arch-badge arch-badge-er">MagicBlock</div>
251251
<h3>Speed Layer</h3>
252252
<ul>
253253
<li>Gasless transaction processing</li>
@@ -269,7 +269,7 @@ function Landing() {
269269
bid gaslessly, prove, settle, and archive. All on devnet.
270270
</p>
271271
<Link to="/pipeline" className="btn-primary btn-lg">
272-
Launch Pipeline Demo →
272+
Launch Full Pipeline Demo →
273273
</Link>
274274
<div className="cta-links">
275275
<a href="https://github.com/jimmdd/taskforest-protocol" target="_blank" rel="noreferrer">GitHub</a>

0 commit comments

Comments
 (0)