Skip to content

jcstein/vimana

 
 

Repository files navigation

Vimana CLI

Vimana CLI is a comprehensive tool designed to simplify the creation and management of different types of nodes, including the data availability layer light node, full node, bridge node, and full nodes for Ethereum-like berachain.

Table of Contents

Installation

Install Binary:

curl -L https://vistara-labs.github.io/vimana/install.sh | bash

Install from Source:

make build

Run celestia light node:

vimana run celestia light-node

See options for a specific node type:

vimana run celestia light-node --help

Usage:
  vimana run celestia bridge-node [flags]

Flags:
  -h, --help             help for bridge-node
      --network string   Specifies the Celestia network (default "arabica")
      --rpc string       Specifies the Celestia RPC endpoint (default "consensus-validator.celestia-arabica-10.com")

You can pass in the network and rpc endpoint as flags, or default (arabica) is used if not specified.

vimana run celestia light-node --network arabica --rpc consensus-validator.celestia-arabica-10.com

Command Structure

Main command: vimana

Subcommand:

  • run: Initialize and run the different types of nodes.

With this setup, when developers want to support new node types or components, they:

  1. Add the configuration to config.toml.
  2. Implement the NodeCommander interface for that component and mode.
  3. Register their implementation in the commanderRegistry. This provides a modular and expandable CLI framework.

Command API

Run Nodes

Syntax: vimana run [NODE_TYPE] [OPTIONS]

Example:

vimana run celestia light-node
vimana run celestia bridge-node

Create a new component, avail

Follow #CREATE_COMPONENT.md

vimana run avail light-node

Stop Nodes

Node Status

Support & Feedback

For any issues, questions, or feedback, please contact mayur@vistara.dev.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 70.0%
  • Shell 25.6%
  • Makefile 4.4%