strkfarm / sdk-ts

0 stars 1 forks source link

Add dynamic tokens.json support #1

Open akiraonstarknet opened 2 months ago

akiraonstarknet commented 2 months ago

When zkLend adds new tokens, getPositions and price compute fails as pricer and certain operations run on static tokens.json data. We need to make this list update dynamically.

ShantelPeters commented 2 months ago

Hi @akiraonstarknet
Please can I be assigned to this issue

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

Hi @akiraonstarknet From my understanding , the current issue arises from the static nature of the tokens.json file which causes getPositions and price to fail when new tokens are added .. I plan to solve this by updating the tokens.json file dynamically when new tokens are added so the pricer and operations can access the lastest token list.

ShantelPeters commented 1 month ago

Hello @akiraonstarknet I tried reaching out to you on telegram and I didn’t get anymore response from you