Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

thirdweb-example/smart-wallet-react

Repository files navigation

Smart Wallet React Demo

Simple web app that lets users connect their smart wallets and do gasless, signless transactions.

Also demo's adding scoped session keys to the smart wallet.

Environment Variables

To run this project, you will need to add environment variables. Check the .env.example file for all the environment variables required and add it to .env file or set them up on your hosting provider.

The demo requires a thirdweb clientId.

paste your client in your .env file:

VITE_TEMPLATE_CLIENT_ID={{your_client_id}}

Running the project

Install the dependencies

yarn install

Run the app

yarn dev

Deploy to IPFS

Deploy a copy of your application to IPFS using the following command:

yarn deploy

Learn More

To learn more about thirdweb, Vite and React, take a look at the following resources:

You can check out the thirdweb GitHub organization - your feedback and contributions are welcome!

Join our Discord!

For any questions, suggestions, join our discord at https://discord.gg/thirdweb.