What's the difference between Oracle and SDK?

Hi all,
I have a question about Oracle(e.g. ChainLink).
I can also use for example flow-javascript-sdk or go-sdk to send “data” to Flow by making transactions. Then what’s the difference between using Oracle to write data to blockchain and using sdk?
Thanks a lot!
/Guisong

An oracle is primarily a way to get reliable information from the real world onto a blockchain. Oracles often use some sort of voting and consensus to come to a conclusion on what information is accurate.

An SDK is the programmatic interface to the blockchain, so it is what you use to submit transactions, scripts, and contracts.

I could almost guarantee that the oracles are using an SDK to interact with the blockchain to perform their operations!

1 Like

Highly appreciate for your explanation Josh, it’s super clear :slight_smile: