Skip to content

Optimization :Lack of Multicall Implementation (djed-sdk) #45

@aniket866

Description

@aniket866
  • Issue: getCoinDetails in djed-sdk/src/djed/system.js performs ~6-8 separate RPC calls (totalSupply, scPrice, R, etc.) in parallel.

  • Impact: This floods the node with requests. Browser limits on concurrent connections (usually 6) will cause these to queue (waterfall), significantly slowing down the initial data load.

  • Fix: Implement a "Multicall" pattern (using a Multicall contract) to aggregate these into a single RPC request.

@Zahnentferner Please assign this me Optimization issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions