You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/aleo/02_hello.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,8 @@ This will create **foo** directory and the files with the basic structure of the
15
15
16
16
-**README.md** having the skeleton of a README with instructions on how to compile.
17
17
-**main.aleo** the main file of the source code.
18
-
-**program.json** containing the identification of the project in JSON format. Particularly, a dev address and its private key for the program.
18
+
-**.env** stores the environment variable for the program, including the <b>NETWORK</b> and <b>PRIVATE_KEY</b> which is auto-generated when creating a new leo program
19
+
-**program.json** containing the identification of the project in JSON format and includes additional dependencies if added
19
20
20
21
The main.aleo file should have contents like this:
21
22
@@ -39,7 +40,6 @@ snarkvm run hello 2u32 3u32
39
40
You will see output like this:
40
41
41
42
```bash
42
-
• Loaded universal setup (in 1478 ms)
43
43
44
44
⛓ Constraints
45
45
@@ -65,7 +65,6 @@ snarkvm execute hello 2u32 3u32
65
65
When the execution is finished, you should see the following output:
Copy file name to clipboardExpand all lines: documentation/leo/09_auction.md
+21-3Lines changed: 21 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Follow the [Leo Installation Instructions](https://developer.aleo.org/leo/instal
39
39
This auction program can be run using the following bash script. Locally, it will execute Leo program functions to conduct, bid, and close a three party auction.
40
40
41
41
```bash
42
-
cd auction
42
+
cdleo/examples/auction
43
43
./run.sh
44
44
```
45
45
@@ -92,7 +92,16 @@ Call the `place_bid` program function with bidder 1 and `10u64` arguments.
92
92
```bash
93
93
leo run place_bid aleo1yzlta2q5h8t0fqe0v6dyh9mtv4aggd53fgzr068jvplqhvqsnvzq7pj2ke 10u64
0 commit comments