Skip to content

Commit

Permalink
feat: add cosmos starlark package (#104)
Browse files Browse the repository at this point in the history
* chore: initial cosmos setup

* feat: update starlark package for cosmos nodes and cosmos relays

* feat: update icon starlark package

* feat: restructure btp setup

* feat: update eth and hardhat btp setup
  • Loading branch information
shreyasbhat0 authored Aug 10, 2023
1 parent 475581d commit 3b2e8c0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions cli/commands/chain/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ maintenance within the specified blockchain ecosystem.`,
chainCmd.AddCommand(types.NewIconCmd(diveContext))
chainCmd.AddCommand(types.NewEthCmd(diveContext))
chainCmd.AddCommand(types.NewHardhatCmd(diveContext))
chainCmd.AddCommand(types.NewCosmosCmd(diveContext))

return chainCmd

Expand Down
21 changes: 21 additions & 0 deletions cli/commands/chain/types/cosmos.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package types

import (
"github.com/hugobyte/dive/common"
"github.com/spf13/cobra"
)

func NewCosmosCmd(diveContext *common.DiveContext) *cobra.Command {

cosmosCmd := &cobra.Command{
Use: "cosmos",
Short: "Build, initialize and start a cosmos node.",
Long: `The command starts an Cosmos node, initiating the process of setting up and launching a local cosmos network.
It establishes a connection to the Cosmos network and allows the node in executing smart contracts and maintaining the decentralized ledger.`,
Run: func(cmd *cobra.Command, args []string) {

},
}

return cosmosCmd
}

0 comments on commit 3b2e8c0

Please sign in to comment.