The TEA Project’s 3 Types of Mining CML

  • Hosting CML nodes host individual TApps.
  • Private CML nodes can fetch TApps to a local environment to interact with the user’s private data.
From left to right: private CML, hosting CML, and global CML
  • Each mining machine’s characteristics (e.g., its RAM and whether it has a graphics card) will be recorded within the CML NFT.
  • The DAO regulates CML supply to ensure that there isn’t an oversupply in the market (too many miners and not enough TApps to host).

Global CML Nodes

The TEA Project is different from smart contract platforms that are limited to storing everything on their blockchains. In contrast, the TEA Project’s layer-1 blockchain doesn’t keep any app data there. The TEA Project’s state machine only stores the TApps’ transactions in memory.

  • Every global CML node will have the same copy of the state in its memory.
  • Only global CML nodes are allowed to maintain the state machine based on Proof of Time.

Hosting CML

The hosting CML hosts developers’ code that’s been compiled to WASM and and uploaded (encrypted) to IPFS. When a hosting CML “hosts” this code and the data it acts upon, they’re then decrypted when it enters the node’s TPM-protected enclave.

Hosting CML Handles Some Database Functions

Although we say that the global CML handle the database needs of TApps, there are certain situations where the hosting CML is involved with providing a database infrastructure to TApps.

Private CML Nodes

Private CML nodes are what users will plant into their private machines (e.g., a home router or home computer) to allow TApps to interact with their private data. You can imagine a scenario where users don’t want their data stored somewhere on centralized servers. The TEA Project’s “send the code to the data” paradigm allows for users to stay in control of their data which never leaves the house even when interacting with TApps.

Private CML is useful when calling a TApp to interact with private data in the home



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store