• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Facebook
  • LinkedIn
info@finivi.com
(508) 870-0440
Client Login

Finivi

Investment Management Services

  • Who We Are
    • Our Team
  • What We Do
    • What to Expect
    • Financial Planning
    • Investment Management
    • Retirement Planning
    • Estate Planning
    • Empowering Women
    • Plan for the Life You Want
  • Insights
  • Events
  • Contact Us
    • Press & Media
    • Careers
    • Internships

How Oracles Make Smart Contracts Work

June 28, 2018 by Eric C. Jansen, ChFC®

“Oracle” has long described a person through whom a deity speaks, or a person known for giving wise or authoritative decisions or opinions. In the cryptoverse, oracles are code connecting a blockchain with the real world. They provide the data that smart contracts need in order to execute successfully.  Oracles are, ironically, an intermediary in a technology that is supposed to eliminate intermediaries. Oracles are also smart contracts themselves.

Smart contracts are just computer programs stored on a blockchain. A common use for them is to let people exchange things of value automatically when a triggering event occurs. But at the time these exchange agreements are created, some detail about the future is unknown. To know when the triggering event has occurred, the smart contract needs an oracle to supply that unknown detail.

Consider these examples of smart contracts:

  • If Allie works 80 hours from June 4 through June 15, then pay her salary.
  • If the Warriors beat the Cavaliers in game 2 of the NBA Finals, then send 0.05 BTC from Jason to Victor.
  • If Maddie loses American Idol, then send 0.5 ETH from Karen to Rhonda.

But how will the smart contract know if Allie worked 80 hours, if the Warriors won, or if Maddie lost? With the help of an oracle.

How Do Oracles Determine the Truth?

Truth is subjective, however. “No,” you’re probably thinking, “Truth is objective. It’s a provable fact.” But the truth can vary depending on what source you consult and when. In the examples above, the answer should be straightforward. But what about a smart contract that executes when the weather drops below a certain temperature in a certain city?

The oracle would need to know which temperature sensor or sensors in the region to consult. The weather in any city can vary slightly by location, and in some cities, like San Francisco, it can vary dramatically depending on how close you are to the coast. The parties to the transaction need to tell the oracle in advance exactly how it should determine the weather. Then, when the oracle later supplies this information, it will describe exactly how it determined the weather and anyone will be able to verify it. Thus, oracles provide transparency.

Types of Oracles

Different types of oracles perform different functions.

Software or Hardware

Software oracles retrieve data from the internet from sources such as application programming interfaces (APIs) or websites. A software oracle could provide an election result to a smart contract, for example. The smart contract would then execute as programmed based on the election result.

Hardware oracles retrieve data from the physical world: from scanners and sensors, for example. A hardware oracle could bring data from an RFID sensor in a mango shipment to a smart contract that would execute and pay the mango supplier for delivery.

Inbound or Outbound

Inbound oracles can be software or hardware oracles. Their key feature is that they obtain information from outside the blockchain and provide it to a smart contract. An inbound oracle could provide the result of a basketball game to a smart contract to pay the winner of a bet.

Outbound oracles send information from the blockchain to the outside world. They could tell a smart lock on a vacation home to unlock after its blockchain address receives payment from a renter.

Centralized or Decentralized

Decentralized oracles are networks of oracles whose integrity is verified using smart contracts. They don’t require trust because they are programmed in such a way that corruption and theft are not profitable, similar to how blockchains like bitcoin and Ethereum are structured.

Centralized oracles are single oracles that provide information to a smart contract. However, centralized oracles are vulnerable to downtime, and they are considered insecure because of their susceptibility to serious problems that can compromise an entire smart contract.

Can We Trust Oracles?

The three big problems oracles can be susceptible to are corruption, hacking, and error. We don’t want an oracle participating in a high-value prediction market to be able to earn more from colluding with a bad actor than from collecting fees for providing an honest service. To prevent this problem, programmers must make the oracle’s reputation and ability to earn payments in the long run more valuable than the potential gains from dishonesty in the short run. We want oracles to earn or lose money and improve or worsen their reputations based on their performance. In other words, oracles should be rewarded for telling the truth and punished for lying.

Oracles can be required to stake a large sum of money on the accuracy of the data they feed to smart contracts. In addition, smart contracts can be programmed to rely on answers from the consensus of multiple oracles instead of just one (though there’s still some risk here in that multiple oracles could be compromised).

A second problem is that oracles, or the data feeds they rely on, could be hacked. Again, an imperfect solution is to seek consensus from multiple oracles. And a third problem is that even non-corrupted, non-hacked, well-intentioned oracles can make mistakes. A possible solution here is to incentivize people to watch out for these mistakes and correct them. One platform that tries to do this is Augur. This decentralized oracle and prediction market platform allows people to earn REP (Reputation) tokens for disputing or confirming the outcome of any Augur market. The users who report accurate results earn a financial reward. REP tokens give holders votes in resolving predictions in Augur’s market. They also pay the holder half the trading fees that market generates, meaning they work a bit like dividend-paying stocks. The holder can also potentially earn money if the value of their Augur tokens increase over time.

Conclusion

Relying on oracles and smart contracts saves human effort and reduces the number of parties involved in settling transactions. Compared to paper contracts, this system saves time and money. Despite the potential problems or challenges in relying on oracles, the value of using oracles and smart contracts is gaining more and more acceptance. Big names in this space include Oraclize, ChainLink, Concurrence, Augur, Gnosis, Reality Keys, Delphi Systems, and Witnet. As interest in smart contracts grows, the utility and value of oracles will lead to even greater innovations and safeguards.


The information in this article is for informational and educational purposes only. Investing in ICO’s, cryptocurrencies or tokens is highly speculative, and the market is largely unregulated. Anyone considering it should be prepared to lose their entire investment.

Print Friendly, PDF & Email

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Telegram (Opens in new window)

Related

Filed Under: Bitcoin & Digital Assets, Personal Finance

Primary Sidebar

Footer

About Us

Finivi is an independent, fee-based financial planning and investment management firm that offers clear, actionable advice designed to help improve your life.

HOME | WHO WE ARE | WHAT WE DO | WHAT TO EXPECT | BLOG | CONTACT US
  • Facebook
  • LinkedIn

Contact Us

Finivi Inc.
1400 Computer Drive, Westborough, MA 01581
Get directions: iOS | Google

Office: (508) 870-0440
Fax: (508) 898-3097

Email: info@finivi.com

Our Newsletter

Subscribe to our newsletter to get the latest updates from our blog. We respect your privacy.

© 2018-2025 Finivi Inc. | Site by Mathias Media

Privacy Policy | ADV Part 2A - Disclosure Brochure | Form ADV Part 3 - Client Relationship Summary

Advisory Services offered through Finivi Inc. an SEC Registered Investment Advisor.

Eric C. Jansen, ChFC

Fun Facts About Me

When he is not researching the next great stock to add to client portfolios, you can find him travelling frequently with his family to Jackson Hole Wyoming.

  • Hometown: Chicago, IL
  • Birth Month & Year: November, 1964
  • Favorite Hobby: Goldmining in Nome, AK
  • Favorite Food: Steak at Charley’s Steakhouse in Orlando FL
  • Can't be interrupted when: Watching the Discovery Channel
  • Hidden Talent: Finish Carpenter
  • Something on bucket list: Obtain Helicopter Pilot License
  • Family Pet: Goldfish
Close

Steven C. Johnson, ChFC

Fun Facts About Me

Steve would tell you that one of the best parts of the day is spent talking to clients and relationships that result from it. When away from the office, he loves to travel the back roads of New England enjoying all the great sites that can be found off the beaten path.

  • Hometown: Townsend, MA
  • Birth Month & Year: December, 1967
  • Favorite Hobby: Playing Hockey
  • Favorite Food: Chicken Caesar Salad
  • Can't be interrupted when: Watching the Bruins
  • Hidden Talent: Cooking – Makes a great Thanksgiving turkey
  • Something on bucket list: Travel to Italy and Greece
  • Family Pet: Max – our Pomeranian

Frederick M. Lane, ChFC, CASL

Fun Facts About Me

When not managing client portfolios, Fred can be found relaxing with family and friends.

  • Hometown: Nutley, NJ
  • Birth Month & Year: July, 1954
  • Favorite Hobby: Dog Walking
  • Favorite Food: Italian
  • Can't be interrupted when: Listening to Pink Floyd
  • Hidden Talent: Landscaping
  • Something on bucket list: Space Flight - Tourism
  • Family Pet: None

Catherine M. Gareri

Fun Facts About Me

When not caring for her clients Cathy enjoys relaxing in her yard at home.

  • Hometown: Bellingham, MA
  • Birth Month & Year: July, 1957
  • Favorite Hobby: Cooking and Entertaining
  • Favorite Food: Steak at the Capital Grille
  • Can't be interrupted when: It's family time
  • Hidden Talent: Dog Whisperer
  • Something on bucket list: Spending a couple months on the Almalfi Coast
  • Family Pet: In Between Mastiffs now so a little blue fish “Willy”

Katie E. Moore, CLTC

Fun Facts About Me

When Katie is not busy taking care of her clients, she spends her time being a mom to her two little ones, Owen and Isla.

  • Hometown: Modesto, CA
  • Birth Month & Year: September, 1982
  • Favorite Hobby: Swimming
  • Favorite Food: Mexican Food
  • Can't be interrupted when: I'm cooking
  • Hidden Talent: Climbed Yosemite's Half Dome, twice - no fear :)
  • Something on bucket list: See the Northern Lights and Potty Train my 2 year old
  • Family Pet: Caddy and Sierra – our two cats

Hesper Duval

Fun Facts About Me

Loves spending time with 2 daughters and enjoys participating in 5k obstacle races throughout the year.

  • Hometown: Charlton, MA
  • Birth Month & Year: October, 1981
  • Favorite Hobby: Running
  • Favorite Food: Cheesecake
  • Can't be interrupted when: Reading a good book
  • Hidden Talent: Interior Design and furniture restoration
  • Something on bucket list: To travel cross-country in an RV
  • Family Pet: Charlie and Nora, both black labs from the same litter

Donna Fournier

Fun Facts About Me

When not cheering for the Patriots, Donna spends her free time travelling throughout the United States looking for new haunted places to explore. She loves to wear her cowboy hat and boots when travelling out west.

  • Hometown: Swansea, MA
  • Birth Month & Year: February, 1961
  • Favorite Hobby: Exploring haunted locations
  • Favorite Food: Pizza
  • Can't be interrupted when: Eating my pizza
  • Hidden Talent: Rollerblading
  • Something on bucket list: Travel to Australia
  • Family Pet:  Had a pet skunk

Krista Isabelle

In her free time, Krista can be found crafting, cooking, spending time outdoors with her family, or curled up reading next to her beloved pets.

  • Hometown: Hopedale, MA
  • Birth Month & Year: August 1994
  • Favorite Hobby: Cooking & Baking
  • Favorite Food: Baked mac & cheese
  • Can’t be interrupted when: Reading
  • Hidden Talent: Cartoon drawing
  • Something on her Bucket List: Fostering animals

Danielle Drew

When Danielle does not have her head in a book studying to expanding her financial planning knowledge, she enjoys anything active and outdoors, including visits to the beach and hiking.  

  • Hometown: Dennis, MA
  • Birth Month & Year: November, 1985
  • Favorite Hobby: Working out, concerts, and exploring wineries
  • Favorite Food: Lobster pot pie, cheeseburgers, BBQ, the list goes on...
  • Can't be interrupted when: Working out 
  • Hidden Talent: Country line dancing
  • Something on bucket list: To hike the 48, 4000 footers of New Hampshire
  • Family Pet: none, hopefully a big dog someday

Jay Willwerth, ChFC

Fun Facts About Me

Jay’s days are spent helping clients achieve their financial goals, followed by nights and weekends typically watching his daughters play competitive volleyball.

  • Hometown: Melrose, MA
  • Birth Month & Year: September, 1959
  • Favorite Hobby: Golf
  • Favorite Food: Anything at a Patriot’s Tailgate
  • Can't be interrupted when: Watching the Patriot’s Game
  • Hidden Talent: Competitive Volleyball Watcher (Mostly his 2 daughters)
  • Something on bucket list: Play a round of Golf at Pebble Beach
  • Family Pet: Bella, our Shih-poo
Close
 

Loading Comments...
 

You must be logged in to post a comment.