Skip to content

Conversation

@shankars99
Copy link
Collaborator

Improved CLI and readme to walk user through creating additional spot markets for their core spot tokens while marking the limitation that we do not have an api from hyperliquid that can tell us about incomplete deployments.

Signed-off-by: shankar shankar@layerzero.org

@cursor
Copy link

cursor bot commented Jan 20, 2026

PR Summary

Improves the CLI UX and documentation for creating additional spot markets and finalizing deployments.

  • create-spot-deployment: adds --spot-index to finalize a pair directly; logs clearer intent
  • New discovery flow: if no local state, discovers network-wide pending spots via getPendingSpotPairs (from spotMetaAndAssetCtxs) and prompts selection
  • register-spot: now prints the allocated spot index and a ready-to-run finalization command
  • README updates (examples and package): expanded guidance for registering/finalizing spot pairs (incl. HYPE option), Dutch auction notes, examples, and option docs

Written by Cursor Bugbot for commit cc1d7e4. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2026

🧪 E2E Test Status

E2E tests are non-blocking and validate real blockchain interactions. Failures may occur due to network issues, RPC rate limits, or external service downtime.

Test Runs (Newest First):

  • Run #6617 - Passed - 2026-01-22 19:17 (UTC)
  • Run #6585 - Passed - 2026-01-20 02:39 (UTC)
  • Run #6576 - Passed - 2026-01-20 00:13 (UTC)

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

shankar added 5 commits January 22, 2026 19:08
Signed-off-by: shankar <shankar@layerzero.org>
Signed-off-by: shankar <shankar@layerzero.org>
Signed-off-by: shankar <shankar@layerzero.org>
Signed-off-by: shankar <shankar@layerzero.org>
Signed-off-by: shankar <shankar@layerzero.org>
@shankars99 shankars99 force-pushed the hlp/secondary-spot-markets branch from 8471d37 to cc1d7e4 Compare January 22, 2026 19:08
@shankars99 shankars99 added this pull request to the merge queue Jan 22, 2026
Merged via the queue into main with commit e18564f Jan 22, 2026
18 checks passed
@shankars99 shankars99 deleted the hlp/secondary-spot-markets branch January 22, 2026 22:18
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.

3 participants