Lua¶
To create smart contracts for Aergo, you can use the Lua scripting language.
Lua is a powerful, efficient, lightweight, embeddable scripting language. It has a simple procedural syntax with a powerful data description structure. Lua supports a variety of programming methods: procedural programming, object-oriented programming, functional programming.
We use LuaJIT 2.1.0 as the VM. LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language.
You can learn the Lua programming language through the following documents:
- Lua 5.1 Reference Manual
- Programming in Lua (The second edition was aimed at Lua 5.1)
Table of contents