-
Notifications
You must be signed in to change notification settings - Fork 37
feat(lazer): Payload reference details #854
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
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
pages/lazer/payload-reference.mdx
Outdated
| `real_time` | Updates sent immediately when available | High-frequency trading, real-time analytics | | ||
| `fixed_rate@1ms` | Updates every 1 millisecond | Ultra-low latency applications | | ||
| `fixed_rate@50ms` | Updates every 50 milliseconds | Low-latency trading systems | | ||
| `fixed_rate@200ms` | Updates every 200 milliseconds | Standard trading applications | |
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.
We have a 1s channel now too
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.
Also real_time
updates immediately when a new price is available, no faster than 1ms and no slower than 50ms.
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.
yeah, 1s channel got added.
I have added 1s and the description in real_time.
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.
Open to change the use case
for real_time if it doesn't go well. @tejasbadadare
pages/lazer/payload-reference.mdx
Outdated
**How to Choose**: Use `evm` for Ethereum-compatible chains, `solana` for | ||
Solana, `leEcdsa` for custom implementations, and `leUnsigned` for off-chain. |
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.
I'm mention to choose the optimal signing algorithm for your use case. The formats are not blockchain specific. (We should have named this field better from the start and not mentioned specific chains.)
For example, we've used the solana
format in non-SVM blockchains since Ed25519 was the most efficient algo for that specific chain.
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.
ahh got it, can you provide details to be added to How to Choose
as in how they can decide on the basis of their use case ? so this section can be useful to the folks.
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.
I have changed the How to Choose
section specifying the details provided above, hoping that will help the users.
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.
Very nice! Tyvm 🚀
Description
Note: Will replace Lazer with Pyth Pro later on.
Type of Change
Areas Affected
Checklist
pre-commit run --all-files
to check for linting errorsRelated Issues
Closes #
Additional Notes
Contributor Information
Screenshots