mainnet-commitments

command module
v0.0.0-...-8591075 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: BSD-2-Clause Imports: 2 Imported by: 0

README

MainNet commitments

Client usage
./client.binary -k ../wrapper/creds/1/cmix-key.key -i ../wrapper/creds/1/cmix-IDF.json -n "NOMINATOR WALLET" -v "VALIDATOR WALLET"
Build instructions

The makefile contains three targets for default builds To build server binaries, use either of the following:

make linux_server make mac_server

To build the CLI binary use: make cli_client_mac make cli_client_linux

To compile the webassembly bindings use:

make client

Example config
# ==================================
# Commitments Server Configuration
# ==================================

# START YAML ===
# Verbose logging
logLevel: 1
# Path to log file
log: "/cmix/commitments.log"

# Database connection information
dbUsername: ""
dbPassword: ""
dbName: ""
dbAddress: "0.0.0.0:5432"

# Path to this server's private key file
keyPath: "~/.elixxir/commitments.elixxir.io.key"
# Path to this server's certificate file
certPath: "~/.elixxir/commitments.elixxir.io.crt"
# The listening port of this server
port: 11420

# Hash of valid contract
contractHash: "bcMp4W4W3Gd1rO56QUt54Cfr_AEBQbkIcxMIRH1PJqh8mXnCYM4bIdjHdMRjD2r-lrewwPVBIsHYeXT6Knopwg=="

# === END YAML

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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