Skip to main content

Ocean Protocol: Tools for the Web3 Data Economy

  • Chapter
  • First Online:
Handbook on Blockchain

Part of the book series: Springer Optimization and Its Applications ((SOIA,volume 194))

Abstract

This chapter describes a toolset to enable Web3 data economy. Ocean Protocol is an on-ramp for data services into crypto ecosystems, using datatokens. Each datatoken is a fungible ERC20 token to access a given data service. Ocean smart contracts and libraries make it easy to publish data services (deploy and mint datatokens) and consume data services (spend datatokens). Ocean contracts run on Ethereum mainnet to start, with other deployments to follow. Ethereum composability enables crypto wallets as data wallets, crypto exchanges as data marketplaces, data DAOs as data co-ops, and more. Ocean Market is an open-source community marketplace for data. It supports automatic determination of price using an “automated market maker” (AMM). Each datatoken has its own AMM pool. Anyone can add liquidity, aka stake (equivalent in AMMs). This is curation, as stake is a proxy to dataset quality. We envision thousands of data marketplaces, where Ocean Market is just one. In addition to Ocean Market being open-source (and therefore forkable), Ocean includes tools to help developers build their own marketplaces and other apps. Ocean’s “Compute-to-Data” feature gives compute access on privately held data, which never leaves the data owner’s premises. Ocean-based marketplaces enable monetization of private data while preserving privacy. These tools are part of a system designed for long-term growth of a permissionless Web3 Data Economy. The Ocean Data Farming program incentivizes a supply of data. The community-driven OceanDAO funds software development, outreach, and more.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 199.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    DEX = Decentralized Exchange.

  2. 2.

    DAO = Decentralized Autonomous Organization.

  3. 3.

    Let’s illustrate how the Bitcoin system prevents double-spending of Bitcoin tokens (bitcoin). In the Bitcoin system, you “control” an “address”. An “address” is a place where bitcoin can be stored. You “control” the address if you’re able to send bitcoin from that address to other addresses. You’re able to do that if you hold the “private key” to that address. A private key is like a password—a string of text you keep hidden. In sending bitcoin, you’re getting software to create a transaction (a message) that specifies how much bitcoin is being sent, and what address it’s being sent to. You demonstrate it was you who created the transaction, by digitally signing the message with your private key associated with your address. The system records all such transactions on this single shared global database with thousands of copies shared worldwide.

  4. 4.

    We could also use ERC721 “non-fungible tokens” (NFTs) [ERC721] for data access control, where you can access the dataset if you hold the token. Each data asset is its own “unique snowflake”. However, datasets typically get shared among > 1 people. For this, we need fungibility, which is the realm of ERC20.

    However, there is a more natural fit for NFTs: use an NFT to represent the base rights. The base rights are the ability to create access licenses (=mint ERC20 access tokens). The first base rights holder is the copyright holder, but they could transfer this to another entity as an exclusive deal (= transfer the NFT).

    Ocean’s V3 datatokens release uses just ERC20 tokens. There is a base rightsholder, it’s just implicit: it’s the entity that controls the ability to mint more ERC20 tokens (= “publisher”). This could conceptually be replaced with an explicit representation, which is NFT.

  5. 5.

    The World Intellectual Property Office (WIPO) is a United Nations (UN) agency dedicated to setting IP guidelines. Each jurisdiction can then choose how to implement the guidelines. For example, the United States Patent & Trademark Office (USPTO) implements WIPO guidelines on patents and trademarks in the US.

  6. 6.

    Deployed to Ethereum mainnet to start, then to other networks in time. A later section elaborates.

  7. 7.

    Thanks to Simon de la Rouviere for this framing, which he in turn derived from Austin Griffith.

  8. 8.

    The Ocean and Balancer teams have collaborated for years. Part of the collaboration between the Ocean and Balancer teams is discussion around Balancer V2. Ocean plans to use Balancer Lab’s deployment by Balancer V2, if not sooner.

  9. 9.

    The Ocean-tweaked Balancer pools are optimized for low gas cost, but because they do not come from Balancer’s official factory, they aren’t currently eligible for Balancer Liquidity Mining [Martinelli 2020]. If users choose, they can deploy datatoken pools using Balancer’s official factory, which is more expensive but does receive BAL rewards. Balancer V2 will optimize gas costs, at which point we expect Ocean libraries to use Balancer official factory (and therefore be eligible for BAL rewards).

  10. 10.

    CEX = Centralized Exchange.

  11. 11.

    Thanks to Simon Mezgec for this suggestion.

References

  1. “The World’s Most Valuable Resource is No Longer Oil, But Data”, The Economist, May 6, 2017, https://www.economist.com/news/leaders/21721656-data-economy-demands-new-approach-antitrust-rules-worlds-most-valuable-resource

  2. Banko, M., Brill, E.: Scaling to very very large corpora for natural language disambiguation. Proceeding Annual Meeting on Association for Computational Linguistics, July, 2001, http://www.aclweb.org/anthology/P01-1005

  3. Halevy, A., Norvig, P., Pereira, F.: The unreasonable effectiveness of data. IEEE Intell. Syst. 24(2) (2009), https://research.google.com/pubs/archive/35179.pdf

  4. Buterin, V.: Ethereum: A Next-Generation Smart Contract and Decentralized Application Platform, Dec. 2013, https://ethereum.org/en/whitepaper/

  5. McConaghy, T.: “Mission & Values for Ocean Protocol”, July 23, 2018, https://blog.oceanprotocol.com/mission-values-for-ocean-protocol-aba998e95b8

  6. Goldin, M.: “Mike’s Cryptosystems Manifesto”, Google Docs, 2017, https://docs.google.com/document/d/1TcceAsBlAoFLWSQWYyhjmTsZCp0XqRhNdGMb6JbASxc/edit

  7. Graham, P.: “How to Start a Startup”, Paul Graham Blog, March 2005, http://www.paulgraham.com/start.html?viewfullsite=1

  8. McConaghy, T.: “How Does Ocean Compute-to-Data Related to Other Privacy-Preserving Approaches?”, Ocean Protocol Blog, May 28, 2020, https://blog.oceanprotocol.com/how-ocean-compute-to-data-relates-to-other-privacy-preserving-technology-b4e1c330483

  9. Vogelsteller, F., Buterin, V.: “ERC-20 Token Standard”, Nov. 19, 2015, https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md

  10. Buterin, V.: Twitter, Feb. 18, 2020, https://twitter.com/VitalikButerin/status/1229819782230241280

  11. Oauth Team, “Oauth 2.0 Spec”, Oauth Website, last accessed Aug. 19, 2020, https://oauth.net/2/

  12. “Create, read, update, and delete”, Wikipedia, last accessed Aug. 19, 2020, https://en.wikipedia.org/wiki/Create,_read,_update_and_delete

  13. Pregelj, J.: “CRAB—Create. Retrieve. Append. Burn”, BigchainDB blog, Oct. 19, 2017, https://blog.bigchaindb.com/crab-create-retrieve-append-burn-b9f6d111f460?gi=209a8d51b780

  14. Ogundeji, O.: “Antonopoulos: Your Keys, Your Bitcoin. Not Your Keys, Not Your Bitcoin”, CoinTelegraph, Aug 10, 2016, https://cointelegraph.com/news/antonopoulos-your-keys-your-bitcoin-not-your-keys-not-your-bitcoin

  15. “Chainlink”, Homepage, last accessed Aug. 20, 2020, https://chain.link/

  16. McConaghy, T.: “Ocean Datatokens: From Money Legos to Data Legos. How DeFi Helps Data, and Data Helps DeFi”, Ocean Protocol Blog, Sep. 8, 2020, https://blog.oceanprotocol.com/ocean-datatokens-from-money-legos-to-data-legos-4f867cec1837

  17. “Ocean Protocol Software Documentation”, last accessed Aug 20, 2020, https://docs.oceanprotocol.com/

  18. “Ocean Contracts”, Ocean Protocol GitHub, last accessed Aug. 31, 2020, https://github.com/oceanprotocol/ocean-contracts

  19. “Ocean-lib: JavaScript”, Ocean Protocol GitHub, last accessed Aug. 31, 2020, https://github.com/oceanprotocol/ocean-lib-js

  20. “Ocean-lib: Python”, Ocean Protocol GitHub, last accessed Aug. 31, 2020, https://github.com/oceanprotocol/ocean-lib-py

  21. “Ocean Market”, Ocean Protocol GitHub, last accessed Aug. 31, 2020, https://github.com/oceanprotocol/market

  22. “Ocean React Hooks”, Ocean Protocol GitHub, last accessed Aug. 31, 2020, https://github.com/oceanprotocol/react

  23. “Balancer”, homepage, last accessed Aug. 21, 2020, https://balancer.finance

  24. Ocean Protocol Team, “dexFreight and Ocean Protocol Partner to Enable Transportation and Logistics Companies To Monetize Data”, Feb. 13, 2020, https://blog.oceanprotocol.com/dexfreight-ocean-protocol-partner-to-enable-transportation-logistics-companies-to-monetize-data-7aa839195ac

  25. Ocean Protocol Team, “Ocean Protocol delivers Proof-of-Concept for Daimler AG in collaboration with Daimler South East Asia”, July 7, 2020, https://blog.oceanprotocol.com/ocean-protocol-delivers-proof-of-concept-for-daimler-ag-in-collaboration-with-daimler-south-east-564aa7d959ca

  26. Decentralized Identifiers(DIDs) v0.11: data model and syntaxes for decentralized identifiers, W3C Community Group, Draft Community Group Report 06 February 2019, last accessed Feb. 28, 2019, https://w3c-ccg.github.io/did-spec/

  27. “Ocean Enhancement Proposal 7: Decentralized Identifiers,” last accessed Feb. 11, 2019, https://github.com/oceanprotocol/OEPs/tree/master/7

  28. Crockford, D.: “Introducing JSON”, Webpage, last accessed Aug 19, 2020, https://www.json.org/

  29. “Ocean Enhancement Proposal 8: Assets Metadata Ontology,” last accessed Feb. 11, 2019, https://github.com/oceanprotocol/OEPs/tree/master/8

  30. “Schema.org DataSet schema”, last accessed Feb. 11, 2019, https://schema.org/Dataset

  31. W3C, “Verifiable Credentials Data Model 1.0”, W3C Recommendation, November 2019, https://www.w3.org/TR/vc-data-model/

  32. 3Box Team, “3Box: User Data Cloud”, 3Box Homepage, last accessed Aug 19, 2020, https://3box.io/

  33. McConaghy, T.: “Ocean Protocol V3 Architecture Overview: Simplicity and Interoperability via a Datatokens Core,” Ocean Protocol Blog, Oct. 12, 2020, https://blog.oceanprotocol.com/ocean-protocol-v3-architecture-overview-9f2fab60f9a7

  34. McConaghy, T.: “Ocean on PoA vs. Ethereum Mainnet?”, Ocean Protocol Blog, Feb. 12, 2019, https://blog.oceanprotocol.com/ocean-on-poa-vs-ethereum-mainnet-decd0ac72c97

  35. “Ocean Roadmap || Setting sail to 2021”, Ocean Protocol Blog, Feb. 13, 2019, https://blog.oceanprotocol.com/ocean-roadmap-setting-sail-to-2021-70c2545547a7

  36. “Ocean Product Update || 2020”, Ocean Protocol Blog, Mar .19, 2020, https://blog.oceanprotocol.com/ocean-product-update-2020-f3ae281806dc

  37. McConaghy, T.: “The DCS Triangle: Decentralized, Consistent, Scalable”, July 10, 2016, https://blog.bigchaindb.com/the-dcs-triangle-5ce0e9e0f1dc

  38. Xdai Team, “Xdai Chain”, homepage, https://www.xdaichain.com/

  39. “About the AMB”, TokenBridge homepage, last accessed Sept. 3, 2020, https://docs.tokenbridge.net/amb-bridge/about-amb-bridge

  40. “Parity Substrate: Build your own blockchains”, last accessed Aug. 19, 2020, https://www.parity.io/substrate/

  41. Ethereum Optimism Team, “Optimistic Virtual Machine Alpha”, Ethereum Optimism Blog, Feb. 12, 2020, https://medium.com/ethereum-optimism/optimistic-virtual-machine-alpha-cdf51f5d49e

  42. “Cosmos SDK Documentation”, homepage, last accessed Aug. 19, 2020, https://docs.cosmos.network/

  43. Kuhn, E.: “Let’s Talk About Data Pricing — Part I”, Aug. 13, 2019, https://blog.oceanprotocol.com/lets-talk-about-data-pricing-part-i-bbc9cf781d9f

  44. Kuhn, E.: “Let’s Talk About Data Pricing — Part II”, Aug. 21, 2019, https://blog.oceanprotocol.com/value-of-data-part-two-pricing-bc6c5127e338

  45. “Aragon Court”, homepage, last accessed Aug. 20, 2020, https://aragon.org/court

  46. McDonald, M.: “Building Liquidity into Token Distribution”, Mar. 4, 2020, https://medium.com/balancer-protocol/building-liquidity-into-token-distribution-a49d4286e0d4

  47. Balancer Team, “Interest-Bearing Stablecoin Pools Without Impermanent Loss”, Balancer blog, Oct. 30, 2019, https://balancer.finance/2019/10/30/interest-bearing-stablecoin-pools-without-impermanent-loss/

  48. Murray, P., Welch, N., Messerman, J.: “EIP-1167: Minimal Proxy Contract”, Ethereum Improvement Proposals, no. 1167, June 2018, https://eips.ethereum.org/EIPS/eip-1167

  49. Simler, K., Hanson, R.: “The Elephant in the Brain: Hidden Motives in Everyday Life”, Oxford University Press, Jan. 2018, https://www.amazon.com/Elephant-Brain-Hidden-Motives-Everyday/dp/0190495995

  50. Monegro, J.: “Proof of Liquidity”, Placeholder blog, May 22, 2020, https://www.placeholder.vc/blog/2020/5/22/proof-of-liquidity

  51. McConaghy, T.: “Ocean Market: An Open-Source Community Marketplace for Data. Featuring OCEAN Staking, Automated Market Makers, and Initial Data Offerings,” Ocean Protocol Blog, Sep. 24, 2020, https://blog.oceanprotocol.com/ocean-market-an-open-source-community-marketplace-for-data-4b99bedacdc3

  52. McConaghy, T.: “On Selling Data in Ocean Market: Selling Your Proprietary Data, Others’ Proprietary Data, and Value-Adds to Open Data,” Ocean Protocol Blog, Oct. 19, 2020, https://blog.oceanprotocol.com/on-selling-data-in-ocean-market-9afcfa1e6e43

  53. McConaghy, T.: “On Staking on Data in Ocean Market: Earning Opportunities — and Risks — in Ocean’s Community Marketplace,” Ocean Protocol Blog, Oct. 22, 2020, https://blog.oceanprotocol.com/on-staking-on-data-in-ocean-market-3d8e09eb0a13

  54. Patel, M.: “Technical Guide to Ocean Compute-to-Data”, Ocean Protocol Blog, May 19, 2020, https://blog.oceanprotocol.com/v2-ocean-compute-to-data-guide-9a3491034b64

  55. “General Data Protection Regulations”, Wikipedia, last accessed Aug. 21, 2020, https://en.wikipedia.org/wiki/General_Data_Protection_Regulation

  56. “Solidity”, Wikipedia, last accessed Aug. 21, 2020, https://en.wikipedia.org/wiki/Solidity

  57. Dimitri de Jonghe, “Exploring the SEA: Service Execution Agreements”, Ocean Protocol Blog, Nov. 30, 2018, https://blog.oceanprotocol.com/exploring-the-sea-service-execution-agreements-65f7523d85e2

  58. “OpenMined”, homepage, last accessed Aug. 20, 2020, https://www.openmined.org/

  59. Azure ML Team, “Microsoft Azure Machine Learning Studio”, homepage, last accessed Aug. 19, 2020, https://studio.azureml.net/

  60. “Etherscan”, homepage, last accessed Aug. 21, 2020, https://etherscan.io

  61. CoinGecko Team, CoinGecko website, last accessed Aug. 19, 2020 https://www.coingecko.com

  62. CoinMarketCap Team, CoinMarketCap website, last accessed Aug. 19, 2020, https://www.coinmarketcap.com

  63. “Decentralized Autonomous Organization”, Wikipedia, last accessed Aug. 19, 2020, https://en.wikipedia.org/wiki/Decentralized_autonomous_organization

  64. “Saskatchewan Wheat Pool”, Wikipedia, last accessed Aug. 21, 2020, https://en.wikipedia.org/wiki/Saskatchewan_Wheat_Pool

  65. Imanol Arrieta Ibarra et al.: “Should We Treat Data as Labor? Moving Beyond ‘Free’”, AEA Papers and Proceedings, 108, 38–42. https://doi.org/10.1257/pandp.20181003, https://www.aeaweb.org/conference/2018/preliminary/paper/2Y7N88na

  66. McConaghy, T.: “Radical Markets and the Data Economy”, Ocean Protocol Blog, Mar. 5, 2020, https://blog.oceanprotocol.com/radical-markets-and-the-data-economy-4847c272f5

  67. Lee, A.: “Announcing Karma DAO: First-Ever Token-Permissioned Networking Chat Group on Telegram”, July 20, 2020, https://medium.com/@andrwlee/announcing-karma-dao-first-ever-token-permissioned-networking-chat-group-on-telegram-5feab7a54def

    Google Scholar 

  68. Balancer Team, “Configurable Rights Pool”, GitHub Repository, published Aug, 2020, https://github.com/balancer-labs/configurable-rights-pool

  69. Delmonti, A.: Introducing PieDAO, the asset allocation DAO, Mar. 3, 2020, https://medium.com/piedao/introducing-piedao-the-asset-allocation-dao-1af9eec5ee4

  70. “Melon Protocol”, homepage, last accessed Aug. 19, 2020, https://melonprotocol.com/

  71. “MOBI—Mobility Open Blockchain Initiative”. Homepage. Last accessed Aug. 20, 2020, https://dlt.mobi/

  72. Chaturvedi, V.: The Man Who Tokenized Himself Gives Holders Power Over His Life, June 30, 2020, https://www.coindesk.com/man-who-sells-himself-now-wants-buyers-to-control-his-life

  73. Azevedo, E.M., David, M.: Pennock, and E. Glen Weyl, “Channel Auctions”, Aug 31, 2018, https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3241744

  74. McConaghy, T.: “Datatokens 3: Data and Decentralized Finance (Data * DeFi)”, Ocean Protocol Blog, Dec. 3, 2019, https://blog.oceanprotocol.com/data-tokens-3-data-and-decentralized-finance-data-defi-d5c9a6e578b7

  75. “Kleros”, homepage, last accessed Aug. 20, 2020, https://kleros.io/

  76. “Shopify”, homepage, last accessed Aug. 21, 2020, https://shopify.com

  77. Buterin, V.: “Explanation of DAICOs”, Eth.Research Blog, Jan. 2018, https://ethresear.ch/t/explanation-of-daicos/465

  78. Vogelsteller, F.: “rICO—The Reversible ICO”, Lukso Blog, Apr. 13, 2020, https://medium.com/lukso/rico-the-reversible-ico-5392bf64318b

  79. Uma Team, “UMA Initial Uniswap Listing”, Apr. 22, 2020, https://medium.com/uma-project/umas-initial-uniswap-listing-afa7b6f6a330

  80. “Unisocks”, homepage, https://unisocks.exchange/

  81. Simon de la Rouviere, “Introducing Curation Markets: Trade Popularity of Memes & Information (with code)!”, Medium, May 22, 2017, https://medium.com/@simondlr/introducing-curation-markets-trade-popularity-of-memes-information-with-code-70bf6fed9881

    Google Scholar 

  82. @Bitcoin, Twitter, Apr. 4, 2020, https://twitter.com/Bitcoin/status/1246482664376414209

  83. European Commission, “Building a Data Economy—Brochure”, Sep. 2019, https://ec.europa.eu/digital-single-market/en/news/building-data-economy-brochure

  84. “X-Road”, Wikipedia, last accessed Aug. 19, 2020, https://en.wikipedia.org/wiki/X-Road

  85. “E-Estonia”, homepage, last accessed Aug. 19, 2020, https://e-estonia.com/

  86. “GAIA-X”, homepage, last accessed Aug. 21, 2020, https://www.data-infrastructure.eu/

  87. Lockyer, M.: “ERC-998 Composable Non-Fungible Token Standard”, Apr. 15, 2018, https://github.com/ethereum/eips/issues/998

  88. “TokenSets”, homepage, last accessed Aug. 19, 2020, https://www.tokensets.com/

  89. “DashNexus”, homepage, last accessed Aug. 20, 2020, https://app.dashnexus.org

  90. Martinelli, F.: “Balancer Liquidity Mining Begins”, Balancer Blog, May 29, 2020, https://medium.com/balancer-protocol/balancer-liquidity-mining-begins-6e65932eaea9

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Trent McConaghy .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

McConaghy, T. (2022). Ocean Protocol: Tools for the Web3 Data Economy. In: Tran, D.A., Thai, M.T., Krishnamachari, B. (eds) Handbook on Blockchain. Springer Optimization and Its Applications, vol 194. Springer, Cham. https://doi.org/10.1007/978-3-031-07535-3_16

Download citation

Publish with us

Policies and ethics