Skip to content

Commit

Permalink
Merge pull request #147 from onomyprotocol/rosetta
Browse files Browse the repository at this point in the history
Added in the Rosetta commands
  • Loading branch information
cgdusek authored Aug 22, 2023
2 parents cb18c9e + a998209 commit 4e055b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/onomyd/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ package cmd
import (
"fmt"

"github.com/cosmos/cosmos-sdk/server"

"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/spf13/cobra"
"github.com/tendermint/starport/starport/pkg/cosmoscmd"
Expand All @@ -23,6 +25,10 @@ func NewRootCmd() (*cobra.Command, cosmoscmd.EncodingConfig) {
app.New,
)

rootCmd.AddCommand(
server.RosettaCommand(encodingConfig.InterfaceRegistry, encodingConfig.Marshaler),
)

return rootCmd, encodingConfig
}

Expand Down

0 comments on commit 4e055b2

Please sign in to comment.