Introducing an ICP Subaccount Indexer: Efficiently Detect Incoming Transfers to Subaccounts

Hello,

I’m representing Jagad and am thrilled to announce our ICP grant project. The ICP Sub-Account Indexer is a powerful tool for managing ICP sub-accounts on the Internet Computer.

Our Journey

We aimed to create a reliable tool to efficiently track and manage ICP token transfers. Through continuous development, we’ve built a robust system that enhances user control and security in handling ICP sub-accounts.

Key Features of ICP Sub-Account Indexer

Subaccount Management: Add and manage subaccounts effortlessly, ensuring privacy and security through SHA224 encryption for unique subaccount IDs.

Transaction Tracking: Efficiently lists and clears transactions, allowing users to keep track of all activities within their subaccounts.

Fund Sweeping: Automatically sweep funds from subaccounts to a main user vault, simplifying fund consolidation and management.

On-Chain Advantages

The ICP Sub-Account Indexer operates on a decentralized network, eliminating single points of failure and enhancing security. Users benefit from full control over their data and assets in a transparent and auditable environment.

Technical Overview

  • Languages: Rust
  • Canister Methods: Add subaccounts, list transactions, clear transactions, sweep funds, issue refunds, retrieve canister status

Design Highlights

Our design leverages SHA224 encryption to derive unique subaccount IDs, ensuring efficient batch processing of transactions. This approach guarantees scalability and performance without compromising security.

Sequence Flow

To illustrate how the ICP Sub-Account Indexer works, we’ve created a sequence diagram to visualize the integration process for your app.

Integration with Internet Computer

The ICP Sub-Account Indexer utilizes the following features of the Internet Computer:

  • Seamless Integration: Auto-generated Candid files ensure smooth communication with canisters.
  • Scalability: Efficient cycle use supports growing user demands effectively.
  • Efficiency: Optimized batch funds processing for higher performance and cycle efficiency.

Current Status

We have successfully tested the core functionalities of the ICP Sub-Account Indexer. Developers are invited to engage with the tool, test its capabilities, and provide feedback to help refine and enhance its functionality.

Our project is fully open-source so you can visit our repository at github .com/garudaidr/icp-subaccount-indexer.

Also, if you want to see how it works, you can see our Live Demo Video!

1 Like

I could only post two links in the original post, so the GitHub repository link is broken.

To learn more about our project, look up our repository. You can also watch our product pitch.

Hello,

I sent my tokens from Sonic back to my NNS wallet. However, under the “Optional Sub Account” line I pasted my main ICP account ID, not knowing that a Sub Account ID was something different.

Regardless of what I pasted on the optional line, I did send my tokens to the correct principle ID, but yet they still haven’t arrived.

Here is a screenshot to the transaction page on ICP DASHBOARD:

I would greatly appreciate it if you can help me with this.

Thank You for your time and consideration.

Feel free to email me at

Cryptosophy@icloud.com

Hey @_dfinityhero Can you help me with the issue I’m having? Your post is the only thing I could find on this entire website referencing Subaccounts.