forked from cerc-io/laconicd
e513f79b81
* Setup minimal chain * Change app and command name * Rename command folder * Add run instructions * Add placeholder files for bond module * Missing new line
23 lines
428 B
Go
23 lines
428 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
|
|
|
"git.vdb.to/cerc-io/laconic2d/app"
|
|
"git.vdb.to/cerc-io/laconic2d/app/params"
|
|
"git.vdb.to/cerc-io/laconic2d/cmd/laconic2d/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)
|
|
}
|
|
}
|