GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - thirdweb-example/expo-starter: Starter kit to build with Expo and thirdweb without additional initial configuration.

BranchesTags
Open more actions menu

Latest commit

 

History

56 Commits
56 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
assets
assets
 
 
components
components
 
 
constants
constants
 
 
hooks
hooks
 
 
scripts
scripts
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
app.json
app.json
 
 
babel.config.js
babel.config.js
 
 
eas.json
eas.json
 
 
index.js
index.js
 
 
metro.config.js
metro.config.js
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
yarn.lock
yarn.lock
 
 

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 --react-native

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. Prebuild the ios and android directories

Important

The thirdweb SDK uses native modules, which means it cannot run on expo GO. You must build the ios and android apps to link the native modules.

npx expo prebuild

This will create the ios and android directories.

  1. Start the app
yarn ios

or

yarn android

To run this app, you'll need either:

  • Android emulator
  • iOS simulator

Troubleshooting

OpenSSL Error on Xcode 16

If using xcode 16, you may encounter a OpenSSL error when trying to build the app. This is because xcode 16 requires a newer version of OpenSSL than the one specified in the current app.json.

To fix this, change the version of OpenSSL specified in the app.json file to 3.3.2000.

  • Open the app.json file
  • Find the ios > extraPods section
  • Set "version": "3.3.2000" for the OpenSSL-Universal pod
  • Save the file

Then run npx expo prebuild to update the native modules with the new OpenSSL version and run the app again.

Additional Resources

  • Documentation
  • Templates
  • YouTube

Support

For help or feedback, please visit our support site

About

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

Topics

exporeact-nativestarter-kitstarter-templatethirdwebthirdweb-sdkthirdwebsdkweb3

Resources

Readme
Activity
Custom properties

Stars

53 stars

Watchers

4 watching

Forks

20 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.