Skip to content
You are reading Codefi Orchestrate development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.

Contract Registry

Contract Registry options

Usage:
  orchestrate contract-registry run [flags]

Flags:
      --abi strings            Smart Contract ABIs to register for crafting (expected format <contract>:<abi>:<bytecode>:<deployedBytecode>)
                               Environment variable: "ABI"
      --db-database string     Target Database name
                               Environment variable: "DB_DATABASE" (default "postgres")
      --db-host string         Database host
                               Environment variable: "DB_HOST" (default "127.0.0.1")
      --db-password string     Database User password
                               Environment variable: "DB_PASSWORD" (default "postgres")
      --db-poolsize int        Maximum number of connections on database
                               Environment variable: "DB_POOLSIZE"
      --db-port int            Database port
                               Environment variable: "DB_PORT" (default 5432)
      --db-sslmode string      TLS SSL mode to connect to database (one of "DB_TLS_SSLMODE")
                               Environment variable: ["require" "disable" "verify-ca" "verify-full"] (default "disable")
      --db-tls-ca string       Trusted Certificate Authority
                               Environment variable: "DB_TLS_CA"
      --db-tls-cert string     TLS Certificate to connect to database
                               Environment variable: "DB_TLS_CERT"
      --db-tls-key string      TLS Private Key to connect to database
                               Environment variable: "DB_TLS_KEY"
      --db-user string         Database User.
                               Environment variable: "DB_USER" (default "postgres")
      --grpc-hostname string   Hostname to expose GRPC services
                               Environment variable: "GRPC_HOSTNAME"
      --grpc-port uint         Port to expose GRPC services
                               Environment variable: "GRPC_PORT" (default 8080)
  -h, --help                   help for run
      --rest-hostname string   Hostname to expose REST services
                               Environment variable: "REST_HOSTNAME"
      --rest-port uint         Port to expose REST services
                               Environment variable: "REST_PORT" (default 8081)

Command line arguments take precedence over environment variables.

Migration options

Usage:
  orchestrate contract-registry migrate [flags]
  orchestrate contract-registry migrate [command]

Available Commands:
  down        Reverts last migration
  init        Initialize database
  reset       Reverts all migrations
  set-version Set database version
  up          Upgrade database
  version     Print current database version

Flags:
      --db-database string   Target Database name
                             Environment variable: "DB_DATABASE" (default "postgres")
      --db-host string       Database host
                             Environment variable: "DB_HOST" (default "127.0.0.1")
      --db-password string   Database User password
                             Environment variable: "DB_PASSWORD" (default "postgres")
      --db-poolsize int      Maximum number of connections on database
                             Environment variable: "DB_POOLSIZE"
      --db-port int          Database port
                             Environment variable: "DB_PORT" (default 5432)
      --db-sslmode string    TLS SSL mode to connect to database (one of "DB_TLS_SSLMODE")
                             Environment variable: ["require" "disable" "verify-ca" "verify-full"] (default "disable")
      --db-tls-ca string     Trusted Certificate Authority
                             Environment variable: "DB_TLS_CA"
      --db-tls-cert string   TLS Certificate to connect to database
                             Environment variable: "DB_TLS_CERT"
      --db-tls-key string    TLS Private Key to connect to database
                             Environment variable: "DB_TLS_KEY"
      --db-user string       Database User.
                             Environment variable: "DB_USER" (default "postgres")
  -h, --help                 help for migrate

Command line arguments take precedence over environment variables.

ConsenSys has acquired Quorum from J.P. Morgan. Please read the FAQ.
Questions or feedback? You can obtain paid professional support by Consensys at orchestrate@consensys.net