React Quickstart
Follow this guide to create an app with embedded wallets with, social login and ability to send sponsored transactions.
You can also follow the Quickstart in the Dashboard.
1. Clone template repo
2. Set up environment
Once you have your project cloned down and you are in the my-smart-wallets-app
level in your terminal, go to your project’s root, create a .env
file and copy-paste the following into it:
Remember: you must create a Configuration
and a Paymaster Policy
if you want to use Smart Wallets.
Both the Configuration
and the Policy ID
must be linked to the application
behind your API Key!
3. Run app
In your terminal, run:
Your localhost:3000
should now display the following:
4. Log in and view the app
You can use a service like Temp Mail to test logins with throwaway email accounts.
Note: Social login will not work just yet!
Once you use an email, you will receive a 6-digit authentication code. Copy-paste it into the following screen:
Once you have signed in, you can mint your own NFT! 🎉
5. Next steps
In the Dashboard, you can set your app up with:
- Social login methods
- Gas sponsorship
- Customized styling