Update Lazer getting started guide with JavaScript example walkthrough #843
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.
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.