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
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
collin
eafd265f75
unify leo examples with workshop, run all examples in circleci
2022-09-21 15:59:33 -07:00
Pranav Gaddamadugu
67aeaa3412
Update docs
2022-09-20 23:32:12 -07:00
Pranav Gaddamadugu
975677f832
WIP docs
2022-09-20 19:20:22 -07:00
Pranav Gaddamadugu
91a2137136
Update docs for auction example
2022-09-20 13:00:14 -07:00
Alessandro Coglio
099d63555b
[examples] Address review.
2022-08-08 16:18:11 -07:00
Alessandro Coglio
07154af8ec
[examples] A very simple auction-related example.
2022-08-03 23:05:27 -07:00