Skip to content

[Refactor] Consolidate modules: merge zeroj-ceremony into zeroj-tools, and zeroj-patterns into zeroj-cardano #36

Description

@satran004

Context & Motivation

To reduce top-level module fragmentation:

  1. zeroj-ceremony is a single Picocli CLI class (CeremonyCli.java) wrapping zeroj-tools. Merging it directly into zeroj-tools eliminates an unnecessary module boundary.
  2. zeroj-patterns contains only 5 small helper classes (MembershipProof, StateTransition, etc.) closely tied to Cardano L1 anchoring. Merging it into zeroj-cardano simplifies downstream dependencies.

Scope & Tasks

  • Move CeremonyCli into zeroj-tools (e.g. com.bloxbean.cardano.zeroj.tools.cli.CeremonyCli).
  • Move pattern classes from zeroj-patterns into zeroj-cardano (e.g. com.bloxbean.cardano.zeroj.cardano.patterns).
  • Remove zeroj-ceremony and zeroj-patterns from settings.gradle and BOMs.
  • Update POMs and documentation.

Risk Classification

  • R1: Module structure & API refactor.
  • Reference: docs/zeroj-comprehensive-review-and-readiness-gemini.md (Section 3.2).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions