-
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
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