Files
zeekay 8f56009cc7 fix: deep audit - remove stubs, fix imports, clean dead code
Deep audit changes:
- Replace stub signature aggregator with real SDK warp implementation
- Remove dead pkg/lpm package (SDK lpmintegration used instead)
- Fix fs imports: use local utils.FileExists, DirExists, ExpandHome
- Fix secp256k1fx imports: use node/vms/secp256k1fx
- Fix platformvm imports: use node/vms/platformvm
- Fix e2e test TODOs: uncomment BootstrapValidators assertions
- Improve localnet stub implementations with real logic
- Fix node.go fs.FileExists reference

Note: Build requires GOWORK=off due to workspace dependency issues
2026-01-10 11:17:00 -08:00

35 lines
825 B
Go

// Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package transactioncmd
import (
"fmt"
"github.com/luxfi/cli/pkg/application"
"github.com/spf13/cobra"
)
var app *application.Lux
// lux chain vm
func NewCmd(injectedApp *application.Lux) *cobra.Command {
cmd := &cobra.Command{
Use: "transaction",
Short: "Sign and execute specific transactions",
Long: `The transaction command suite provides all of the utilities required to sign multisig transactions.`,
Run: func(cmd *cobra.Command, args []string) {
err := cmd.Help()
if err != nil {
fmt.Println(err)
}
},
}
app = injectedApp
// chain upgrade vm
cmd.AddCommand(newTransactionSignCmd())
// chain upgrade generate
cmd.AddCommand(newTransactionCommitCmd())
return cmd
}