WalletConnect in our React Native SDK
Version 0.2.51 - Release Date Aug 16, 2023
Added:
Full Support for WalletConnect: From this version, developers can effortlessly integrate WalletConnect wallets into their projects. This major feature update ensures compatibility with all WalletConnect-supported wallets.
Here's a simple usage example for integrating WalletConnect with the ThirdwebProvider:
import {
walletConnect,
ThirdwebProvider
} from "@thirdweb-dev/react-native";
import { Ethereum } from "@thirdweb-dev/chains";
const App = () => {
return (
<ThirdwebProvider
clientId="your-client-id"
activeChain={Ethereum}
supportedWallets={[
walletConnect(),
]}
>
<AppInner />
</ThirdwebProvider>
);
};
walletConnect
config:
walletConnect({ projectId: 'your-project-id' });
- projectId (optional): We provide a default
projectId
you can use in development but we highly recommend you create your own when launching your app.
Updated:
- Documentation: Comprehensive updates to the SDK documentation reflecting the new WalletConnect integration and related configuration.