Skip to content

Index

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

Description

Pravda Command Line Interface

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

No options available

Commands

Command Description
gen address Generate ed25519 key pair. It can be used as regular wallet or validator node identifier.
gen unity Generate auxiliary code to call program's methods from Unity
run Run byte-code on Pravda VM
compile asm Assemble Pravda VM bytecode from text representation. Input file is a Pravda assembly language text file. Output is binary Pravda program. By default read from stdin and print to stdout.
compile disasm Disassemble Pravda VM bytecode to text presentation. Input file is a Pravda executable binary. 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. Input file is a .NET PE (portable executable). Output is binary Pravdaprogram. 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 Pravda program to the blockchain.
broadcast seal Seal existing Pravda program in the blockchain.
broadcast update Update existing Pravda program in the blockchain.
execute Executes program without side-effects. No watt-limit is required.
node init Create data directory and configuration for a new node.
node run Run initialized node.