Haym Salomon Profile picture
Aug 10 21 tweets 9 min read
(1/20) @ethereum, Oracles and @chainlink: The Communication Layer of Web3

How do smart contracts get info from outside the Ethereum blockchain? How can a protocol interact with a web2 service? How will The World Computer integrate with The Real World?

This thread has answers!
(2/20) The problem: blockchains cannot pull in or push out data to any external system (by design). They are isolated networks - a computer without Internet.

Without internet? In 2022?!??!!

blog.chain.link/what-is-the-bl…
(3/20) Fear not! While not yet solved, the blockchain oracle problem is being dismantled. Thanks to the @chainlink team, The World Computer is no longer disconnected!

The challenge is now increasing bandwidth, latency and reliability.
(4/20) A blockchain oracle is an entity that sits between @ethereum and the outside world, moving information between the two.

An oracle is made up of two parts:

- Oracle Smart Contracts
- Oracle External Interface (Node)
(5/20) Oracle smart contracts are the code that exist within @ethereum, processing requests and coordinating between internal and external clients.
(6/20) Oracle nodes are the computers and servers that are in communication with @ethereum.

Nodes are centralized entities capable of incredibly quick and cheap computation. They are also connected to external data feeds and can publish that data on-chain.
(7/20) Oracle nodes and smart contracts achieve this two way communication by staying closely in sync and actively watching each-other across the on/off-chain barrier.

Entities on both sides have someone they can use to pass information back and forth via a robust set of APIs.
(8/20) The Basic Request Model is a generalized structure for passing data on/off-chain. A client smart contract will send the oracle smart contract the API request and a $LINK payment. The oracle network bridges the message, making changes and providing data where it's needed.
(9/20) Let's say a protocol is providing synthetic exposure to the price of gold and needs a feed of the price of gold from the real world. It could use a basic request to retrieve the data.

Unfortunately, the reality is that oracle work is very expensive.
(10/20) Furthermore, while basic requests uses @chainlink's technology to send messages in and out of @ethereum, they are still only as safe and secure as the nodes they connect to.

What happens if a malicious oracle node changes the price of gold before it publishes it?
(11/20) It's not just bad guys. What about a disaster scenario: server gets hacked, data center gets flooded, some weird configuration bricks the node forever.

There's a reason the @ethereum community is so nuts about decentralization.
(12/20) Fortunately, @chainlink has an answer: Decentralized Oracle Network (DON)

A DON combines multiple independent oracle node operators and multiple reliable data sources to establish end-to-end decentralization.
(13/20) The Decentralized Data Model combines three layers of decentralization:

- data source, gathering data from multiple well-vetted feeds
- node, relying on a network of operators
- chain, publishing data across blockchain ecosystems
(14/20) Each feed is built and funded by the community of users who rely on accurate, up-to-date data in their smart contracts.

As more users rely on and contribute to a data feed, the quality of the data feed improves.
(15/20) Here is the list of data feeds available currently. If you click through you can see performance metrics (eg how often it is updated), users, networks, etc.

data.chain.link
(16/20) While the decentralized data model has boosted the reliability and security of the oracle network, it has come at a high cost.

The most expensive part of oracle-work is paying for gas; in the vanilla decentralized data model, every node pays every time they publish.
(17/20) Fear not, the decentralized data model is just the beginning! On to the next evolution in oracle technology: Off-Chain Reporting (OCR).

OCR leverages the same decentralized principals, but moves the computational and gas-expensive work of aggregating data off-chain.
(18/20) In OCR, all nodes communicate using a peer to peer network. During the communication process, a lightweight consensus algorithm runs: each node reports its data observation and signs it. A single aggregate txn is then transmitted to the oracle smart contract.
(19/20) OCR is a huge improvement on the decentralized data model. The oracle node network can scale exponentially bigger, increasing decentralization, security and reliability.

With OCR, there will always be only 1 txn per update, regardless of network size.
(20/20) 7 years ago, @VitalikButerin launched @ethereum, giving us The World Computer.

5 years ago, @SergeyNazarov, @streamOfCo & @chainlink begin connecting The World Computer to the Internet.

Today, we have the equivalent of dial-up...

Can you even imagine the broadband-era?
Like what you read? Help me spread the word by retweeting the thread (linked below).

Follow me for more explainers and as much alpha as I can possibly serve.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Haym Salomon

Haym Salomon Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @SalomonCrypto

Aug 11
(1/18) The Global Financial Crisis - Chapter 1

From the 1980s to 2008: the context, causes and stakes that created the economic catastrophe that still shapes the planet to this very day

To understand history is to see the future
(2/18) At the turn of the 21st century, American-brand capitalism was at its peak. The USSR had fallen, inflation was domesticated and technology was promising increasingly accelerated returns.

The global economy, priced in USD, flowed through the American financial system.
(3/18) The American economy, always centered on one's home as the primary tool for wealth building, had been liberated by a series of laws and (de) regulations.

This was fueled by complex financial tools allowing increasing amounts of leverage.
Read 19 tweets
Aug 10
(1/23) The Federal Reserve System

What is it? Who is in charge? What can it do? How does it do it?

What is it capable of?

A discussion of @federalreserve, central banking and centralization.
(2/23) Before we understand modern central banking, we need to understand how we got here.

~500 years ago, in the backwater of Europe, the world changed forever. On the battlefields of Iberia and the halls of the German Electors, modern finance was born.
(3/23) Since then, the way humans and societies operate has developed along the principals laid back in the 16th century:

Consolidate power. Concentrate wealth. Coordinate with the state.

Fast forward about ~400 years and well... let's just say that Henry V would be impressed.
Read 24 tweets
Aug 9
(1/18) @ethereum: The World Computer

The Metaphor, the Present and the Future; your guide to the technology backbone of the 21st century

If you're looking for the bigger picture about $ETH, this thread is for you!
(2/18) First we must understand the world into which @ethereum was born.

~500 years ago, the era of modern finance began. Private capital, industry & the state began coordinating and developing tools to concentrate wealth & power.

The result: in 2022 things are... unstable.
(3/18) @ethereum's game-changing feature: credibly neutral, internet-native property rights.

From these rights flow:
- trust-less commerce
- censorship resistance
- inherent transparency
- and so much more

Ethereum provides a radically new paradigm: fairness over concentraion.
Read 19 tweets
Aug 8
(1/25) MEV, Flashbots ⚡️🤖 and the Future of @ethereum

Looking to understand Maximum Extractable Value and the existential risk it presents to The World Computer? Want to know what's being done to address it?

Your primer for the next market-defining narrative of crypto.
(2/25) MEV = Maximum Extractable Value, the profit an actor with privileged access (miner, validator, sequencer, etc) to a system can make through their ability to arbitrarily include, exclude or re-order transactions from the blocks they produce.
(3/25) MEV can manifest in many different ways, but in general it follows a similar pattern:

- Users generate pending txns, sending them to the public mempool
- Searchers watch the mempool
- When MEV opportunity is identified, the searcher races to reorder txns to extract value
Read 26 tweets
Aug 6
(1/28) The History of Modern Finance: From 1492 to 2022

In the 16th century, Europe catapulted from the backwater of Eurasia into the forefront of global dominance. The secret? The invention of modern finance.

Read on to learn why the world needs @ethereum, ASAP.
(2/28) By definition, history does not begin nor end; everything comes from before, everything leads to something. For 1000s of years our ancestors struggled, fought and built to make the world we have today.

For the sake of brevity, we will skip to the turn of the 16th century.
(3/28) Fans of European history will know that in the 1490s a ton of the action was taking place on the Iberian Peninsula. Isabella and Ferdinand, The Catholic Monarchs, are bringing the Reconquista to its dramatic conclusion.

The Moors are about to be expelled from Spain.
Read 29 tweets
Aug 5
(1/19) Computer Science Fundamentals: Blockchain Computers, @Bitcoin and @ethereum

What is a blockchain computer and what makes it special? How did @VitalikButerin build on top of Bitcoin to create Ethereum? Why is Ethereum The World Computer?

This thread has answers!
(2/19) @ethereum calls us all in different ways. Some are called by the decentralization, others to become unrealistically wealthy; everyone has their reasons.

Personally, I've heard the siren's song of The World Computer and am drawn the future we will build on top of it.
(3/19) But not all understand The World Computer metaphor. Crypto is so incredibly fast paced (and is inherently muddied with delusional visions of generational wealth) that it is easy to miss what makes @ethereum so special.

Let's go back to computer science basics.
Read 20 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(