Files
cli/cmd/commands.go
zeekay 65f575285e cli: rename Corona → Corona (production R-LWE threshold);
LSAG ring-signature key → RingSig (descriptive, not Corona-lemur)

Two distinct concepts that shared the "Corona" name in CLI code are
now disambiguated:

  1. Production R-LWE threshold signature library — was "Corona",
     now Corona. Affects consensus / threshold-sign code paths,
     genesis precompile entry, threshold-scheme name, NTT references.

  2. LSAG ring-signature key derivation (independent feature, named
     after the lemur not the threshold sig) — now `RingSig`.
     Affects NewCoronaKeyBytes → NewRingSigKeyBytes,
     ToCoronaPublicKey → ToRingSigPublicKey, the keyset field
     `CoronaPrivateKey/PublicKey` → `RingSigPrivateKey/PublicKey`,
     JSON tag `corona_private_key` → `ringsig_private_key`, and
     the user-facing prose around the `lux key ring` command.

The `rt` subcommand is wired to github.com/luxfi/corona/cli (the
production library), via go.mod bump to luxfi/corona v0.2.1.

No "Corona" identifier remains in production CLI code or docs.
2026-05-12 09:07:44 -07:00

92 lines
2.1 KiB
Go

// Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package cmd
// Command names exported for testing
const (
// BlockchainCmd is the blockchain command name
BlockchainCmd = "blockchain"
// InterchainCmd is the interchain command name
InterchainCmd = "interchain"
// ValidatorCmd is the validator command name
ValidatorCmd = "validator"
// NetworkCmd is the network command name
NetworkCmd = "network"
// NodeCmd is the node command name
NodeCmd = "node"
// KeyCmd is the key command name
KeyCmd = "key"
// PrimaryCmd is the primary command name
PrimaryCmd = "primary"
// ChainCmd is the chain command name
ChainCmd = "chain"
// L1Cmd is the l1 command name
L1Cmd = "l1"
// L3Cmd is the l3 command name
L3Cmd = "l3"
// TransactionCmd is the transaction command name
TransactionCmd = "transaction"
// ConfigCmd is the config command name
ConfigCmd = "config"
// UpdateCmd is the update command name
UpdateCmd = "update"
// ContractCmd is the contract command name
ContractCmd = "contract"
// LocalCmd is the local command name
LocalCmd = "local"
// MigrateCmd is the migrate command name
MigrateCmd = "migrate"
// RPCCmd is the rpc command name
RPCCmd = "rpc"
// WarpCmd is the warp command name (for ICM/Interchain Messaging)
WarpCmd = "warp"
// DexCmd is the dex command name (for decentralized exchange)
DexCmd = "dex"
// DevCmd is the dev command name (for local development)
DevCmd = "dev"
// ZKCmd is the zk command name (for zero-knowledge proof tools)
ZKCmd = "zk"
// FHECmd is the fhe command name (for fully homomorphic encryption)
FHECmd = "fhe"
// RTCmd is the rt command name (for Corona threshold signing)
RTCmd = "rt"
// MPCCmd is the mpc command name (for multi-party computation)
MPCCmd = "mpc"
// KMSCmd is the kms command name (for key management service)
KMSCmd = "kms"
// ExploreCmd is the explore command name (for block explorer)
ExploreCmd = "explore"
// AICmd is the ai command name (for AI operations)
AICmd = "ai"
// TUICmd is the tui command name (for interactive terminal UI)
TUICmd = "tui"
)