postcli

command
v0.6.3-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2023 License: MIT Imports: 18 Imported by: 0

README

postcli

CLI tool for PoST initialization

Build

git clone https://github.com/spacemeshos/post
cd post
make postcli

Usage

cd build
./postcli --help
Print the list of compute providers
./postcli -printProviders
Print the used config and options
./postcli -printConfig
Initialize

Example

./postcli -provider=2 -id=c230c51669d1fcd35860131e438e234726b2bd5f9adbbd91bd88a718e7e98ecb -commitmentAtxId=c230c51669d1fcd35860131e438e234726b2bd5f9adbbd91bd88a718e7e98ecb -genproof
 
Remarks
  • -id and -commitmentAtxId are required because they are committed to the generated data.
  • If -id isn't provided, the id (public key) will be auto-generated, while saving key.bin in -datadir.
  • If postcli is called multiple times on a given -datadir, config mismatch error is likely to occur. In this case, the -reset flag can be used to easily clean the previous instance.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL