-
Notifications
You must be signed in to change notification settings - Fork 10
feat(vibenet): group validity transaction demos #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
haardikk21
wants to merge
5
commits into
validity-demo
Choose a base branch
from
validity-group-singleton-trader
base: validity-demo
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
20e5220
feat(vibenet): group validity demos; updates llms.txt
haardikk21 a7b3f2e
chore: regenerate validity agent docs
haardikk21 895470b
fix(vibenet): align validity landing with demo patterns
haardikk21 5a0801e
refactor(vibenet): rename demo to conditional swaps; updates llms.txt
haardikk21 1d75037
chore: regenerate conditional swaps agent docs
haardikk21 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import { describe, expect, it } from 'vitest'; | ||
|
|
||
| import sitemap from './sitemap'; | ||
|
|
||
| describe('sitemap', () => { | ||
| it('indexes the Validity Transactions group and its Conditional Swaps demo', () => { | ||
| const urls = sitemap().map((entry) => entry.url); | ||
|
|
||
| expect(urls).toContain('https://chain.base.org/vibenet/demos/validity'); | ||
| expect(urls).toContain('https://chain.base.org/vibenet/demos/validity/conditional-swaps'); | ||
| }); | ||
| }); |
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import type { Metadata } from 'next'; | ||
| import type { ReactNode } from 'react'; | ||
|
|
||
| export const metadata: Metadata = { | ||
| title: 'Conditional Swaps · Validity Transactions', | ||
| description: | ||
| 'Place a validity-backed swap on Vibenet that waits for a target price, then fills or expires as the market moves.', | ||
| }; | ||
|
|
||
| export default function ConditionalSwapsLayout({ children }: { children: ReactNode }) { | ||
| return <>{children}</>; | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import { ValidityDemo } from '../ValidityDemo'; | ||
|
|
||
| export default function ConditionalSwapsPage() { | ||
| return <ValidityDemo />; | ||
| } |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import { describe, expect, it } from 'vitest'; | ||
|
|
||
| import { metadata as groupMetadata } from './layout'; | ||
| import { metadata as conditionalSwapsMetadata } from './conditional-swaps/layout'; | ||
|
|
||
| describe('validity route metadata', () => { | ||
| it('names the group and nested demo independently', () => { | ||
| expect(groupMetadata.title).toBe('Validity Transactions · Vibenet'); | ||
| expect(conditionalSwapsMetadata.title).toBe('Conditional Swaps · Validity Transactions'); | ||
| }); | ||
| }); |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's keep listed:false for now