Skip to content

feat(vibenet): add Race the Agent validity demo - #119

Open
haardikk21 wants to merge 6 commits into
validity-group-singleton-traderfrom
validity-conditional-withdrawal
Open

feat(vibenet): add Race the Agent validity demo#119
haardikk21 wants to merge 6 commits into
validity-group-singleton-traderfrom
validity-conditional-withdrawal

Conversation

@haardikk21

@haardikk21 haardikk21 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add /vibenet/demos/validity/race-the-agent as the second Validity Transactions demo
  • deploy a deterministic singleton withdrawal contract, fund it with 2,000,000 VIBE, and gate permissionless 1 VIBE withdrawals on one stable storage condition
  • automatically run a page-scoped condition agent that waits 2-10 seconds, opens the condition for roughly 1-2 Vibenet blocks, closes it, and repeats
  • compare repeatable ordinary withdrawals with repeatable nonce-free validity transactions pre-submitted against storage == 1
  • sample chain state every 200ms, classify EIP-8130 phase outcomes correctly, and retain live history for every attempt in the session
  • keep the layout responsive and stable in light/dark modes, including fixed guided-step heights and auto-scrolling state observations
Screenshot 2026-09-01 at 12 28 17 PM Screenshot 2026-09-01 at 12 28 21 PM

Stack

Verification

  • npm test (49 files, 331 tests)
  • npm run typecheck
  • npm run build
  • npm run docs:check
  • targeted ESLint for the new demo and shared receipt/deployment helpers
  • local HTTP 200 for /vibenet/demos/validity and /vibenet/demos/validity/race-the-agent

Notes

  • The singleton condition and withdrawal are intentionally permissionless for the demo.
  • The condition agent runs only while at least one visitor has the demo page open; it is not an always-on worker.

@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
omni-ui Ready Ready Preview Sep 1, 2026 8:56pm UTC

Request Review

haardikk21 and others added 5 commits September 1, 2026 14:58
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant