26 lines
458 B
Go
26 lines
458 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"colinear/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)
|
|
}
|
|
}
|