Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 823 Bytes

README.md

File metadata and controls

42 lines (25 loc) · 823 Bytes

ZeroDev Privy Expo Demo

A React Native Expo app that integrates Privy ZeroDev and Tamagui Currently working on Android and iOS simulators with Expo v50.

Description

The user first creates their embeded wallet with Privy. The Privy provider is then used as a signer for ZeroDev's smart account.

Screen.Recording.2024-05-27.at.23.11.26.mov

useCreateKernel hook

This hook takes in the provider, creates the ZeroDev kernel, then exports the kernelAccount and kernelClient.

Setup

First please install Expo Go v50, following this guide

  1. Install dependencies

    npm i
  2. Add your Privy and ZeroDev ids to a .env

Run the app

# expo go
npm start

# ios
npm run ios

# android
npm run android