Skip to content

Conversation

masterjedy
Copy link

@masterjedy masterjedy commented Sep 1, 2025

Description

Provides short description of pyth data flow patterns used in pyth connector example and EVAA code.

Type of Change

documentation

  • New Page
  • Page update/improvement
  • Fix typo/grammar
  • Restructure/reorganize content
  • Update links/references
  • Other (please describe):

Areas Affected

price_feeds / use-real-time-data / ton.mdx

Checklist

  • I ran pre-commit run --all-files to check for linting errors
  • I have reviewed my changes for clarity and accuracy
  • All links are valid and working
  • Images (if any) are properly formatted and include alt text
  • Code examples (if any) are complete and functional
  • Content follows the established style guide
  • Changes are properly formatted in Markdown
  • Preview renders correctly in development environment

Related Issues

Closes #

Additional Notes

Contributor Information

Evaa protocol employee

Screenshots

Signed-off-by: master_jedy <[email protected]>
Copy link

vercel bot commented Sep 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Sep 6, 2025 0:46am
documentation Error Error Sep 6, 2025 0:46am

Copy link

vercel bot commented Sep 1, 2025

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

A member of the Team first needs to authorize it.

Signed-off-by: master_jedy <[email protected]>
@@ -124,6 +124,28 @@ This code snippet does the following:
4. Prepares the update data and calculates the update fee.
5. Updates the price feeds on the TON contract.

When providing Pyth data to your contract, there are typically two main scenarios: either you call a method supplying TON, or you transfer jettons.

They both are demonstrated in the [Pyth Connector example](https://github.com/pyth-network/pyth-examples/tree/main/price_feeds/ton/pyth-connector).
Copy link
Contributor

Choose a reason for hiding this comment

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

This url is giving me 404, will have to wait for this to get merged. Else we will have broken url.
image

Copy link
Author

Choose a reason for hiding this comment

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

Yes, it's not merged yet.

Copy link
Author

Choose a reason for hiding this comment

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

since the example is not merged yet I can't add links to the code, so I only described the same patterns using EVAA code samples and diagrams

Copy link
Contributor

Choose a reason for hiding this comment

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

I feel we should add links to Pyth-connector as well, that would be useful.

@@ -124,6 +124,28 @@ This code snippet does the following:
4. Prepares the update data and calculates the update fee.
5. Updates the price feeds on the TON contract.

When providing Pyth data to your contract, there are typically two main scenarios: either you call a method supplying TON, or you transfer jettons.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we refer to the exact connector code block that shows these two scenarios ? That would help folks in better understanding.

Copy link
Author

Choose a reason for hiding this comment

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

connector is not merged yet, I used EVAA code for describing, pls take a look if it's ok.

Signed-off-by: master_jedy <[email protected]>
Signed-off-by: master_jedy <[email protected]>
Copy link
Contributor

@nidhi-singh02 nidhi-singh02 left a comment

Choose a reason for hiding this comment

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

pre-commit is failing, please fix it.

@nidhi-singh02
Copy link
Contributor

Thanks @masterjedy for these diagrams. they look great!

Signed-off-by: master_jedy <[email protected]>
Signed-off-by: master_jedy <[email protected]>
Copy link
Contributor

@nidhi-singh02 nidhi-singh02 left a comment

Choose a reason for hiding this comment

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

Let's reference Pyth-connector for the two patterns.

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