Skip to content

@acala-network/chopsticks-coreDocs


@acala-network/chopsticks-core / environment

Variable: environment

const environment: object

Environment variables available for users

Type declaration

DISABLE_AUTO_HRMP

DISABLE_AUTO_HRMP: boolean

Disable auto HRMP on setup. Default is false.

DISABLE_PLUGINS

DISABLE_PLUGINS: boolean

Disable plugins for faster startup. Default is false.

http_proxy?

optional http_proxy: string

HTTP_PROXY?

optional HTTP_PROXY: string

https_proxy?

optional https_proxy: string

HTTPS_PROXY?

optional HTTPS_PROXY: string

LOG_COMPACT

LOG_COMPACT: boolean

Don't log objects. Default is false.

LOG_LEVEL

LOG_LEVEL: "fatal" | "error" | "warn" | "info" | "debug" | "trace"

Chopsticks log level, "fatal" | "error" | "warn" | "info" | "debug" | "trace". Default is "info".

PORT?

optional PORT: string

Set port for Chopsticks to listen on, default is 8000.

VERBOSE_LOG

VERBOSE_LOG: boolean

Don't truncate log messages, show full log output. Default is false.

Defined in

packages/core/src/env.ts:50