mirror of
https://github.com/luxfi/const.git
synced 2026-10-30 16:59:18 +00:00
Renames EnvNodePath/EnvNetrunnerPath/EnvEVMPath/EnvPluginsDir values from LUX_NODE_PATH/LUX_NETRUNNER_PATH/LUX_EVM_PATH/LUX_PLUGINS_DIR to NODE_PATH/NETRUNNER_PATH/EVM_PATH/PLUGINS_DIR. BREAKING: env var rename. Per the org-wide LUX_ prefix sweep — values are identified by namespace, not place. Constant identifiers (EnvNodePath etc) unchanged so import sites only need a doc-string refresh.
72 lines
1.8 KiB
Go
72 lines
1.8 KiB
Go
// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package constants
|
|
|
|
// Organization and repository names
|
|
const (
|
|
// LuxOrg is the GitHub organization
|
|
LuxOrg = "luxfi"
|
|
|
|
// Repository names
|
|
NodeRepoName = "node"
|
|
EVMRepoName = "evm"
|
|
NetrunnerRepoName = "netrunner"
|
|
CLIRepoName = "cli"
|
|
CliRepoName = CLIRepoName
|
|
ConstantsRepoName = "constants"
|
|
SDKRepoName = "sdk"
|
|
WalletRepoName = "wallet"
|
|
|
|
// Aliases for backward compatibility
|
|
LuxRepoName = NodeRepoName // deprecated: use NodeRepoName
|
|
)
|
|
|
|
// Binary names
|
|
const (
|
|
// NodeBinaryName is the name of the node executable
|
|
// Already defined in paths.go, keeping here for reference
|
|
// NodeBinaryName = "luxd"
|
|
|
|
// NetrunnerBinaryName is the name of the netrunner executable
|
|
NetrunnerBinaryName = "netrunner"
|
|
|
|
// EVMBinaryName is the name of the EVM plugin
|
|
EVMBinaryName = "evm"
|
|
// EVMBin is a compatibility alias for EVMBinaryName.
|
|
EVMBin = EVMBinaryName
|
|
|
|
// CLIBinaryName is the name of the CLI executable
|
|
CLIBinaryName = "lux"
|
|
)
|
|
|
|
// Docker images
|
|
const (
|
|
NodeDockerImage = "luxfi/luxd"
|
|
EVMDockerImage = "luxfi/evm"
|
|
)
|
|
|
|
// Git URLs
|
|
const (
|
|
NodeGitURL = "https://github.com/luxfi/node"
|
|
EVMGitURL = "https://github.com/luxfi/evm"
|
|
NetrunnerGitURL = "https://github.com/luxfi/netrunner"
|
|
CLIGitURL = "https://github.com/luxfi/cli"
|
|
)
|
|
|
|
// Environment variables for binary paths
|
|
const (
|
|
EnvNodePath = "NODE_PATH"
|
|
EnvNetrunnerPath = "NETRUNNER_PATH"
|
|
EnvEVMPath = "EVM_PATH"
|
|
EnvPluginsDir = "PLUGINS_DIR"
|
|
)
|
|
|
|
// Config keys for binary paths (viper/config file keys)
|
|
const (
|
|
ConfigNodePath = "node-path"
|
|
ConfigNetrunnerPath = "netrunner-path"
|
|
ConfigEVMPath = "evm-path"
|
|
ConfigPluginsDir = "plugins-dir"
|
|
)
|