0xMiden / 0xMiden/rust-sdk

Improve CLI account asset display for non-fungible assets

Đang mở
#2,199 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
78
Fork
129
Merge trung bình
4 ngày 14 giờ
Pull request đã merge (30 ngày)
52

Mô tả

### Feature description

Non-fungible assets should be displayed with a richer, human-friendly format in `miden-cli account` output.

Proposed behavior:
- Detect non-fungible assets when listing account assets.
- Show a stable unique identifier (nonce/serial) and a compact metadata summary if available.
- Keep fungible asset output unchanged; if more detail is needed, consider a `--verbose` or `--json` path.

This is about output clarity in the CLI, not the `mint` command rename (#1599).

### Why is this feature needed?

Current CLI output makes non-fungible assets look like fungibles, which hides ownership/identity details and makes it hard to verify assets or debug account state from the terminal.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Look for the CLI command that lists account assets, likely in a `cli` or `commands` module. Find where asset data is formatted for display. Identify how to distinguish non-fungible assets (likely by type or metadata) and modify the display logic to show a stable identifier and metadata summary. Run the CLI to test the new output format.

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

Đánh giá

Công nghệ
rust
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

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.