Leo for Visual Studio Code
The Leo Programming LanguageLeo is a functional, statically-typed programming language built for writing private applications. Table of Contents
1. OverviewWelcome to the Leo programming language. Leo provides a high-level language that abstracts low-level cryptographic concepts and makes it easy to integrate private applications into your stack. Leo compiles to circuits making zero-knowledge proofs practical. The syntax of Leo is influenced by traditional programming languages like JavaScript, Scala, and Rust, with a strong emphasis on readability and ease-of-use. Leo offers developers with tools to sanity check circuits including unit tests, integration tests, and console functions. Leo is one part of a greater ecosystem for building private applications on Aleo. The language is currently in an alpha stage and is subject to breaking changes. 2. Build Guide2.1 Install RustWe recommend installing Rust using rustup. You can install
2.2 Build from Source CodeWe recommend installing Leo by building from the source code as follows:
Now to use leo, in your terminal, run:
3. Quick StartUse the Leo CLI to create a new project
The The Congratulations! You've just run your first Leo program. 4. TroubleshootingIf you are are having trouble installing and using Leo, please check out our guide. If the issue still persists, please open an issue. 5. Documentation6. ContributingPlease see our guidelines in the developer documentation Thank you for helping make Leo better! 7. License |