ErgoScript Tooling#
ErgoScript is a powerful and flexible language for creating smart contracts on the Ergo blockchain. As with any programming language, having the right tools can greatly enhance the development experience and productivity. This page provides an overview of various tools, resources, and examples to help you get started with ErgoScript development.
Introduction#
ErgoScript is a domain-specific language designed specifically for the Ergo blockchain. It is inspired by Scala and allows developers to create secure and efficient smart contracts. While ErgoScript is not Turing-complete, it can be used to build Turing-complete applications by leveraging the extended UTXO model of the Ergo blockchain.
The ErgoScript ecosystem offers a wide range of tools and resources to help developers at all levels, from beginners to experienced professionals. These tools include playgrounds, tutorials, courses, explanations, references, and examples.
Playgrounds#
- escript.online
- Compile ErgoScript directly in your browser with ErgoScript Playground
- There is also Scastie
- Kiosk lets anyone play with ErgoScript using a basic web-based UI
- ergoscript-compiler
Editor Support#
- ErgoScript Language Server and IntelliJ plugin provides diagnostics, completion, hover documentation, navigation, rename, inferred-type hints, semantic highlighting, and quick fixes. The standalone server requires Node.js 16 or later and communicates over standard input/output, so editors other than IntelliJ can use it through an LSP client.
- The IntelliJ plugin targets IntelliJ IDEA 2026.2 or later. Syntax highlighting works without IntelliJ's LSP module; language-server features require that optional module. This is experimental community tooling and does not invoke the reference compiler, so it cannot detect ErgoTree serialization or execution-cost failures.
Courses#
- ErgoScript 101 Crash Course (Slides)
- Learn ErgoScript By Example Via The Ergo Playground with Robert Kornacki (Video)
- The ErgoScript Developer Course from DeCo Education
- Deco Education: 2022 Script Class
Tutorials#
Advanced Tutorials#
Explanations#
References#
Examples#
Visual#
- FlowCards is A Declarative Framework for Development of Ergo dApps
- flowcardLib: Ergo FlowCard library for diagrams.net
- ergo-castanet
Box#
Here is a box you can experiment with: