Skip to content

Starter kit to build with Expo and thirdweb without additional initial configuration.

Notifications You must be signed in to change notification settings

thirdweb-example/expo-starter

Repository files navigation

Banner

thirdweb expo starter

Starter template to build an onchain react native app with thirdweb and expo.

Features

  • in-app wallets using phone number, email or social logins to create a wallet for the user
  • smart accounts to sponsor gas
  • connecting to external wallets like MetaMask via WalletConnect
  • autoconnecting to the last connected wallet on launch
  • reading contract state and events
  • writing to the blockchain

Installation

Install the template using thirdweb create

  npx thirdweb create app --expo

Get started

  1. Install dependencies
yarn install
  1. Get your thirdweb client id

Rename the .env.example file to .env and paste in your thirdweb client id.

You can obtain a free client id from the thirdweb dashboard.

  1. Start the app
yarn ios

or

yarn android

To run this app, you'll need either:

Additional Resources

Support

For help or feedback, please visit our support site