Skip to content

[Feature] Major refactor - Folder structure, node based interaction, CLI tool for demonstration #22

@anuragShingare30

Description

@anuragShingare30

Overview

Current implementation is a initial prototype for minichain which introduces many core components precisely and with clean code work.

Current Implementation

  • Earlier implementation had a minimal blockchain with a simple script to create wallets and interact with nodes, but no node-per-wallet setup, P2P peers and node interactions

New implementation (after changes)

  • Node-per-port wallets
  • TCP P2P networking with peer registration, tx/block broadcast, chain sync
  • Deterministic genesis (fixed timestamp + treasury)
  • Coinbase/treasury transactions supported
  • CLI improved with colors, status/quickstart/demo commands

New additions

  • Multi-node testing on localhost
  • Faucet/mining workflow for quick testing
  • Better chain sync and peer observability
  • More user-friendly CLI interaction

Expected Outcome

A reliable multi-node local network where:

  • Nodes discover peers and list them
  • Mining on one node propagates blocks to others
  • Chain sync works without genesis mismatches
  • CLI provides friendly commands for testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions