Skip to content

feat: enhance near pyth docs #508

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

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

thisisjoshford
Copy link
Contributor

Significant enhancements to NEAR pyth oracle documentation.

  • Adds argument types and examples
  • Adds example code and external repository resources
  • Deprecates get_vaa endpoint and need to convert to hex
  • Deprecated use of near-api-js
  • Includes examples of using NEAR-CLI

Copy link

vercel bot commented Nov 21, 2024

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

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2024 6:17pm

Copy link

vercel bot commented Nov 21, 2024

@thisisjoshford is attempting to deploy a commit to the Pyth Network Team on Vercel.

A member of the Team first needs to authorize it.

`Example:`

```js
const axios = require("axios");
Copy link
Contributor

@ali-behjati ali-behjati Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can use the Hermes SDK here. We will update it later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually tried using the SDK but was getting 404 errors when using the hermes-beta base URL for testnet. Is that endpoint supported?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just tried this example with it and it worked. We will try it separately later and fix any issues that arise.

@ali-behjati
Copy link
Contributor

@thisisjoshford really appreciate your contribution! great improvements.

@ali-behjati ali-behjati merged commit aa5c05e into pyth-network:main Nov 26, 2024
4 of 5 checks passed
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.

2 participants