coinbase/coinbase-wallet-sdk
coinbase/coinbase-wallet-sdk has 1,768 GitHub stars and 766 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 02:13 UTC. Last push 2026-10-27.
An open protocol that lets users connect their mobile wallets to your DApp
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalCoinbase Wallet SDK
Overview
The Coinbase Wallet SDK connects your app to Coinbase Wallet so it can interact with the Ethereum blockchain.
Installing the SDK
# npm
npm install @coinbase/wallet-sdk
# yarn
yarn add @coinbase/wallet-sdk
SDK Setup and Usage
Upgrading the SDK
Compare the installed version with the latest:
# yarn yarn outdated @coinbase/wallet-sdk # npm npm outdated @coinbase/wallet-sdkUpdate to latest:
# yarn yarn upgrade @coinbase/wallet-sdk --latest # npm npm update @coinbase/wallet-sdk
Basic SDK Usage
Initialize the SDK
const sdk = createCoinbaseWalletSDK({ appName: 'SDK Playground', });Make Coinbase Wallet Provider
const provider = sdk.evm.getProvider();Request accounts to initialize a connection to wallet
const addresses = provider.request({ method: 'eth_requestAccounts', });Make more requests
provider.request('personal_sign', [ `0x${Buffer.from('test message', 'utf8').toString('hex')}`, addresses[0], ]);Handle provider events
provider.on('connect', (info) => { setConnect(info); }); provider.on('disconnect', (error) => { setDisconnect({ code: error.code, message: error.message }); }); provider.on('accountsChanged', (accounts) => { setAccountsChanged(accounts); }); provider.on('chainChanged', (chainId) => { setChainChanged(chainId); }); provider.on('message', (message) => { setMessage(message); });
Developing locally and running the test app
The Coinbase Wallet SDK test app can be viewed here https://coinbase.github.io/coinbase-wallet-sdk/.
To run it locally follow these steps:
- Fork this repo and clone it
- From the root dir run
yarn install - From the root dir run
yarn dev
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,681 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,165 starsreact/react
The library for web and native user interfaces.
252,298 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,623 stars