Open NickKelly1 opened 1 week ago
This pull request introduces modifications across several files related to network support in the Rango and Changelly providers. A new network, "Base," is added to the Changelly provider's supported networks. In the Rango provider, the structure for managing supported networks is redefined, including the removal of hardcoded entries and the introduction of a new supported.ts
file that centralizes network information. This restructuring aims to improve maintainability and streamline network validation processes.
File Path | Change Summary |
---|---|
packages/swap/src/providers/changelly/supported.ts |
Added support for the "Base" network in the supportedNetworks object with a new changellyName and isAddress method. |
packages/swap/src/providers/rango/index.ts |
Removed the SupportedNetworkInfo type and supportedNetworks constant; updated mappings for supportedNetworkInfoByName and supportedNetworkByRangoBlockchain . |
packages/swap/src/providers/rango/supported.ts |
Introduced a new file defining SupportedNetworkInfo , supportedNetworks , supportedNetworkInfoByName , and supportedNetworkByRangoBlockchain , along with extensive documentation. |
index.ts
file in the Rango provider, which is related to network support checks, similar to the addition of the "Base" network in the main PR's supported.ts
file. Both PRs deal with the management and validation of supported networks.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
:briefcase: Build Files chrome: enkrypt-chrome-a28a95a6.zip firefox: enkrypt-firefox-a28a95a6.zip
:syringe: Virus total analysis chrome: a28a95a6 firefox: a28a95a6
Summary by CodeRabbit
New Features
Bug Fixes
Documentation