mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 11:24:25 -08:00
Initialized with Ignite CLI
This commit is contained in:
24
cmd/cosmos-testd/main.go
Normal file
24
cmd/cosmos-testd/main.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"cosmos-test/app"
|
||||
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
||||
"github.com/ignite/cli/ignite/pkg/cosmoscmd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
rootCmd, _ := cosmoscmd.NewRootCmd(
|
||||
app.Name,
|
||||
app.AccountAddressPrefix,
|
||||
app.DefaultNodeHome,
|
||||
app.Name,
|
||||
app.ModuleBasics,
|
||||
app.New,
|
||||
// this line is used by starport scaffolding # root/arguments
|
||||
)
|
||||
if err := svrcmd.Execute(rootCmd, app.DefaultNodeHome); err != nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user