How to get latest eth price in solidity smart contract #20
-
Hi @Mates Recently I am working on the development of ICO presale website and writing smart contract for that. Please let me know if you have any experience with that. |
Beta Was this translation helpful? Give feedback.
Answered by
stevenpiao0822
Oct 3, 2024
Replies: 1 comment
-
Hi @dodger213 To get latest eth price, you need to use Uniswap v2 router or chainlink oracle contract. Hope you finds it helpful. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dodger213
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @dodger213
To get latest eth price, you need to use Uniswap v2 router or chainlink oracle contract.
Plz check the Uniswap document , and/or Chainlink
Hope you finds it helpful.
Thanks