Submitted by: AnoneMarket
Hackathon: ETHGlobal Bangkok
PR Submission : PR-Pyth-Feedback
This document provides feedback on the Pyth Network’s developer experience. We followed the bounty’s steps:
- Interacted with Pyth contracts via a dApp and the API.
- Reviewed the documentation on Pyth’s pull oracle.
- Compiled our feedback and suggestions for improvement.
- Fetched price updates using Hermes, added
0xprefix to data, calculated update fees, and updated prices on-chain. - Verified updated prices using
getPriceNoOlderThan.
We reviewed the setup guide, contract interaction, and error codes, finding them generally helpful but lacking in certain areas like error-handling.
| Area | Observation | Suggested Improvement |
|---|---|---|
| Hermes Client | Lacks error-handling examples. | Add troubleshooting examples for Hermes errors. |
| ABI Specification | Minimal ABI; missing edge cases. | Include a more detailed ABI reference. |
| Price Feed IDs | The list of feed IDs can be overwhelming. | Add a quick-start guide for common use cases. |
| Developer Flow | Manually adding 0x is prone to error. |
Automate the 0x prefix addition in the SDK. |
- Documentation: Add troubleshooting and expand examples.
- SDK: Automate data formatting and provide gas fee insights.
- Developer Experience: Improve Hermes API documentation and simplify feed ID navigation.
We submitted a PR to automate the 0x prefix addition in the SDK.
Link to PR: PR-Pyth-Feedback
Thank you for the opportunity!