Coinbase Wallet SDK
Coinbase Wallet SDK lets developers connect their dapps to Coinbase Wallet
on both mobile web (for iOS and Android) and desktop:
Installing and Upgrading
The installation package for Coinbase Wallet SDK (formerly WalletLink) is now named @coinbase/wallet-sdk
.
Installing Wallet SDK
Install Coinbase Wallet SDK with yarn or npm.
Yarn
- Check available versions of Wallet SDK.
yarn info @coinbase/wallet-sdk versions
- Install a specific version or the latest version.
#yarn add @coinbase/wallet-sdk@3.0.0
yarn add @coinbase/wallet-sdk
- Check your installed version.
yarn list @coinbase/wallet-sdk
Npm
- Check available versions of Wallet SDK.
npm view @coinbase/wallet-sdk versions
- Install a specific version or the latest version.
#npm install @coinbase/wallet-sdk@3.0.0
npm install @coinbase/wallet-sdk
- Check your installed version.
npm list @coinbase/wallet-sdk
Upgrading Wallet SDK
Upgrade Coinbase Wallet SDK with yarn or npm.
Yarn
- Compare your installed version of Coinbase Wallet SDK with the latest available version.
yarn outdated @coinbase/wallet-sdk
- Update Coinbase Wallet SDK to the latest.
yarn upgrade @coinbase/wallet-sdk --latest
Npm
- Compare your installed version of Coinbase Wallet SDK with the latest available version.
npm outdated @coinbase/wallet-sdk
- If necessary, update
package.json
with the latest major version.
{
"dependencies": {
"@coinbase/wallet-sdk": "^3.0.0"
}
}
- Update Coinbase Wallet SDK to the latest available version.
npm update @coinbase/wallet-sdk
Attributions
Copyright © 2018-2023 Coinbase, Inc. <https://www.coinbase.com/>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.