Installation
Install WalletKit package.
- npm
- Yarn
- Bun
- pnpm
npm install @walletconnect/web3wallet @walletconnect/react-native-compat
yarn add @walletconnect/web3wallet @walletconnect/react-native-compat
bun add @walletconnect/web3wallet @walletconnect/react-native-compat
pnpm add @walletconnect/web3wallet @walletconnect/react-native-compat
Additionally add these extra packages to help with async storage, polyfills and the instance of ethers.
- npm
- Yarn
- Bun
- pnpm
npm install @react-native-async-storage/async-storage @react-native-community/netinfo react-native-get-random-values fast-text-encoding @ethersproject/shims ethers@5.7.2 @json-rpc-tools/utils
yarn add @react-native-async-storage/async-storage @react-native-community/netinfo react-native-get-random-values fast-text-encoding @ethersproject/shims ethers@5.7.2 @json-rpc-tools/utils
bun add @react-native-async-storage/async-storage @react-native-community/netinfo react-native-get-random-values fast-text-encoding @ethersproject/shims ethers@5.7.2 @json-rpc-tools/utils
pnpm add @react-native-async-storage/async-storage @react-native-community/netinfo react-native-get-random-values fast-text-encoding @ethersproject/shims ethers@5.7.2 @json-rpc-tools/utils
Additional setup for Expo
npx expo install expo-application
For those using Typescript, we recommend adding these dev dependencies:
- npm
- Yarn
- Bun
- pnpm
npm install --save-dev @walletconnect/jsonrpc-types
yarn add --dev @walletconnect/jsonrpc-types
bun add --save-dev @walletconnect/jsonrpc-types
pnpm add --save-dev @walletconnect/jsonrpc-types
Next Steps
Now that you've installed WalletKit, you're ready to start integrating it. The next section will walk you through the process of setting up your project to use the SDK.
Was this helpful?