TApps are rich decentralized applications that run on the TEA network. Due to the TEA Project's unique two layer architecture, TApps are able to run at cloud computing speeds while being hosted on distributed TEA mining nodes. TApps are coded in WebAssembly and securely interact with customer data in TPM-protected trusted enclaves.
From the end-users perspective, two steps are needed before deploying any TApp for use:
- 1.A spending limit for the TApp must be set. This ensures that a TApp can't spend more than what you've alloted for that TApp. As money is spent in the TApp, the spending limit is reduced. In this way it functions like an allowance that can be spent, with the end-user able to bump it up at any time.
- 2.A node must be selected to run the TApp. Because of TEA's architecture, TApps are "hosted" in IPFS waiting for deployment. Because IPFS is just storage, the node that the end-user requests will download the compiled TApp binary from IPFS and execute in the node together with any data that the end-user provides.
Developers interested in coding and deploying their own TApps can reference the following resources:
- Developer methodology introduces some important concepts for developers new to developing for the TEA ecosystem. It also discusses the TEA tech stack, including WebAssembly and IPFS.
- Creating a TApp shows how to deploy a TApp to the TEA Project once it's been compiled to WebAssembly format.
- TEA-Billing is the base document with information and related links for understanding TEA's billing system.
- The TEA Party TApp. TEA Party is a social messaging app that's also useful for developers to study and learn from.
- The TEA Influencer TApp. TEAfluencer is a TApp template that can be used by any influencer to create their own faucet for the TEA ecosystem.