Skip to content

Latest commit

 

History

History
69 lines (45 loc) · 1.67 KB

README.md

File metadata and controls

69 lines (45 loc) · 1.67 KB

Expo onchain app template

This is a template that handles the basics of an onchain app, specifically has all the user management and smart wallet logic built in.

  • 🔹 auto login as guest on launch
  • 🔹 smart wallet only, gas sponsored, ready to transact with no popups
  • 🔹 all amounts shown in $
  • 🔹 link social auth to backup account
  • 🔹 link external wallets
  • 🔹 UI to deposit into smart account
  • 🔹 UI to withdraw

Built with

  • 🔸 react native 0.76+
  • 🔸 expo 52+
  • 🔸 nativewind 4+
  • 🔸 thirdweb

Fork this repo, add your own logic, and start building!

Live demo

Watch the live demo

Setup

Create a new project in the thirdweb dashboard.

Copy the .env.example file to .env

cp .env.example .env

Add your client id to the .env file

EXPO_PUBLIC_THIRDWEB_CLIENT_ID=your_client_id

Run the app

  1. Install dependencies
yarn install
  1. Start the app (ios or android)
yarn ios
# or yarn android

Learn more

Learn more about building apps with expo and thirdweb with the following resources:

  • thirdweb dashboard - manage your API keys, smart wallets policies, project settings, and more
  • thirdweb docs - learn how to use thirdweb to connect wallets, transact, and read onchain data

Join the community

Join our community of developers creating universal apps.