You can either clone this repo or quicky spin up a new project using create-expo-app.
# Create a new project directory
mkdir my-app && cd $_
# Create a new expo project using this template
npx create-expo-app@latest . --template https://github.com/alchemyplatform/account-kit-expo-quickstartMore details on using create-expo-app can be found here
First of ensure you have your account kit public api key.
You can get your account kit api key by creating a new app in your Alchemy Dashboard. Check out the Account Kit docs for more information.
Once you have your api key, add a .env file in the root of your project and add the following variables:
EXPO_PUBLIC_API_KEY="Your account kit public api key"
You can now run the app using npx expo run:ios or npx expo run:android to run the app on your device, based on your platform of choice.
Learn how to use account kit to send user operations, perform gas sponsorship and more by checking out our documentation.
