feat(vibenet): add Validity demo for conditional inclusion - #106
Draft
BrianBland wants to merge 6 commits into
Draft
feat(vibenet): add Validity demo for conditional inclusion#106BrianBland wants to merge 6 commits into
BrianBland wants to merge 6 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
🟡 Heimdall Review Status
|
1 similar comment
Collaborator
🟡 Heimdall Review Status
|
Show how a swap can wait on storage and block predicates, then land or expire on a simulated AMM, using Vibenet RPC and the existing faucet. Co-authored-by: Cursor <cursoragent@cursor.com>
Unwidened artifact ABIs so parseEventLogs can see Swap/Sync/PairCreated args, and include side on occupying-order picks so replacement analytics typecheck. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Pair each submitted JSON field with a meaning column so address, slot, mask, and bounds read as reserve and block checks. Co-authored-by: Cursor <cursoragent@cursor.com>
Denim is 200ms, so predicates and the tape need that clock. Nonceless 8130 lets several conditions sit in the Vibenet mempool without replacing each other. Co-authored-by: Cursor <cursoragent@cursor.com>
BrianBland
force-pushed
the
validity-demo
branch
from
August 28, 2026 20:45
c506946 to
0ea534c
Compare
Use the Account engine for the trader and makers, subscribe to Vibenet /ws for heads and pair logs, and keep validity submits on HTTP. Co-authored-by: Cursor <cursoragent@cursor.com>
| } | ||
| if (body.method === 'eth_subscription') { | ||
| const id = body.params?.subscription; | ||
| if (id) listeners.get(id)?.(body.params?.result); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/vibenet/demos/validitythat attaches storage and block predicates to a swap so the sequencer includes it only while those conditions hold.Note: this depends on Vibenet supporting validity transactions. All testing so far has been done on Zeronet instead.
Test plan
npx vitest run app/vibenet/demos/validity app/api/vibenet/validity app/vibenet/demos/catalogue.test.ts/vibenet/demos/validity, confirm faucet funds an empty EOA, then Deploy pool/vibenet/explorer/tx/...VALIDITY_DEMO_FUNDER_KEYis required (and the drip route is absent)