it is very easy to upgrade to V2 version.
no code change. only need change to import
@deficonnect/web3-connector
package
DeFiConnect is a library that consists of many smaller npm packages within the @deficonnect namespace, a so called monorepo. Here are some of them to get an idea:
Package | Description | Latest |
---|---|---|
@deficonnect/cosmos-signer | Wrap the provider to support the API of the cosmos SDK | |
@deficonnect/provider | This package is used to help dapps connect to crypto.com wallet extension. Automatically detect the running environment, and proxy the method call to the provider | |
@deficonnect/qrcode-modal | Display QR code in direct connection mode | |
@deficonnect/types | types | |
@deficonnect/utils | utils | |
@deficonnect/web3-connector | implement AbstractConnector from web3-react |