leo/examples
Pranav Gaddamadugu 962526dab5 Fix flattening
2024-05-14 15:20:28 -07:00
..
auction Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
basic_bank Fix flattening 2024-05-14 15:20:28 -07:00
battleship Merge branch 'mainnet' into update/from-testnet3 2024-05-14 14:47:33 -07:00
bubblesort Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
core Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
fibonacci Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
groups Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
hackers-delight Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
helloworld Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
interest Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
lottery Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
message Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
simple_token Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
tictactoe Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
token Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
twoadicity Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
vote Update testnet3 to mainnet 2024-05-14 13:31:33 -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>