Skip to content

Khvesyk/Aleo.project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aleo.project

Run Guide

To run this program, run:

leo run play

or 

./run.sh

Execute Guide

To execute this program, run:

leo execute play

The leo help command

Open a new terminal window and type:

leo --help

to confirm that Leo is installed.

The leo account command

leo account new

Continue in your existing terminal window and type

leo account new

you should see something similar to the following output:

Private Key  APrivateKey1zkpAeeSTY6CuV2ahuJsHLqBFEChK3NnKxLqDyFoMQVmi1Ru
View Key  AViewKey1cuV5NU4WgkHezc6fFFduECwrpGg8knqyb78YFJVmhhMT
Address  aleo14hmf2rfh5nne6m7wsqlklqzcagh2tjydecvjycgj80snnns9svqsyjzsll

The leo example command

Continue in your exsiting terminal window and type:

leo example $NAME

You should see the following output:

Create a new Leo example package in a new directory
    
Usage: leo example [OPTIONS] <COMMAND>
    
Commands:
  lottery    A public lottery program
  tictactoe  A standard tic-tac-toe game program
  token      A transparent & shielded custom token program
  help       Print this message or the help of the given subcommand(s)
    
Options:
  -d                 Print additional information for debugging
  -q                 Suppress CLI output
      --path <PATH>  Optional path to Leo program root folder
  -h, --help         Print help

Choose one of the examples, and create it using the leo example command like so:

leo example tictactoe

The leo run command

leo run $FUNCTION

Navigate to the root of your Leo project's folder using the

cd

command, i.e.,

cd tictactoe

To run your new Leo example, refer to the included

README.md

file, which you can find in the root of your newly created project's folder.

An example

leo run

command for the tictactoe application is

leo run new

which creates a new game board.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages