Open bitbeckers opened 1 month ago
Deals can be denominated in USD (USDC/DAI) or ETH (ETH/wETH) and we should provide utilities for easy conversion:
Add these utilities to the (marketplace) SDK.
Iirc these methods are in the API and maybe the app. They should be migrated to and exposed by the SDK. Based on the connected chain, query the appropriate chainlink price feed and return the outcome
Deals can be denominated in USD (USDC/DAI) or ETH (ETH/wETH) and we should provide utilities for easy conversion:
Add these utilities to the (marketplace) SDK.