forked from cerc-io/laconicd
Prathamesh Musale
213c390c37
Part of https://www.notion.so/Rename-laconic2d-to-laconicd-9028d0c020d24d1288e92ebcb773d7a7 Co-authored-by: neeraj <neeraj.rtly@gmail.com> Reviewed-on: cerc-io/laconic2d#26 Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to> Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
23 lines
424 B
Go
23 lines
424 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
|
|
|
"git.vdb.to/cerc-io/laconicd/app"
|
|
"git.vdb.to/cerc-io/laconicd/app/params"
|
|
"git.vdb.to/cerc-io/laconicd/cmd/laconicd/cmd"
|
|
)
|
|
|
|
func main() {
|
|
params.SetAddressPrefixes()
|
|
|
|
rootCmd := cmd.NewRootCmd()
|
|
if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil {
|
|
fmt.Fprintln(rootCmd.OutOrStderr(), err)
|
|
os.Exit(1)
|
|
}
|
|
}
|