Skip to content

Feature/chain link data feeds#7

Open
Ginowine wants to merge 2 commits intomasterfrom
feature/chain-link-data-feeds
Open

Feature/chain link data feeds#7
Ginowine wants to merge 2 commits intomasterfrom
feature/chain-link-data-feeds

Conversation

@Ginowine
Copy link
Collaborator

  • create a function to get data feeds
  • on Testnet, you can only test BTC/ETH feeds

@Ginowine Ginowine requested a review from crux25 December 10, 2023 03:30
s_linkToken = IERC20(_link);

// BTC/ETH price feed contract address
dataFeed = AggregatorV3Interface(0x5fb1616F78dA7aFC9FF79e0371741a747D2a7F22);
Copy link
Member

Choose a reason for hiding this comment

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

Please add feed contract for all the pairs currently on testnet.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

On Testnet, I think it's just BTC to ETH that is available for crypto-to-crypto pairs, others are Crypto to USD. Except you want me to include the Mainnet assets which includes several crypto to crypto pairs.?
Uploading Screenshot 2023-12-10 at 04.15.29.png…

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