2024-02-01 04:48:40 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"os"
|
|
|
|
|
|
|
|
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
|
|
|
|
2024-04-01 09:57:26 +00:00
|
|
|
"git.vdb.to/cerc-io/laconicd/app"
|
|
|
|
"git.vdb.to/cerc-io/laconicd/app/params"
|
|
|
|
"git.vdb.to/cerc-io/laconicd/cmd/laconicd/cmd"
|
2024-02-01 04:48:40 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
params.SetAddressPrefixes()
|
|
|
|
|
|
|
|
rootCmd := cmd.NewRootCmd()
|
|
|
|
if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil {
|
|
|
|
fmt.Fprintln(rootCmd.OutOrStderr(), err)
|
|
|
|
os.Exit(1)
|
|
|
|
}
|
|
|
|
}
|