Documentation
¶
Overview ¶
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Variables
- func CheckSubnetIsElastic(subnetID ids.ID, network models.Network) (bool, error)
- func GetKeychain(useLedger bool, ledgerAddresses []string, keyName string, ...) (keychain.Keychain, error)
- func NewCmd(injectedApp *application.Lux) *cobra.Command
- func PrintDeployResults(chain string, subnetID ids.ID, blockchainID ids.ID) error
- func PrintReadyToSignMsg(chain string, outputTxPath string)
- func PrintRemainingToSignMsg(chain string, remainingSubnetAuthKeys []string, outputTxPath string)
- func PrintTransformResults(chain string, txID ids.ID, subnetID ids.ID, tokenName string, ...)
- func SaveNotFullySignedTx(txName string, tx *txs.Tx, chain string, subnetAuthKeys []string, ...) error
- type InfoClient
- type PlatformClient
Constants ¶
This section is empty.
Variables ¶
var ( ErrMutuallyExlusiveKeyLedger = errors.New("--key and --ledger,--ledger-addrs are mutually exclusive") ErrStoredKeyOnMainnet = errors.New("--key is not available for mainnet operations") )
Functions ¶
func CheckSubnetIsElastic ¶
func GetKeychain ¶
func NewCmd ¶
func NewCmd(injectedApp *application.Lux) *cobra.Command
lux l2 (alias: subnet for backward compatibility)
func PrintDeployResults ¶
func PrintReadyToSignMsg ¶
func PrintRemainingToSignMsg ¶
func PrintTransformResults ¶
Types ¶
type InfoClient ¶
type InfoClient interface {
GetNodeID(ctx context.Context, options ...rpc.Option) (ids.NodeID, *signer.ProofOfPossession, error)
GetNodeVersion(ctx context.Context, options ...rpc.Option) (*info.GetNodeVersionReply, error)
}
InfoClient interface for info client operations
type PlatformClient ¶
type PlatformClient interface {
GetCurrentValidators(ctx context.Context, subnetID ids.ID, nodeIDs []ids.NodeID, options ...rpc.Option) ([]platformvm.ClientPermissionlessValidator, error)
}
PlatformClient interface for platform VM client operations