Skip to content

CLI: nirium report, summary and export from the Reporting node #136

Closed

Description

@Eras256

The SDK already reads the Reporting node (getReportingSummary, getReportingExport, getReportingExportUrl), but the CLI has no way to see your own anchors and receipts.

Proposal: nirium report

nirium report summary [--from <date>] [--to <date>] [--json]
nirium report export anchors|payments|payroll [--from] [--to] [--limit] [--csv out.csv]

Uses the API key from the CLI config store. export anchors should print one CID per row, so it can be piped straight into nirium verify.

Keep the SDK's wording in the help text: this is a summary of your own records, not certified regulatory reporting.

Done when: tests with a mocked API cover summary, JSON export and CSV export, and the README documents the command.

Owner: @M0nsxx

Disclosure: drafted with AI assistance under my direction and reviewed by hand.

Activity

  1. ravimahatonp commented on Oct 14, 2026

    @ravimahatonp

    Hello team,

    I examined the issue "CLI: nirium report, summary and export from the Reporting node" in nirium-protocol/nirium and would be glad to implement the required changes.

    Technical Implementation Outline:

    1. Review target data structures, error handling (Result/custom errors), and concurrency safety.
    2. Implement resilient, idiomatic Rust logic with zero panics and defensive boundary checks.
    3. Add comprehensive unit and regression tests covering expected behavior and edge cases.
    4. Ensure cargo check, cargo test, and cargo clippy -- -D warnings pass cleanly.

    Please assign this issue to me. I will submit a clean, well-tested, and production-ready PR promptly!

  2. grantfox-oss commented on Oct 15, 2026

    @grantfox-oss

    🦊 GrantFox — @M0nsxx has been assigned to this issue!

    Next steps:

    1. Open a Pull Request referencing this issue (e.g., Closes #136)
    2. Your PR will be reviewed by the nirium-protocol maintainers

    Good luck! Track your progress on GrantFox.

  3. grantfox-oss commented on Nov 7, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @M0nsxx's PR #266 was approved and merged by @Eras256.

    🏆 @M0nsxx: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (643 total points). Track your full progress on GrantFox.

    👏 Great work, @M0nsxx! Keep contributing to nirium-protocol.

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

Metadata

Metadata

Assignees

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