HomeAboutResearchProducts
Back to Research
AO NETWORK · TOOLING

AO Tooling: Teal

AO Network
Tooling

Sep 5, 2024


Lua is a beautiful runtime — small, fast, embeddable. It's also untyped, which is fine for scripts and disastrous for systems that move money. Teal layers static types over Lua so production-grade autonomous-finance code is checked at build time, not at the moment a process tries to multiply a string by a number with real liquidity at stake. Paired with a battle-tested big-integer implementation so financial math never silently overflows.

In this video, we introduce Teal, a typed version of Lua similar to TypeScript for JavaScript, offering type annotations for secure coding. We cover the basics of typed Lua and show you how to maximize its features. Additionally, we'll discuss a biginteger implementation by the Autonomous Finance Team for precise and secure handling of large numbers in critical applications.



Learn more:
https://github.com/Autonomous-Finance/aoform
https://github.com/Autonomous-Finance