Skip to content

feat: add TWAP demo to send-usd example app #49

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 1 commit into from
Mar 17, 2025

Conversation

tejasbadadare
Copy link
Contributor

Summary

  • Add an end-to-end TWAP demo to the send-usd example app + contract.
    • The frontend pulls a TWAP price from Hermes and submits it to a contract, which uses the price to send some SOL to another address onchain.
  • Clean up the UI a bit
  • Replace deprecated PriceServiceConnection with HermesClient

New:
image

Old:
image

@tejasbadadare tejasbadadare merged commit 87ba36b into main Mar 17, 2025
4 checks passed
@tejasbadadare tejasbadadare deleted the tb/solana/send-usd-twap branch March 17, 2025 20:39
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