sdk-core
sdk-core copied to clipboard
Can Fraction be moved to separate package?
I very like Fraction implementation and would like to use it in my project, but for now i have to install whole sdk-core which pulls ethersproject and other unrelated dependencies.
Can it be moved to a separate package?
Hi @shrpne! Thanks for requesting this, I can definitely see the Fraction package being useful on its own. Given this codebase is licensed under MIT, feel welcome to pull it into a separate package as long as you follow the license guidelines.
If you do so, it'd be great if you submitted a PR to the README here pointing to the separate package for others who might also like the Fraction package on its own.
A separate package was created at https://github.com/hiroshitash/uniswap-sdk-fraction. A PR for the README was also created.
Please let me know with any questions.