2022-08-25 16:51:14 -07:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
|
|
|
|
"cosmos-test/app"
|
2022-09-01 12:13:17 -07:00
|
|
|
|
2022-08-25 16:51:14 -07:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|