Skip to main content
ERGO
  • Docs
  • Blog
Get Wallet
PLATFORM
TechnologyUse CasesEcosystemCompare BlockchainsInfographicsWallets
LEARN
Start HereDocumentationGlossaryFAQPlaybooksDev Patterns
COMMUNITY
BlogDiscordTelegramTwitterGitHubGrants

© 2025 ERGO PLATFORM. ALL RIGHTS RESERVED.

ERGO IS AN OPEN-SOURCE PROJECT. CONTRIBUTE ON GITHUB

Home
Q&A
Technology
What is ErgoScript and how does it work?
Explainer
Technology
Updated 1/1/2025

What is ErgoScript and how does it work?

ErgoScript is Ergo's smart contract language - a Scala-based, functional language that compiles to ErgoTree for on-chain execution. Unlike Solidity, ErgoScript is not Turing-complete by design, ensuring predictable execution costs and easier formal verification. It's powerful enough for complex DeFi yet safe enough to audit.

  • Scala-based functional language
  • Compiles to ErgoTree (on-chain format)
  • Not Turing-complete: predictable costs
  • Supports Sigma Protocols natively
  • Easier to audit than Solidity
  • Powers all Ergo smart contracts

Deep Dive Resources

Technology
Learn

ErgoScript Guide

Glossary
Definition

ErgoScript

Documentation
Build

Developer Docs

Playbook
Practice

Build DeFi

Explore This Topic

Ergo Technology

Deep dive into all Technology resources

Related Questions

How to build DeFi on Ergo?
What is eUTXO and how does it work?
How does ErgoScript work?

Still have questions?

Join our community and get answers from Ergo experts.

Join CommunityBrowse All Questions