Skip to content

Commit

Permalink
Merge pull request #457 from Elexy101/patch-4
Browse files Browse the repository at this point in the history
Update 05_commands.md
  • Loading branch information
d0cd authored Feb 17, 2025
2 parents 9df9150 + 9873eb2 commit fda07b8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions documentation/aleo/05_commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ package-name/
β”œβ”€β”€ program.json # Your program manifest
β”œβ”€β”€ README.md # Your program description
└── main.leo # Your program file
└── .env # environment variable (your private key, network type)
```

## `snarkvm build`
Expand All @@ -64,11 +65,6 @@ snarkvm run {$FUNCTION} {$INPUTS}
snarkvm run hello 2u32 3u32
```

To run your Aleo program function in offline mode run:
```bash
snarkvm run {$FUNCTION} {$INPUTS} --offline
```

To run your Aleo program function to a specified endpoint run:
```bash
snarkvm run {$FUNCTION} {$INPUTS} --endpoint {$ENDPOINT}
Expand All @@ -81,7 +77,7 @@ To execute your Aleo program function run:
snarkvm execute {$FUNCTION} {$INPUTS}

// Example
snarkvm run hello 2u32 3u32
snarkvm execute hello 2u32 3u32
```

To execute your Aleo program function in offline mode run:
Expand Down

0 comments on commit fda07b8

Please sign in to comment.