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

Update price service to use helium-lib #832

Merged
merged 5 commits into from
Jun 25, 2024
Merged

Conversation

bbalser
Copy link
Contributor

@bbalser bbalser commented Jun 22, 2024

price now uses helium-lib to get sponsored pyth price off chain

@bbalser bbalser requested a review from madninja June 22, 2024 02:23
@@ -66,15 +66,16 @@ sqlx = { version = "0", features = [
] }
helium-anchor-gen = { git = "https://github.com/helium/helium-anchor-gen.git" }
helium-crypto = { version = "0.8.4", features = ["sqlx-postgres", "multisig"] }
helium-lib = { git = "https://github.com/helium/helium-wallet-rs.git", branch = "master" }
Copy link
Contributor

Choose a reason for hiding this comment

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

time to extract helium-lib out of wallet? maybe push into helium-program-library?

Copy link
Member

Choose a reason for hiding this comment

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

probably not? The whole point is that compiling all of HPL is very brittle and complicated.. helium-lib only relies on the IDLs for the HPL defined programs

price/src/settings.rs Outdated Show resolved Hide resolved
@bbalser bbalser merged commit d945ad1 into main Jun 25, 2024
17 checks passed
@bbalser bbalser deleted the bbbalser/price-helium-lib branch June 25, 2024 14:55
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.

5 participants