Skip to content
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

feat(target_chains/ton): add target address and custom payload support #2136

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

cctdaniel
Copy link
Contributor

@cctdaniel cctdaniel commented Nov 20, 2024

The recommended flow for protocols is as follows: the user interacts with the Pyth contract, which then sends a message to the target address (in this case, the protocol). To enable the protocol to identify the original caller, the message includes both the sender_address and a custom_payload. This ensures the protocol has the necessary information to process the request accurately.

Copy link

vercel bot commented Nov 20, 2024

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

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 0:19am
proposals 🛑 Canceled (Inspect) Nov 21, 2024 0:19am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 0:19am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Nov 21, 2024 0:19am
insights ⬜️ Ignored (Inspect) Visit Preview Nov 21, 2024 0:19am

Copy link
Collaborator

@ali-bahjati ali-bahjati left a comment

Choose a reason for hiding this comment

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

Nice! can we also have a test with a target_address other than sender?

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