leo/examples
Pranav Gaddamadugu 10057b628a More cleanup
2024-05-18 16:45:40 -07:00
..
auction WIP 2024-05-18 16:43:53 -07:00
basic_bank WIP 2024-05-18 16:43:53 -07:00
battleship More cleanup 2024-05-18 16:45:40 -07:00
bubblesort Update default PK in examples .env 2024-05-15 08:22:10 -07:00
core Update default PK in examples .env 2024-05-15 08:22:10 -07:00
fibonacci Update default PK in examples .env 2024-05-15 08:22:10 -07:00
groups Update default PK in examples .env 2024-05-15 08:22:10 -07:00
hackers-delight WIP 2024-05-18 16:43:53 -07:00
helloworld Update default PK in examples .env 2024-05-15 08:22:10 -07:00
interest Update default PK in examples .env 2024-05-15 08:22:10 -07:00
lottery WIP 2024-05-18 16:43:53 -07:00
message Update default PK in examples .env 2024-05-15 08:22:10 -07:00
simple_token WIP 2024-05-18 16:43:53 -07:00
tictactoe WIP 2024-05-18 16:43:53 -07:00
token WIP 2024-05-18 16:43:53 -07:00
twoadicity Update default PK in examples .env 2024-05-15 08:22:10 -07:00
vote WIP 2024-05-18 16:43:53 -07:00
README.md WIP removing input files from examples 2024-01-15 15:45:07 -08:00

Leo Examples

This directory includes the following Leo code including:

  1. Hello World -> Basic Sum of two u32
  2. Groups -> Basic operations over groups
  3. Core -> Core functions over a field type
  4. Bubblesort -> Sorting algorithms over a tuple
  5. Message -> Initialization of a struct
  6. Token -> Record example

along with many more.

Run Guide

To run each program, run:

leo run main <inputs> 

Execute Guide

To execute each program call, run:

leo execute main <inputs>