Skip to content

DX: Build Interactive Local Development CLI for Scaffolding and Simulations #430

Description

@EDOHWARES

Description

Develop a developer CLI tool to simplify local workspace initialization, contract deployments, and testing.

Current Problem

Setting up local environments, deploying test contracts, and simulating transactions requires running complex scripts and manual configurations.

Proposed Solution

Build a commander-based developer CLI tool `eh-cli` to automate local setups and simulations.

Technical Tasks

  • Scaffold a CLI tool in a `cli` or `scripts` directory
  • Implement `eh-cli init` to configure database variables and configurations
  • Build `eh-cli deploy` to compile and deploy test contracts to local Soroban instances
  • Add a simulation command to emit events and verify backend ingestion

Acceptance Criteria

  • Devs can run CLI commands to set up their workspaces
  • CLI supports deploying test contracts and outputting address details
  • Simulation command outputs logs showing the lifecycle of generated test events

Testing Requirements

  • Run all CLI command variations on a clean checkout and verify local setups succeed

Metadata

  • Priority: Low
  • Difficulty: Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions