Conversation
aditya520
requested changes
Apr 22, 2024
| .env | ||
|
|
||
| lib/ | ||
|
|
Member
There was a problem hiding this comment.
Let's keep the lib folder for forge-std
lib/*
!lib/README.md
|
|
||
| This example demonstrates how to deploy a Chainlink-compatible application to Pyth Network price feeds. | ||
| The application `src/ChainlinkApp.sol` is designed to use Chainlink price feeds. | ||
| The script `script/PythAggregatorV3Deployment.sol` deploys this application with the `PythAggregatorV3` adapter contract, such that it uses Pyth price feeds. |
| Then, deploy the contracts by running: | ||
|
|
||
| ```bash copy | ||
| forge script script/PythAggregatorV3Deployment.s.sol --rpc-url $RPC_URL --broadcast |
Member
There was a problem hiding this comment.
To run the forge script we need to have
forge install foundry-rs/forge-std@v1.8.0 --no-git --no-commit
Contributor
Author
There was a problem hiding this comment.
added to the installation instructions
| solOracle = AggregatorV3Interface(solAggregator); | ||
| } | ||
|
|
||
| function getEthSolPrice() external returns (int256 price) { |
Member
There was a problem hiding this comment.
This method can be set as view
aditya520
approved these changes
Apr 22, 2024
AgustinBadi
added a commit
to rodrigoioyz/Cardano-Pyth-Hackathon
that referenced
this pull request
Mar 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See the readme for more details of how to run etc. We can link this from the chainlink migration guide page in the docs.