Commit Graph

242 Commits

Author SHA1 Message Date
collin
eafd265f75 unify leo examples with workshop, run all examples in circleci 2022-09-21 15:59:33 -07:00
Collin Chin
2374f386e9
Merge pull request #2089 from AleoHQ/fix-battleship-readme
fix battleship readme - does not change any code
2022-09-21 15:20:35 -07:00
Collin Chin
716633a740
Merge pull request #2083 from AleoHQ/doc-fixes
[examples] Some doc fixes.
2022-09-21 15:19:16 -07:00
Collin Chin
efd4de44fa
Merge pull request #2082 from AleoHQ/example/update-readmes
Update READMEs for example.
2022-09-21 15:17:58 -07:00
collin
8be9c1fdb3 fix battleship readme - does not change any code 2022-09-21 15:05:21 -07:00
Alessandro Coglio
4002ad8215 Merge with testnet3. 2022-09-21 13:33:56 -07:00
Pranav Gaddamadugu
bf50384dd5 Update examples to use async before finalize 2022-09-21 13:23:24 -07:00
Collin Chin
b3aad45164
Merge pull request #2081 from AleoHQ/feat/battleship
Commit battleship example
2022-09-21 00:36:21 -07:00
collin
0ce3fcd966 commit bash script 2022-09-21 00:09:40 -07:00
Alessandro Coglio
2419408444 [examples] Some doc fixes. 2022-09-21 00:07:10 -07:00
collin
75e90c4eaa fully working with correct readme 2022-09-20 23:50:27 -07:00
Pranav Gaddamadugu
ad93709036 Update 2022-09-20 23:45:44 -07:00
Pranav Gaddamadugu
67aeaa3412 Update docs 2022-09-20 23:32:12 -07:00
Pranav Gaddamadugu
f7b5e213e6 Battleship example compiles 2022-09-20 21:45:16 -07:00
Pranav Gaddamadugu
975677f832 WIP docs 2022-09-20 19:20:22 -07:00
collin
48530523d9 wip need to finish external inputs 2022-09-20 18:26:22 -07:00
collin
368d4c530c push code to parse returning external records + battleship example 2022-09-20 17:17:43 -07:00
collin
0a86a05d20 push code to parse external calls 2022-09-20 13:58:52 -07:00
Pranav Gaddamadugu
91a2137136 Update docs for auction example 2022-09-20 13:00:14 -07:00
Pranav Gaddamadugu
48cb481d73 Update README for tictactoe 2022-09-20 11:52:21 -07:00
collin
b2550b556f remove import_point example - will add after imports stabilized 2022-09-20 10:46:58 -07:00
Collin Chin
93307b1446
Merge pull request #2075 from AleoHQ/example/vote
Commit vote example
2022-09-20 10:40:29 -07:00
Collin Chin
7501130e52
Merge pull request #2076 from AleoHQ/example/auction
Update auction example.
2022-09-20 10:39:58 -07:00
Pranav Gaddamadugu
5b0a3f20d4 Add broken_bank example 2022-09-20 08:36:30 -07:00
collin
edb3a090e2 update readme 2022-09-20 00:09:14 -07:00
Pranav Gaddamadugu
cc61c4448f Update tictactoe example 2022-09-19 19:30:11 -07:00
Pranav Gaddamadugu
66c90e622e Update auction example 2022-09-19 18:56:06 -07:00
collin
8b83e35c4e commit bash script 2022-09-19 18:29:00 -07:00
Collin Chin
32e22a2a86
Merge pull request #2071 from AleoHQ/refactor/cli-output
remove checkmark, clarify leo output for all commands
2022-09-19 18:27:24 -07:00
Collin Chin
2cb3f570c9
Merge pull request #2072 from AleoHQ/fix/tic-tac-toe
Fix tictactoe example.
2022-09-20 00:14:11 +02:00
collin
ad139ec82d commit vote example 2022-09-19 14:52:55 -07:00
Pranav Gaddamadugu
159482e3c5 Update example 2022-09-17 20:40:27 +02:00
Pranav Gaddamadugu
ab1218043a Fix tictactoe 2022-09-17 19:01:52 +02:00
collin
b9d32ee695 remove checkmark, clarify leo output for all commands 2022-09-17 16:08:19 +02:00
Eric McCarthy
94e3516e65 [examples] improve indentation 2022-09-16 18:59:59 -07:00
Pranav Gaddamadugu
7bbaaf4245 Reorganize hackers delight examples 2022-09-13 17:22:01 +02:00
Eric McCarthy
f7d1b5c0ab [examples] a few rewordings 2022-09-13 17:22:01 +02:00
Eric McCarthy
d38e33e5a0 [examples] add descriptions of ntz* algorithms in their README.md files 2022-09-13 17:22:01 +02:00
Eric McCarthy
556799971d [examples] update ntz examples with @program and calling helper functions in places 2022-09-13 17:22:01 +02:00
Eric McCarthy
3b1895f8df [examples] eight 32-bit versions of trailing zeros from Hacker's Delight 2022-09-13 17:22:01 +02:00
Pranav Gaddamadugu
c2bed2bb54 Add name to finalize block 2022-09-13 11:06:24 +02:00
Pranav Gaddamadugu
0fa8082656 Update token example 2022-09-06 12:14:36 -07:00
d0cd
541209a92c
Merge pull request #1997 from AleoHQ/example-twoadicity
[examples] twoadicity: number of factors of two in field value
2022-08-15 08:52:10 -07:00
Collin Chin
52060b0fe8
Merge pull request #1993 from AleoHQ/example-tictactoe
[examples] A tic-tac-toe app.
2022-08-09 16:19:26 -07:00
Collin Chin
0160ad02ca
Merge pull request #1991 from AleoHQ/example-auction
[examples] A very simple auction-related example.
2022-08-09 16:19:07 -07:00
Eric McCarthy
87cbd39a66 reword comment 2022-08-09 10:13:09 -07:00
Alessandro Coglio
af7b84815a [examples] Expand tic-tac-toe documentation a bit. 2022-08-08 17:03:34 -07:00
Alessandro Coglio
d63fb7a657 [examples] Improve README. 2022-08-08 16:56:31 -07:00
Alessandro Coglio
f0e1b84618 [examples] Change 'period' to 'iteration'. 2022-08-08 16:51:37 -07:00
Alessandro Coglio
60180e78e5 [examples] Add explanations to auction example. 2022-08-08 16:34:28 -07:00
Alessandro Coglio
099d63555b [examples] Address review. 2022-08-08 16:18:11 -07:00
Alessandro Coglio
1ea21716cf [examples] Ensure correct record address.
Also vary the other addresses.
2022-08-05 22:56:46 -07:00
Eric McCarthy
c54740cc5e [examples] update field twoadicity example with @program and calling helper function 2022-08-05 22:48:43 -07:00
Alessandro Coglio
855853d262 [examples] Add a record nonce. 2022-08-05 22:36:53 -07:00
Eric McCarthy
57984afb26 merge 2022-08-05 22:36:26 -07:00
Alessandro Coglio
4a6b9404af [examples] Add @program annotation. 2022-08-05 22:33:14 -07:00
Alessandro Coglio
5d3c7a6516 [examples] Try a different address. 2022-08-05 22:31:14 -07:00
Alessandro Coglio
ea6bee21f0 [examples] Add @program annotation. 2022-08-05 22:03:43 -07:00
Alessandro Coglio
47f283fb9b [examples] Add @program annotations. 2022-08-05 21:59:22 -07:00
Alessandro Coglio
e36df09477 Merge testnet3. 2022-08-05 20:48:15 -07:00
Alessandro Coglio
8c0991780a Merge testnet3. 2022-08-05 20:47:49 -07:00
Alessandro Coglio
a178456a98 Merge testnet3. 2022-08-05 20:47:22 -07:00
collin
a1e91270e8 update helloworld 2022-08-05 18:38:50 -07:00
collin
667360905f update examples 2022-08-05 18:32:07 -07:00
collin
a29a293f30 Merge branch 'testnet3' of github.com:AleoHQ/leo into example-interest 2022-08-05 11:56:57 -07:00
collin
f7f6cdaef0 Merge branch 'testnet3' of github.com:AleoHQ/leo into example-auction 2022-08-05 11:56:38 -07:00
collin
6b0dc3a314 Merge branch 'testnet3' of github.com:AleoHQ/leo into example-tictactoe 2022-08-05 11:56:18 -07:00
collin
efee2e72f1 Merge branch 'testnet3' of github.com:AleoHQ/leo into example-twoadicity 2022-08-05 11:51:11 -07:00
d0cd
4b4935d044
Merge pull request #1990 from AleoHQ/update_leo_examples_readme
Update leo examples documentation
2022-08-05 08:45:04 -07:00
Eric McCarthy
2f801a50d1 [examples] twoadicity: number of factors of two in field value 2022-08-04 22:52:40 -07:00
Alessandro Coglio
2e0b542971 [examples] A tic-tac-toe app. 2022-08-04 15:08:05 -07:00
Pranav Gaddamadugu
3b9598d768 Fixed inputs; examples working 2022-08-04 11:29:36 -07:00
Pranav Gaddamadugu
94f026bd52 Dedup interest examples; update docs 2022-08-04 10:32:04 -07:00
Alessandro Coglio
056dbc0606 [examples] Enhance READMEs. 2022-08-04 10:32:04 -07:00
Alessandro Coglio
4621b87712 [examples] Tweak. 2022-08-04 10:32:04 -07:00
Alessandro Coglio
9deaa52aa6 [examples] Update constant and comments. 2022-08-04 10:32:04 -07:00
Alessandro Coglio
01c158e1ae [examples] Slightly more elaborate interest program.
Now the number of periods is an input (up to a max).
2022-08-04 10:32:04 -07:00
Alessandro Coglio
123aa2822c [example] Simple interest calculation. 2022-08-04 10:32:04 -07:00
Alessandro Coglio
54f2410e96 [examples] Get this to compile at least. 2022-08-03 23:21:54 -07:00
Alessandro Coglio
07154af8ec [examples] A very simple auction-related example. 2022-08-03 23:05:27 -07:00
franfiuba
f39e616c63 first update of the bubble sort readme 2022-08-04 04:46:44 +02:00
franfiuba
f2367962d6 update helloworld readme example 2022-08-04 04:45:47 +02:00
franfiuba
8d2b0c00fc update group example readme 2022-08-04 04:44:46 +02:00
franfiuba
69336dd8f2 created a root readme in the examples folder 2022-08-04 04:43:54 +02:00
collin
e5da76abaf impl nonce 2022-08-03 13:35:58 -07:00
collin
f0a6e9421b fix import example and logging output 2022-08-01 16:23:20 -07:00
collin
bef473b656 add import example, remove directory nesting, improve examples readme 2022-08-01 16:04:00 -07:00
Pranav Gaddamadugu
3a5c0abbef Introduce bubblesort_tuple example 2022-07-29 08:51:09 -07:00
Pranav Gaddamadugu
17efb7e9f3 Minor cleanup 2022-07-21 09:37:45 -07:00
collin
97594cac4d add token example comments 2022-07-21 00:15:06 -07:00
collin
73fd21f198 fix groups example, add comments 2022-07-20 23:25:13 -07:00
collin
a3e2944d55 add other examples 2022-07-20 16:07:37 -07:00
collin
f8582c398d fix manifest run bug 2022-07-20 15:56:48 -07:00
Pranav Gaddamadugu
a6feb314a7 Produce a valid record as input 2022-07-20 15:02:33 -07:00
Pranav Gaddamadugu
0570a421f0 Mint function executes 2022-07-20 13:09:43 -07:00
Pranav Gaddamadugu
eb1f9a561f Update token example with mint and transfer 2022-07-20 12:31:04 -07:00
collin
5aa53cd897 remove empty directory 2022-07-18 14:31:28 -07:00
collin
d165c6088d update examples 2022-07-18 12:50:59 -07:00
collin
5316d900f4 merge testnet3, regen tests 2022-07-18 12:32:15 -07:00
collin
6aec344ed3 impl leo run foo to target program names 2022-07-16 17:38:07 -07:00