Coinbase Wallet SDK (formerly WalletLink) lets developers connect their dapps to Coinbase Wallet on both mobile web (for iOS and Android) and desktop:
-
Mobile: Users can connect to your mobile web dapp through a deeplink to the dapp browser in Coinbase Wallet Mobile App.
-
Desktop: Users can connect to your desktop app with a QR code in the Coinbase Wallet Mobile App or with the Coinbase Wallet Chrome Extension.
Wallet SDK is open-source and uses minimal dependencies for maximum security and no code bloat. Simply drop a few lines of code into your dapp and Wallet SDK takes care of the rest.
This repo uses a yarn workspace. To get started, run:
yarn install
# To start the development server run the following command. This starts a nextjs app on port 3001. Any changes in the SDK become available through the app.
yarn dev
# To interact with the SDK directly:
yarn workspace @coinbase/wallet-sdk "<command>"
# To lint all files
yarn lint
# To typecheck all files
yarn typecheck
The installation package for Coinbase Wallet SDK (formerly WalletLink) is now named
@coinbase/wallet-sdk
.
- This readme contains brief instructions to get up and running.
- Visit our public developer docs for more detail, including samples for integrating Coinbase Wallet using libraries like web3-react, web3modal, Web3-Onboard, and wagmi.