Paul pfp
Paul

@paulelisha

This week I wrote a smart contract that showcases the integration of the Pyth Price Feed to get real-time asset data. It demonstrates the use of the MockPyth contract of the Pyth Price Feed to write an integration test to fetch the Price Update Data instead of communicating directly with the Hermes API. I wrote an article that breaks down the code and explains the integration including the Hermes API to generate Calldata for real-world applications. Here's the link: https://medium.com/@PaulElisha1/accessing-real-time-asset-data-using-pyth-price-feeds-in-solidity-3428d8f3693e
1 reply
0 recast
1 reaction