Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • Jakub/rootless-CI
  • xx-4078/defaults
  • hotfix/nullableStake
  • november-commitments
  • new-cli
  • dev
  • jonah/rest
  • jonah/cli
  • v1.0-cli
10 results

mainnet-commitments

  • Clone with SSH
  • Clone with HTTPS
  • Jake Taylor's avatar
    Jake Taylor authored
    Fix TestDatabase
    
    See merge request elixxir/mainnet-commitments!16
    8591075d
    History

    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