App Integration
Initializing Alchemy Provider
Wrap your application with the Alchemy Provider to enable embedded wallet functionality.
1. Create a file: providers.tsx
app/providers.tsx
2. Update your layout.tsx
app/layout.tsx
3. Add authentication to your app
Now you can use the Alchemy React components to add wallet authentication anywhere in your app.
Example page with login functionality
app/page.tsx
Now that you have basic authentication working, you can explore additional features:
Send User Operations
Learn how to perform transactions by sending user operations with your smart wallet.
Customize UI Components
Customize and style the UI components to match your application’s design.
Add Gas Sponsorship
Enable gasless transactions by setting up gas sponsorship for your users.
Multi-Factor Authentication
Enhance security by implementing multi-factor authentication for your users.