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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
DEX = Decentralized Exchange.
- 2.
DAO = Decentralized Autonomous Organization.
- 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.
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.
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.
Deployed to Ethereum mainnet to start, then to other networks in time. A later section elaborates.
- 7.
Thanks to Simon de la Rouviere for this framing, which he in turn derived from Austin Griffith.
- 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.
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.
CEX = Centralized Exchange.
- 11.
Thanks to Simon Mezgec for this suggestion.
References
“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
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
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
Buterin, V.: Ethereum: A Next-Generation Smart Contract and Decentralized Application Platform, Dec. 2013, https://ethereum.org/en/whitepaper/
McConaghy, T.: “Mission & Values for Ocean Protocol”, July 23, 2018, https://blog.oceanprotocol.com/mission-values-for-ocean-protocol-aba998e95b8
Goldin, M.: “Mike’s Cryptosystems Manifesto”, Google Docs, 2017, https://docs.google.com/document/d/1TcceAsBlAoFLWSQWYyhjmTsZCp0XqRhNdGMb6JbASxc/edit
Graham, P.: “How to Start a Startup”, Paul Graham Blog, March 2005, http://www.paulgraham.com/start.html?viewfullsite=1
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
Vogelsteller, F., Buterin, V.: “ERC-20 Token Standard”, Nov. 19, 2015, https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
Buterin, V.: Twitter, Feb. 18, 2020, https://twitter.com/VitalikButerin/status/1229819782230241280
Oauth Team, “Oauth 2.0 Spec”, Oauth Website, last accessed Aug. 19, 2020, https://oauth.net/2/
“Create, read, update, and delete”, Wikipedia, last accessed Aug. 19, 2020, https://en.wikipedia.org/wiki/Create,_read,_update_and_delete
Pregelj, J.: “CRAB—Create. Retrieve. Append. Burn”, BigchainDB blog, Oct. 19, 2017, https://blog.bigchaindb.com/crab-create-retrieve-append-burn-b9f6d111f460?gi=209a8d51b780
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
“Chainlink”, Homepage, last accessed Aug. 20, 2020, https://chain.link/
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
“Ocean Protocol Software Documentation”, last accessed Aug 20, 2020, https://docs.oceanprotocol.com/
“Ocean Contracts”, Ocean Protocol GitHub, last accessed Aug. 31, 2020, https://github.com/oceanprotocol/ocean-contracts
“Ocean-lib: JavaScript”, Ocean Protocol GitHub, last accessed Aug. 31, 2020, https://github.com/oceanprotocol/ocean-lib-js
“Ocean-lib: Python”, Ocean Protocol GitHub, last accessed Aug. 31, 2020, https://github.com/oceanprotocol/ocean-lib-py
“Ocean Market”, Ocean Protocol GitHub, last accessed Aug. 31, 2020, https://github.com/oceanprotocol/market
“Ocean React Hooks”, Ocean Protocol GitHub, last accessed Aug. 31, 2020, https://github.com/oceanprotocol/react
“Balancer”, homepage, last accessed Aug. 21, 2020, https://balancer.finance
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
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
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/
“Ocean Enhancement Proposal 7: Decentralized Identifiers,” last accessed Feb. 11, 2019, https://github.com/oceanprotocol/OEPs/tree/master/7
Crockford, D.: “Introducing JSON”, Webpage, last accessed Aug 19, 2020, https://www.json.org/
“Ocean Enhancement Proposal 8: Assets Metadata Ontology,” last accessed Feb. 11, 2019, https://github.com/oceanprotocol/OEPs/tree/master/8
“Schema.org DataSet schema”, last accessed Feb. 11, 2019, https://schema.org/Dataset
W3C, “Verifiable Credentials Data Model 1.0”, W3C Recommendation, November 2019, https://www.w3.org/TR/vc-data-model/
3Box Team, “3Box: User Data Cloud”, 3Box Homepage, last accessed Aug 19, 2020, https://3box.io/
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
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
“Ocean Roadmap || Setting sail to 2021”, Ocean Protocol Blog, Feb. 13, 2019, https://blog.oceanprotocol.com/ocean-roadmap-setting-sail-to-2021-70c2545547a7
“Ocean Product Update || 2020”, Ocean Protocol Blog, Mar .19, 2020, https://blog.oceanprotocol.com/ocean-product-update-2020-f3ae281806dc
McConaghy, T.: “The DCS Triangle: Decentralized, Consistent, Scalable”, July 10, 2016, https://blog.bigchaindb.com/the-dcs-triangle-5ce0e9e0f1dc
Xdai Team, “Xdai Chain”, homepage, https://www.xdaichain.com/
“About the AMB”, TokenBridge homepage, last accessed Sept. 3, 2020, https://docs.tokenbridge.net/amb-bridge/about-amb-bridge
“Parity Substrate: Build your own blockchains”, last accessed Aug. 19, 2020, https://www.parity.io/substrate/
Ethereum Optimism Team, “Optimistic Virtual Machine Alpha”, Ethereum Optimism Blog, Feb. 12, 2020, https://medium.com/ethereum-optimism/optimistic-virtual-machine-alpha-cdf51f5d49e
“Cosmos SDK Documentation”, homepage, last accessed Aug. 19, 2020, https://docs.cosmos.network/
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
Kuhn, E.: “Let’s Talk About Data Pricing — Part II”, Aug. 21, 2019, https://blog.oceanprotocol.com/value-of-data-part-two-pricing-bc6c5127e338
“Aragon Court”, homepage, last accessed Aug. 20, 2020, https://aragon.org/court
McDonald, M.: “Building Liquidity into Token Distribution”, Mar. 4, 2020, https://medium.com/balancer-protocol/building-liquidity-into-token-distribution-a49d4286e0d4
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/
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
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
Monegro, J.: “Proof of Liquidity”, Placeholder blog, May 22, 2020, https://www.placeholder.vc/blog/2020/5/22/proof-of-liquidity
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
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
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
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
“General Data Protection Regulations”, Wikipedia, last accessed Aug. 21, 2020, https://en.wikipedia.org/wiki/General_Data_Protection_Regulation
“Solidity”, Wikipedia, last accessed Aug. 21, 2020, https://en.wikipedia.org/wiki/Solidity
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
“OpenMined”, homepage, last accessed Aug. 20, 2020, https://www.openmined.org/
Azure ML Team, “Microsoft Azure Machine Learning Studio”, homepage, last accessed Aug. 19, 2020, https://studio.azureml.net/
“Etherscan”, homepage, last accessed Aug. 21, 2020, https://etherscan.io
CoinGecko Team, CoinGecko website, last accessed Aug. 19, 2020 https://www.coingecko.com
CoinMarketCap Team, CoinMarketCap website, last accessed Aug. 19, 2020, https://www.coinmarketcap.com
“Decentralized Autonomous Organization”, Wikipedia, last accessed Aug. 19, 2020, https://en.wikipedia.org/wiki/Decentralized_autonomous_organization
“Saskatchewan Wheat Pool”, Wikipedia, last accessed Aug. 21, 2020, https://en.wikipedia.org/wiki/Saskatchewan_Wheat_Pool
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
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
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
Balancer Team, “Configurable Rights Pool”, GitHub Repository, published Aug, 2020, https://github.com/balancer-labs/configurable-rights-pool
Delmonti, A.: Introducing PieDAO, the asset allocation DAO, Mar. 3, 2020, https://medium.com/piedao/introducing-piedao-the-asset-allocation-dao-1af9eec5ee4
“Melon Protocol”, homepage, last accessed Aug. 19, 2020, https://melonprotocol.com/
“MOBI—Mobility Open Blockchain Initiative”. Homepage. Last accessed Aug. 20, 2020, https://dlt.mobi/
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
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
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
“Kleros”, homepage, last accessed Aug. 20, 2020, https://kleros.io/
“Shopify”, homepage, last accessed Aug. 21, 2020, https://shopify.com
Buterin, V.: “Explanation of DAICOs”, Eth.Research Blog, Jan. 2018, https://ethresear.ch/t/explanation-of-daicos/465
Vogelsteller, F.: “rICO—The Reversible ICO”, Lukso Blog, Apr. 13, 2020, https://medium.com/lukso/rico-the-reversible-ico-5392bf64318b
Uma Team, “UMA Initial Uniswap Listing”, Apr. 22, 2020, https://medium.com/uma-project/umas-initial-uniswap-listing-afa7b6f6a330
“Unisocks”, homepage, https://unisocks.exchange/
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
@Bitcoin, Twitter, Apr. 4, 2020, https://twitter.com/Bitcoin/status/1246482664376414209
European Commission, “Building a Data Economy—Brochure”, Sep. 2019, https://ec.europa.eu/digital-single-market/en/news/building-data-economy-brochure
“X-Road”, Wikipedia, last accessed Aug. 19, 2020, https://en.wikipedia.org/wiki/X-Road
“E-Estonia”, homepage, last accessed Aug. 19, 2020, https://e-estonia.com/
“GAIA-X”, homepage, last accessed Aug. 21, 2020, https://www.data-infrastructure.eu/
Lockyer, M.: “ERC-998 Composable Non-Fungible Token Standard”, Apr. 15, 2018, https://github.com/ethereum/eips/issues/998
“TokenSets”, homepage, last accessed Aug. 19, 2020, https://www.tokensets.com/
“DashNexus”, homepage, last accessed Aug. 20, 2020, https://app.dashnexus.org
Martinelli, F.: “Balancer Liquidity Mining Begins”, Balancer Blog, May 29, 2020, https://medium.com/balancer-protocol/balancer-liquidity-mining-begins-6e65932eaea9
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
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
DOI: https://doi.org/10.1007/978-3-031-07535-3_16
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-07534-6
Online ISBN: 978-3-031-07535-3
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)