-
Notifications
You must be signed in to change notification settings - Fork 37
Update Lazer getting started guide with JavaScript example walkthrough #843
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
Update Lazer getting started guide with JavaScript example walkthrough #843
Conversation
- Replace minimal content with comprehensive step-by-step guide - Include prerequisites, setup instructions, and code examples - Add Next Steps section linking to SVM and EVM integration guides - Reference the JavaScript example from pyth-examples repository Co-Authored-By: Jayant <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Apply prettier formatting to resolve pre-commit CI failure - Add blank lines and wrap long lines per prettier rules Co-Authored-By: Jayant <[email protected]>
# Getting Started with Pyth Lazer | ||
|
||
Please refer to the how-to guides to get started. | ||
Pyth Lazer is a high-performance, low-latency service that provides real-time financial market data. |
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.
Are we keeping the name Pyth Lazer
? or V3?
Set your Lazer access token as an environment variable: | ||
|
||
```bash copy | ||
export ACCESS_TOKEN=your_actual_token_here |
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.
Can we call it API key? or just say the user has to put the api key. Access token === API_KEY
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.
it's called an access token everywhere else
77b8cf8
to
ab0dead
Compare
231eb77
to
ab0dead
Compare
Description
Complete rewrite of the Pyth Lazer getting started documentation page. Replaced a minimal 4-line placeholder with a comprehensive step-by-step guide that walks users through setting up and running the JavaScript example for subscribing to Lazer data from the pyth-examples repository.
The new guide includes:
Type of Change
Areas Affected
/pages/lazer/getting-started.mdx
- Complete rewrite from minimal placeholder to comprehensive guideChecklist
Related Issues
Addresses user request to update the getting started page to guide users through the JavaScript example.
Critical Review Items
Internal link accuracy - Verify these relative links work correctly:
./acquire-access-token
./integrate-as-consumer/svm
./integrate-as-consumer/evm
./subscribe-price-updates
./price-feed-ids
External repository reference - Confirm the pyth-examples repository structure and examples work as described:
https://github.com/pyth-network/pyth-examples.git
lazer/js/
pnpm run start
Code example accuracy - Verify the TypeScript code snippet matches the actual working example in the pyth-examples repository
Package manager choice - Confirm that the examples repository actually uses
pnpm
rather thannpm
oryarn
End-to-end testing - Ideally test the complete workflow from cloning the repo through running the examples
Additional Notes
Contributor Information
Screenshots
The page renders correctly with proper formatting, navigation, and all Nextra components displaying as expected.