Create a project using this example:
npx thirdweb create --template vite-javascript-starter
You can start editing the page by modifying src/main.jsx
. The page auto-updates as you edit the file.
On src/index.jsx
, you'll find our ThirdwebProvider
wrapping your app,
this is necessary for our hooks and
UI Components to work.
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.local
file or set them up on your hosting provider.
Deploy a copy of your application to IPFS using the following command:
yarn deploy
To learn more about thirdweb, Vite and React, take a look at the following resources:
- thirdweb React Documentation - learn about our React SDK.
- thirdweb JavaScript Documentation - learn about our JavaScript/TypeScript SDK.
- thirdweb Portal - check our guides and development resources.
- Vite Documentation - learn about Vite features.
- React documentation - learn React.
- Templates
You can check out the thirdweb GitHub organization - your feedback and contributions are welcome!
For any questions, suggestions, join our discord at https://discord.gg/thirdweb.