You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The utils lib requires a crypto lib for each protocol support (Ethers for Evm, Solana Web3, CosmJS). The primary use case is for address validation and formatting (see src/addresses.ts) but Ethers is used in a few other places too.
This dependency will prohibit the effective design of a plugin-based architecture for protocols and will continue to inflate the utils package size as more protocols are added.
Solution
Either replace the uses of those libs with custom code or move the offending code (e.g. addresses.ts) to the SDK.
The text was updated successfully, but these errors were encountered:
Problem
The
utils
lib requires a crypto lib for each protocol support (Ethers for Evm, Solana Web3, CosmJS). The primary use case is for address validation and formatting (see src/addresses.ts) but Ethers is used in a few other places too.This dependency will prohibit the effective design of a plugin-based architecture for protocols and will continue to inflate the utils package size as more protocols are added.
Solution
Either replace the uses of those libs with custom code or move the offending code (e.g. addresses.ts) to the SDK.
The text was updated successfully, but these errors were encountered: