MinaMap - Transaction flow visualizer

This topic is to discuss the proposal submitted by @wzqs .Please see below for the details of the proposal and discussion.

29th Aug ,2024
Current status: Funded.
This proposal is approved for funding. Opensource tooling for transaction analysis is a public good for the ecosystem. This tooling should help researchers and the community to investigate on-chain activity. There is also interest shown by mature ecosystem projects to integrate this into their stack on completion. The funding requested is in line with the work proposed. We expect the risk to be low for this project and the impact to be medium

20th Aug ,2024
Current status: Under Consideration.
Opened for community discussion on :20th Aug, 2024.

Title

minamap: Chrome Extension for Tracking Transaction Flows on the Mina Blockchain Explorer

Project Background

This proposal aims to develop a Chrome extension that enhances user interaction with the Mina blockchain explorer. The extension will allow users to track transaction flows and conveniently display address labels. It will be compatible with common Mina blockchain explorers, such as Minascan and Minaexplorer. The extension will add a query button to the address page you visit, and when you click it, the extension will call the Mina blockchain explorer’s API on the current active page to generate a graphical interface for transaction flows.Currently, there are no dedicated Chrome extensions tailored for Mina(similar product: https://chromewebstore.google.com/detail/metasuites-builders-swiss/fkhgpeojcbhimodmppkbbliepkpcgcoo?pli=1) that provide such functionality, making this initiative both novel and necessary.

Proposal Overview

Problem

There is a lack of user-friendly tools for users to analyze fund flows and display address labels directly within the Chrome browser for the Mina blockchain.

Solution
Develop a Chrome extension that calls the Mina blockchain explorer’s API, then generates a user interface graph with popular Mina blockchain explorers. This extension will provide users with the ability to efficiently track fund flows and display address labels.

just like this:

Audience
The target audience includes Mina blockchain users who require easy access to analyze fund flows and address labeling functionalities directly from their Chrome browser.

Architecture & Design

Detailed Design/Architecture
The extension will consist of frontend components for user interfacing with Mina blockchain explorers’ APIs. It will utilize modern web technologies and adhere to Chrome’s extension development guidelines for seamless integration.

Vision
Our long-term vision is to evolve the extension into a comprehensive suite of tools that not only track transaction flows and display addresses but also integrate additional features based on user feedback and technological advancements.

Existing Work
N/A

Production Timeline
Expected production timeline: 3 months post funding approval.

Budget & Milestones

Deliverables

  1. Functional Chrome extension for tracking transaction flows and displaying address labels.Regarding transaction flows, the API request will query all incoming and outgoing addresses, which will be visualized. Address labels will also be added if they exist.
  2. Documentation and user guide.

Mid-Point Milestones

Completion of frontend development and initial Mina BlockChain API integration.

Project Timeline: 2M - 2.5M

  1. Month 1: Detailed design and frontend development.
  2. Month 2: Mina BlockChain API integration and initial testing.
  3. Month 2 - 2.5: Final testing, documentation, and release.

Budget Requested: 6,000 MINA

Budget Breakdown

  • Development and Design: 2,000 MINA
  • Testing and Quality Assurance: 2,000 MINA
  • Documentation and User Guide: 2,000 MINA

Wallet Address
B62qmdhpUCA8fy6oFeMY41XS5EN7ad2RVKamSkmrfYcn2zWWLrJW1b5

Team Info

Proposer Github: wzqs (wzqs) · GitHub

Proposer Experience: Cryptocurrency Exchange

Team Members: vv

Risks & Mitigations

Risks

  1. Dependency on external APIs and data sources.
  2. Compatibility issues with future Chrome updates.

Mitigations

  1. Implement robust error handling and fallback mechanisms.
  2. Maintain active development to address compatibility issues promptly.

By addressing these aspects comprehensively, we aim to create a valuable addition to the Mina blockchain ecosystem, enhancing usability and expanding its user base through accessible tools and intuitive interfaces.

3 Likes

The analogous extension works on etherscan website. On what domains are you going to overlay the interface ?

My initial plan is to support the following browsers:

I can also support other popular Mina blockchain explorers if needed.

2 Likes

Hey, I’ll be happy to include the extension part in pallad.co, and add the visualizations for Minascan. CC: @Ducca @vhorba

3 Likes

Minascan team would be interested in integrating the TX flow visualizer into our services.

1 Like

This proposal is approved for funding. Opensource tooling for transaction analysis is a public good for the ecosystem. This tooling should help researchers and the community to investigate on-chain activity. There is also interest shown by mature ecosystem projects to integrate this into their stack on completion. The funding requested is in line with the work proposed. We expect the risk to be low for this project and the impact to be medium.

1 Like

As an idea for the second stage of this project, it would be great to visualize all AccountUpdates in the transaction in 2 modes:

  • List of AccountUpdates as it is seen on the sent transaction after tx.send() and displayed in the explorer
  • Tree of the AccountUpdates (including visualizing parent-child relationships, labels, callDepth, authorization status, etc) for the transaction produced by Mina.transaction before flattering.
2 Likes

Good Idea. I’ll take your suggestion under advisement.

1 Like