Skip to content

Add JSON export feature for extracted addresses #1

@Fazel-python

Description

@Fazel-python

Overview

Currently, the project saves all extracted Bitcoin addresses into a plain text file (ADD-LIST.txt). While this format is simple and human-readable, it limits usability for further automated processing or integration with other tools and platforms.

Feature Request

I propose to add an option to export the extracted addresses in JSON format. This would provide structured data output, making it easier for developers and analysts to consume and manipulate the data programmatically.

Benefits

  • Facilitates integration with other blockchain analytics tools and APIs
  • Enables easier parsing and data manipulation using standard JSON libraries
  • Improves project usability for research and development purposes

Suggested Implementation

  • Add a command-line argument or config flag (e.g., --json) to enable JSON output
  • When enabled, save addresses in a JSON array structure to a file like addresses.json
  • Ensure backward compatibility by keeping the existing plain text output option
  • Update the README.md with instructions and examples for the new feature

Additional Notes

  • Consider adding tests to verify JSON output correctness
  • Handle large data sets efficiently to avoid memory issues

Happy to contribute to this feature if you want!

Thanks for your awesome project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions