strkfarm / sdk-ts

0 stars 1 forks source link

Fix Ekubo Pricer key #2

Open akiraonstarknet opened 2 months ago

akiraonstarknet commented 2 months ago

Using EKUBO-USDT as Ekubo pricer key in tokens.json, is causing failure at coinbase API. either its unknown key or coinbase doesnt support EKUBO. Since we dont need this key now, I hardcoded a diff value, but needs to be fixed for safety.

ShantelPeters commented 2 months ago

Please can i work on this ?

akiraonstarknet commented 2 months ago

@ShantelPeters please share your understanding and approach to solve the issue. If you need to talk, reach out to me on tg @akiraonstarknet

ShantelPeters commented 2 months ago

I will approach to solve the issue with the following;

  1. Remove EKUBO-USDT from tokens.json.
  2. Replace with a supported key (e.g., a stablecoin like USDT-USD).
  3. Verify the new key works with Coinbase API.
  4. Consider implementing a dynamic key update mechanism to avoid hardcoding. @akiraonstarknet please I’ll love to be assigned to this issue .
JoE11-y commented 2 months ago

@akiraonstarknet can I get a chance on this?