Skip to content

Conversation

@a-singh09
Copy link

@a-singh09 a-singh09 commented Jul 12, 2025

Integrated Derive API websocket connection in pages:
options/page.tsx
future/page.tsx

@vercel
Copy link

vercel bot commented Jul 12, 2025

@a-singh09 is attempting to deploy a commit to the Vanna 's projects team on Vercel, but is not a member of this team. To resolve this issue, you can:

  • Make your repository public. Collaboration is free for open source and public repositories.
  • Upgrade to pro and add @a-singh09 as a member. A Pro subscription is required to access Vercel's collaborative features.
    • If you're the owner of the team, click here to upgrade and add @a-singh09 as a member.
    • If you're the user who initiated this build request, click here to request access.
    • If you're already a member of the Vanna 's projects team, make sure that your Vercel account is connected to your GitHub account.

To read more about collaboration on Vercel, click here.

@vercel
Copy link

vercel bot commented Jul 17, 2025

Unable to deploy a commit from a private repository on your GitHub organization to the Vanna 's projects team on Vercel, which is currently on the Hobby plan. In order to deploy, you can:

  • Make your repository public or
  • Upgrade to Pro. A Pro subscription is required to deploy from a private organization repository.

To read more about collaboration on Vercel, click here.

a-singh09 added 13 commits July 19, 2025 13:02
- Added OrderSigningService for handling cryptographic signing of orders using EIP-712 typed data.
- Introduced comprehensive order validation utilities in OrderValidator to ensure order parameters meet protocol specifications.
- Created interfaces for order parameters, signed orders, and validation results.
- Implemented methods for signing orders, encoding trade data, generating nonces, and validating order parameters.
- Established detailed validation checks for order size, price, instrument names, and expiry times.
- Added utility functions for quick validation and error formatting.
…uthentication flow

- Implemented a two-step authentication process: first attempting to authenticate with the EOA address, and if that fails due to "account not found", checking for existing subaccounts.

- Enhanced error handling for account creation and authentication failures, providing more context and user-friendly messages.

- Updated the session management logic to include automatic retries and improved session refresh handling.

- Introduced a new method for creating accounts via the Derive API, with detailed error handling for various failure scenarios.

- Adjusted WebSocket connection logic to include retry mechanisms and improved logging for connection states and errors.

- Added constants for REST API endpoints for better maintainability.
- Simplified the OrderErrorHandler class by removing redundant error types and methods.

- Enhanced error parsing logic to provide clearer error messages and recovery actions.

- Consolidated order validation into a single method for better maintainability.

- Updated validation error handling to include warnings for market orders.

- Improved the structure of OrderNotification to include unique IDs and timestamps.

- Added authentication step before order submission in the trading page.
@vercel
Copy link

vercel bot commented Aug 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vannafrontend ❌ Failed (Inspect) Aug 7, 2025 5:54am

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