List of CLI Command

List of CLI Commands

DIVE CLI Commands:

dive

Description

Deployable Infrastructure for Virtually Effortless blockchain integration

Usage

dive [command]

Sub-Commands

CommandDescription
bridgeCommand for cross chain communication between two different chains
chainBuild, initialise and start a given blockchain node
cleanCleans up Kurtosis leftover artifacts
discordOpens DIVE discord channel
tutorialOpens DIVE tutorial youtube playlist
twitterOpens official HugoByte twitter home page
versionPrints the CLI version

dive bridge

Description

To connect two different chains using any of the supported cross chain communication protocols. This will create an relay to connect two different chains and pass any messages between them.

Usage

dive bridge [command]
CommandDescription
btpStarts BTP Bridge between ChainA and ChainB
ibcStarts IBC Bridge between ChainA and ChainB

dive bridge btp

Description

Starts BTP Bridge between ChainA and ChainB

Usage

dive bridge btp [flags]

Flags

FlagsRequiredDescription
--chainA stringtrueMention Name of Supported Chain
--chainB stringtrueMention Name of Supported Chain
--bmvbridgefalseAdd this flag if icon bridge is required

dive bridge ibc

Description

Starts IBC Bridge between ChainA and ChainB

Usage

dive bridge ibc [flags]

Flags

FlagsRequiredDescription
--chainA stringtrueMention Name of Supported Chain
--chainB stringtrueMention Name of Supported Chain
--chainAServiceName stringtrueMention service name if node is already running
--chainBServiceName stringtrueMention service name if node is already running

dive chain

Description

The command builds, initializes, and starts a specified blockchain node, providing a seamless setup process. It encompasses compiling and configuring the necessary dependencies and components required for the blockchain network. By executing this command, the node is launched, enabling network participation, transaction processing, and ledger maintenance within the specified blockchain ecosystem.

Usage

dive chain [command]

Sub-Commands

CommandDescription
ethBuild, initialize and start a eth node
hardhatBuild, initialize and start a hardhat node
iconBuild, initialize and start a icon node
archwayBuild, initialize and start a archway node
neutronBuild, initialize and start a neutron node

dive chain icon

Description

The command starts an Icon node, initiating the process of setting up and launching a local Icon network. It establishes a connection to the Icon network and allows the node in executing smart contracts and maintaining the decentralized ledger.

Usage

dive chain icon [flags] 
dive chain icon [command]

Commands

CommandDescription
decentralizeDecentralise already running Icon Node

Flags

FlagsRequiredDescription
-c, --config stringtruepath to custom config json file
-d, --decentralisationtruedecentralise Icon Node
-g, --genesis stringtruepath to custom genesis file
-i, --id stringtruecustom chain id for icon node

dive chain icon decentralize

Description

A Decentralise Icon Node is necessary if you want to connect your local icon node to BTP network

Usage

dive chain icon decentralize [flags]

Flags

FlagsRequiredDescription
-p, --keyPassword stringtruekeypassword
-k, --keystorePath string truepath to keystore file
-n, --nid stringtrueNetworkId of Icon Node
-e, --nodeEndpoint stringtrueendpoint address
-s, --serviceName stringtrueservice name

dive clean

Description

Destroys and removes any running encalves. If no enclaves running to remove it will throw an error

Usage

dive clean

dive discord

Description

The command opens the Discord channel for DIVE, providing a direct link or launching the Discord application to access the dedicated DIVE community. It allows users to engage in discussions, seek support, share insights, and collaborate with other members of the DIVE community within the Discord platform.

Usage

dive discord

dive tutorial

Description

The command opens the YouTube playlist containing DIVE tutorials. It launches a web browser or the YouTube application, directing users to a curated collection of tutorial videos specifically designed to guide and educate users about DIVE. The playlist offers step-by-step instructions, tips, and demonstrations to help users better understand and utilize the features and functionalities of DIVE.

Usage

dive tutorial

dive twitter

Description

The command opens the official HugoByte Twitter homepage. It launches a web browser and directs users to the designated Twitter profile of HugoByte, providing access to the latest updates, announcements, news, and insights shared by the official HugoByte Twitter account. Users can stay informed about HugoByte's activities, engage with the community, and follow our social media presence directly from the Twitter homepage.

Usage

dive twitter

dive version

Description

Prints the current DIVE CLI version and warns if you are using an old version.

Usage

dive version