Index

pravda [gen|run|compile|broadcast|execute|node]

Description

Pravda Command Line Interface

To learn about the options for the particular command you can use the flag --help or -h after the command. For example, to get help regarding the use of the "gen address" command, type "pravda gen address -h"

No options available

Commands

Command Description
gen address Generate the ed25519 key pair. It can be used as a regular wallet or a validator node identifier.
gen unity Generate the auxiliary code to call the program's methods from Unity
run Run byte-code on Pravda VM
compile asm Assemble Pravda VM bytecode from the text representation. The input file is a Pravda assembly language text file. The output is a binary Pravda program. By default read from stdin and print to stdout.
compile disasm Disassemble Pravda VM bytecode to the text presentation. The input file is a Pravda executable binary. The output is a text file with Pravda assembly code. By default read from stdin and print to stdout.
compile dotnet Compile .exe produced by .NET compiler to Pravda VM bytecode. The input file is a .NET PE (portable executable). The output is a binary Pravda program. By default read from stdin and print to stdout
compile evm [THIS COMPILATION MODE IS EXPERIMENTAL]Compile .bin produced by the solc compiler to Pravda VM bytecode. The input files are .bin contract and .abi. The output is a binary Pravda program. By default read from stdin and print to stdout
broadcast run Send a transaction with Pravda Program address to the blockchain to run it
broadcast transfer Transfer native coins to a given wallet.
broadcast deploy Deploy the Pravda program on the blockchain.
broadcast call Call the method of the program with arguments
broadcast seal Seal the existing Pravda program in the blockchain.
broadcast update Update existing the Pravda program in the blockchain.
execute Executes a program without side-effects. No watt-limit is required.
node init Create a data directory and configuration for the new node.
node run Run initialized node.