Commit Graph

25 Commits

Author SHA1 Message Date
metavind
2cade3e00b
fix: correct typos for win check 2024-03-31 21:47:58 +02:00
Pranav Gaddamadugu
0d0c598748 Update examples 2024-01-15 15:45:09 -08:00
Pranav Gaddamadugu
7e145728e0 Update CI and examples 2024-01-15 15:45:08 -08:00
Pranav Gaddamadugu
e8a46b7628 WIP removing input files from examples 2024-01-15 15:45:07 -08:00
evan-schott
de8b2a2cad make example compatible w/ stubs 2023-12-11 13:19:42 -08:00
Rajesh Muppalla
19e421b650
Fixing a bug in examples/TicTacToe (#1)
Signed-off-by: Rajesh Muppalla <1348422+codingnirvana@users.noreply.github.com>
2023-10-05 14:43:55 +05:30
Collin Chin
12570e4602
Commit leo example tests (#2524)
* commit leo example tests

* improve leo example readme's and ci

* commit leo token example script
2023-08-14 15:26:55 -07:00
Collin Chin
d31b707c4b
Update leo examples (#2501)
* improve leo example run scripts

* add leo build warning message, reduce number of calls to snarkvm package open

* cargo clippy

* Update examples/token/run.sh

Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* Update examples/token/run.sh

Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* Update examples/token/run.sh

Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* Update examples/token/run.sh

Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* Update examples/token/run.sh

Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* fix comments

* make auctioneer the starting private key in auction example

---------

Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
2023-07-24 10:33:41 -07:00
Collin Chin
d44457fc32
[Feature] Implement leo execute (#2491)
* bump snarkvm rev

* update default gitignore

* impl leo execute

* bump snarkvm 0.14.5

* modify examples wip

* update run.sh examples

* impl env file

* clippy warning

* fix auction example

* fix auction example env

* generate new private key for new env - tests failing due to env not found err

* commit error changes

* Fix tests; clippy

* Get examples working

* leo build checks that build dir is well formed; clippy

* Clean up

* Update examples/README.md

Co-authored-by: d0cd <pranavsaig@gmail.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* do not commit .avm files

* use snarkvm commands

---------

Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: Pranav Gaddamadugu <pranav@aleo.org>
Co-authored-by: d0cd <pranavsaig@gmail.com>
2023-07-19 18:04:09 -07:00
d0cd
751e79a66e More fixes to example scripts
WIP scripts

WIP alias leo

WIP alias leo

WIP alias leo
2023-02-16 12:51:19 -08:00
d0cd
9ad7a0477c Update example scripts 2023-02-16 09:13:51 -08:00
d0cd
48a1f0590b
Rename console.assert* to assert*. (#2205)
* Add assert statements to AST

* Add support in passes

* Add parser support

* Add tyc support

* Add support for assert statements in the remaining passes

* Fix examples, tests, and regen expectations

* Fmt

* Regen expectations
2022-12-06 21:56:48 -08:00
Pranav Gaddamadugu
d7813923d2 More examples 2022-10-06 00:17:51 -07:00
Pranav Gaddamadugu
a886357585 Update examples to use transition keyword 2022-10-03 11:22:37 -07:00
Pranav Gaddamadugu
99ec270f8a Rename examples 2022-09-30 10:37:29 -07:00
collin
eafd265f75 unify leo examples with workshop, run all examples in circleci 2022-09-21 15:59:33 -07:00
Pranav Gaddamadugu
975677f832 WIP docs 2022-09-20 19:20:22 -07:00
Pranav Gaddamadugu
48cb481d73 Update README for tictactoe 2022-09-20 11:52:21 -07:00
Pranav Gaddamadugu
cc61c4448f Update tictactoe example 2022-09-19 19:30:11 -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
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
4a6b9404af [examples] Add @program annotation. 2022-08-05 22:33:14 -07:00
Alessandro Coglio
2e0b542971 [examples] A tic-tac-toe app. 2022-08-04 15:08:05 -07:00