Commit Graph

11 Commits

Author SHA1 Message Date
Alessandro Coglio
ac38dfa028
[examples] Update some example files. (#2493)
* [examples] Update some READMEs.

These contained some copied-and-pasted text that had not been updated.

Also added a note about the need to switch private key for the second command
in `simple_token`.

* [examples] Update input file for lottery.

* [examples] Remove `leo build` from `vote` script.
2023-07-21 17:13:06 -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
Collin Chin
42d97d3d89
implement group::GEN Leo syntax (#2401)
* implement group::GEN Leo syntax

* revert unrelated test changes

* move new errors to bottom of file to keep previous error codes consistent
2023-05-31 16:05:56 -07: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
Alessandro Coglio
2419408444 [examples] Some doc fixes. 2022-09-21 00:07:10 -07:00
collin
667360905f update examples 2022-08-05 18:32:07 -07:00
franfiuba
8d2b0c00fc update group example readme 2022-08-04 04:44:46 +02:00
collin
bef473b656 add import example, remove directory nesting, improve examples readme 2022-08-01 16:04:00 -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