Introduction to TELA
Introduction to TELA

TELA Platform Overview

TELA (Tiny Encrypted Local Apps) is the Decentralized Web Standard for DERO blockchain. Build privacy-first web applications that run entirely on-chain with zero servers, zero censorship, and complete user control.

🚀

The Future of Web3: TELA is the ONLY platform enabling fully private, censorship-resistant web applications with encrypted storage and local execution.

The TELA Difference

Traditional Web Architecture:

User → Company Server → Database

    Logs, Tracks, Controls Access
    Can be hacked, censored, taken offline

TELA Architecture:

User → Engram (Local) → DERO Blockchain

    Runs on your computer
    Cannot be hacked, censored, or taken offline

What Makes TELA Special?

Three Revolutionary Features:

FeatureTraditional WebTELA
🗄️ StorageCentralized serversDERO blockchain (distributed)
🔒 PrivacyServer logs everythingLocal execution (zero tracking)
⚡ PerformanceServer latency + downtimeInstant local execution
📡 NetworkAlways online requiredWorks offline
💰 CostsMonthly hosting feesOne-time blockchain fee
🌍 AccessGeo-restrictions possibleGlobal, unstoppable
🛡️ CensorshipCan be taken downImpossible to censor

🔐 True Decentralization

No servers = No single point of failure

Traditional Web:

All Users → Single Server → 💥 If server fails, app goes offline

TELA:

Each User → DERO Blockchain (distributed globally)

        Always available, distributed worldwide
        No single point of failure

Result: TELA applications remain globally available around the clock - no servers to go down, no hosting companies to fail.


🔒 Privacy by Design

Your data stays on YOUR device

What HappensTraditional WebTELA
Code executionServer-side (they see everything)Local (you control everything)
User dataStored on company serversStays on your device
Activity logsServer tracks every actionZero tracking, zero logs
Third partiesAnalytics, ads, trackersNone - completely private
BlockchainPublic ledger (addresses visible)DERO privacy (encrypted)

Local-First Performance

Instant loading, works offline

MetricTraditional WebTELA
Initial LoadDepends on server locationInstant (cached locally)
NavigationHTTP requests per pageInstant (already local)
Offline❌ Doesn't work✅ Full functionality
Latency50-500ms+Under 1ms (local)
Blockchain SyncN/AOnly when updating content

How TELA Works: Dual-Contract System

TELA uses two smart contract types:

Deployment Flow:

Developer

Deploy: index.html → DOC Contract (SCID: abc...)
Deploy: app.js    → DOC Contract (SCID: def...)
Deploy: style.css → DOC Contract (SCID: ghi...)

Create: INDEX Contract → References all DOC SCIDs

DERO Blockchain (Permanent Storage)

User Access Flow:

User enters INDEX SCID into Engram

Engram fetches INDEX from blockchain

INDEX points to all DOC contracts (abc, def, ghi...)

Engram fetches all DOCs from blockchain

Verifies cryptographic hashes

Executes app locally in Engram

📋 INDEX Contract (Application Manifest)

ContainsPurpose
App Name"My TELA App"
DescriptionWhat the app does
IconApp thumbnail
DOC ReferencesSCIDs of all files
File PathsHow files are organized
VersionApp version number

Think: Package.json for on-chain apps


📦 DOC Contract (Application Files)

Supported File Types:

TypeFile ExtensionMax SizeUse Case
HTML.html18KBPage structure
CSS.css18KBStyling
JavaScript.js18KBLogic & interactivity
JSON.json18KBData & config
Markdown.md18KBDocumentation
Static AssetsImages, fonts18KBAssets

Size limit: 18KB per DOC contract (blockchain constraint)
Solution: Split large files across multiple DOC contracts


Development Workflow

From idea to deployed app:

StepActionToolOutput
AWrite your appAny code editorHTML, CSS, JS files
BTest locallyTELA-CLI servePreview in browser
CDeploy filesTELA-CLI install-docDOC contracts (SCIDs)
DCreate manifestTELA-CLI install-indexINDEX contract (SCID)
EShare & accessGive users INDEX SCIDApp live on blockchain!

Complete Architecture

Full TELA Stack (4 Layers):

LayerComponentFunction
👤 User LayerUser in EngramBrowses and interacts with apps
📱 TELA ProtocolINDEX + DOC contractsApp manifest + code files
🔐 Security LayerXSWD (port 44326) + VerificationWallet connection + hash checking
💾 Storage LayerDERO Blockchain + WalletImmutable storage + private keys

Data Flow:

User enters SCID

Engram fetches INDEX from blockchain

INDEX points to DOC contracts (files)

Engram fetches all DOCs from blockchain

Cryptographic verification (hash matching)

Execute locally in Engram (sandboxed)

User interacts (XSWD handles wallet operations)

Every layer is decentralized, private, and verifiable!


Technical Foundation

Smart Contract Architecture

Contract TypeMutabilityPurposeSize Limit
DOC Contract🔒 ImmutableStore code files18KB per file
INDEX Contract✏️ UpdateableApp metadata & referencesVariable

Why two types?

  • DOC immutability → Code integrity guaranteed
  • INDEX updateability → Apps can evolve (point to new DOCs)
  • User control → Can verify exact code version running

Version Control:

Version A → DOC Contract (SCID: abc123...)
Version B → DOC Contract (SCID: def456...)

INDEX Contract can switch between versions
All versions remain on blockchain forever

Supported Languages

TELA supports a wide range of file types through its document type system:

Community Rating System

TELA includes an integrated rating system that helps users evaluate content quality and trustworthiness:

  • One rating per DERO account per contract prevents spam
  • Structured 0-99 scale with meaningful categories and detail tags
  • Blockchain transparency - All ratings are publicly visible
  • Community moderation without centralized gatekeepers

Rating Categories

RatingCategoryMeaning
0-9Do not use → BrokenContent has serious issues
10-49Major → Minor issuesContent needs improvement
50-59Could be improvedDecent quality with room for growth
60-69AverageStandard quality, meets expectations
70-89Good → Very goodHigh quality content
90-99ExceptionalOutstanding, best-in-class content

Learn more about the Content Rating System.

TELA vs Traditional Web

Traditional WebTELA Applications
Hosted on serversStored on blockchain
CentralizedDecentralized
Privacy concernsComplete privacy
Server dependenciesNo external dependencies
Can be censoredCensorship resistant
Server maintenance costsOne-time deployment cost
Geographic restrictionsGlobally accessible

Next Steps

Ready to start building with TELA? Choose your path:


Related Pages

Understanding TELA:

Build with TELA:

Advanced Topics: