For the complete documentation index, see llms.txt. This page is also available as Markdown.

Ready Mobile for your react native app

You can connect your mobile native application to Ready with Wallet Connect.

Step 1: Install packages

First, install the required packages from WalletConnect (now Reown):

pnpm install @walletconnect/universal-provider @walletconnect/types @walletconnect/core @walletconnect/react-native-compat

Step 2: Configure URL Schemes

For an EXPO project, update your app.json:

{
  "expo": {
    "scheme": "yourappscheme",
    "ios": {
      "infoPlist": {
        "LSApplicationQueriesSchemes": [
          "argent",
          "argentx",
          "argentmobile"
        ]
      }
    }
  }
}

Step 3: Initialize the WalletConnect Provider

Step 4: Initialize the Provider on Component Mount

Add a useEffect hook to initialize the provider when the component mounts:

Step 5: Implement Deep Linking to Ready Mobile

Add a function to open the Ready Mobile wallet:

Step 6: Connect to Ready Mobile

Step 7: Disconnect from the wallet

Step 8: Send a Transaction

To send requests to the client, the chainId is required.

Use the following chainID:

  • Starknet mainnet: starknet:SNMAIN

  • Starknet Sepolia: starknet:SNSEPOLIA

The full example is in this repo: demo-walletconnect-rn-mobile

You will also need the specific Wallet Connect RPC reference for Starknet.

Last updated

Was this helpful?