Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make widget modular #316

Open
Systerr opened this issue Oct 21, 2024 · 1 comment
Open

Make widget modular #316

Systerr opened this issue Oct 21, 2024 · 1 comment

Comments

@Systerr
Copy link

Systerr commented Oct 21, 2024

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!

@chybisov
Copy link
Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants