[FEATURE]: Add Web UI Dashboard (Next.js)

Đang mở
#65 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
next.js, python, tailwindcss

Hướng nghiên cứu

Bắt đầu bằng việc xem xét các tương tác CLI hiện có và entry point của backend trong main.py. Định nghĩa các REST endpoint được liệt kê và dashboard Next.js xoay quanh các workflow về wallet, giao dịch, mining và chain; được xem là hoàn tất khi frontend có thể thực hiện và hiển thị các thao tác đó thông qua API.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
Feature and its Use Cases

🚀 Feature Request: Web UI Dashboard for MiniChain

📌 Summary

Replace the current CLI-based interaction with a modern web-based dashboard built using Next.js. This will improve usability, accessibility, and enable easier interaction with the MiniChain node.


🎯 Goals
  • Provide a user-friendly interface for interacting with the blockchain node
  • Replace manual CLI commands with intuitive UI actions
  • Enable real-time visualization of blockchain data

🧩 Proposed Features
1. 💼 Wallet UI
  • Display current wallet address
  • Show account balance
  • Copy address functionality
2. 💸 Send Transactions
  • Input field for recipient address
  • Input field for amount
  • Submit button to send transaction
3. ⛏️ Mining Controls
  • Button to trigger mining
  • Display mining status (pending/success)
  • Show mining rewards
4. 📜 Transaction History
  • List of past transactions

  • Include:

    • sender
    • receiver
    • amount
    • timestamp
5. ⛓️ Blockchain Explorer (Optional)
  • View blocks
  • Show block hash, previous hash, transactions

⚙️ Technical Approach
Backend Changes
  • Expose REST API endpoints in main.py:

    • GET /balance
    • GET /address
    • POST /send
    • POST /mine
    • GET /chain
Frontend
  • Framework: Next.js
  • Styling: Tailwind CSS
  • API communication via fetch/axios

📦 Example API Contract
GET /balance
{
  "balance": 100
}

POST /send
{
  "to": "address",
  "amount": 10
}

🧪 Benefits
  • Improves developer and user experience
  • Makes project more accessible for demos and learning
  • Enables future integration with external systems

🏷️ Labels
  • enhancement
  • frontend
  • good first issue

🙌 Contribution

I would like to work on this feature and implement the frontend + backend integration.

@Zahnentferner whats your view?
I am ready to work on this

Additional Context

No response

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Ngôn ngữ chính
Python
Star
12
Fork
27
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của StabilityNexus/MiniChain

Tất cả issue của StabilityNexus/MiniChain

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.