humanprotocol / human-protocol

Human Protocol python/js/ts Monorepo with example
https://dashboard.humanprotocol.org
MIT License
21 stars 31 forks source link

Job Launcher - Routing protocol - get fees cost estimation #595

Open portuu3 opened 1 year ago

portuu3 commented 1 year ago

Description Job launcher should show the fees for creating an escrow on each network. Then the user can choose the network or let the routing protocol choose based on this and other indicators.

Motivation Users should be able to know why the routing protocol chooses a network or another and also let them make the decision.

Implementation details Create an endpoint to server the cost values. Calculation: [current avg gas price] * [gas cost of launching the escrow]

s7c commented 7 months ago

ACCEPTANCE CRITERIA:

  1. The integrated endpoint provide real-time fee updates.
  2. Ensure that the system dynamically fetches and updates the current average gas price in real-time for accurate fee calculations in order to for the users to see up-to-date information when making decisions.
  3. Update relevant documentation to include the new details