Skip to content

A demo app using Privy as a signer, with ZeroDev for Account Abstraction on Expo React Native, with Tamagui for styling

Notifications You must be signed in to change notification settings

Stephen-Gordon/zerodev-privy-expo

Repository files navigation

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

About

A demo app using Privy as a signer, with ZeroDev for Account Abstraction on Expo React Native, with Tamagui for styling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published