mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 15:15:47 +03:00
27 lines
510 B
Markdown
27 lines
510 B
Markdown
# 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:
|
|
```bash
|
|
leo run main <inputs>
|
|
```
|
|
|
|
## Execute Guide
|
|
|
|
To execute each program call, run:
|
|
```bash
|
|
leo execute main <inputs>
|
|
```
|