Post
Topic
Board Altcoin Discussion
Re: How Data Feed in smart contract?
by
magpie_lover
on 10/04/2019, 15:44:13 UTC
Hello everyone, I'm needing your help: D

How can I get the ETH price data in my contract in solidity language?

I tested chainlink, until I got the testnet price, but I could not get the price to my contract.

I would get the price every time someone send or withdraw features.
Can anyone help?

Thank you.

Since this is a programming related question you'll need to ask this in Stack Overflow or some other forums related to Solidity programming. Btw, have you looked at Oraclize?  Smart contracts interact with the outside world through oracles and Oraclize is a provider. They have published code for sample apps on their Github. For example, here is the Kraken Cryptocurrency Price Tracker sample app