Make widget modular
Opened this issue · 1 comments
Now widget contains bitcoin, solana and evm support. Sadly all this support shipped on one package. In some cases (a lot of cases i believe) only one network is needed and other just a lot of unused bytes
Will be amazing to install only necessary network support by moving it to optional-dependencies and widget can detect what options should be enabled
Thank you!
Hey, we also had this idea, just didn't have time to properly address it. You can disable chains you don't want to see, though.
https://docs.li.fi/integrate-li.fi-widget/configure-widget#configure-allow-and-deny-options
The footprint should be minimal (100-200kb per ecosystem). Anyway, I completely agree with you and we will make it more modular :) Thank you!