Skip to content

chore(deps): replace pyth-sdk-solidity submodule with npm package #89

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

penandlim
Copy link

https://github.com/pyth-network/pyth-sdk-solidity

The above git repo is no longer available. Pyth network's crosschain monorepo now recommends using the npm package instead.

https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/sdk/solidity#foundry

@penandlim
Copy link
Author

penandlim commented May 5, 2025

I think the cleanest would be to move away from git submodules and to soldeer. This would allow a centralized management of dependencies across git and npmjs packages

Replacing submodule with soldeer would look like below:
master...Storm-Labs-Inc:euler-price-oracle:john/useSoldeer

install the repo as a dependncy like
forge soldeer install euler-price-oracle~1 https://github.com/euler-xyz/euler-price-oracle.git

install dependencies for development with
forge soldeer install

https://soldeer.xyz/
https://github.com/mario-eth/soldeer
https://book.getfoundry.sh/projects/soldeer
https://soldeer.xyz/project/@pythnetwork-pyth-sdk-solidity

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.

1 participant