This template has everything you need to build a web3 app on Solana using the thirdweb SDK.
Create a project using this example:
npx thirdweb create --template next-typescript-solana-starter
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
On pages/_app.tsx
, you'll find our ThirdwebProvider
wrapping your app, this is necessary for our hooks to work.
on pages/index.tsx
, you'll find an example of a connect wallet button and some hooks.
To learn more about thirdweb and Next.js, take a look at the following resources:
- thirdweb React Documentation - learn about our React SDK.
- thirdweb TypeScript Documentation - learn about our JavaScript/TypeScript SDK.
- thirdweb Portal - check our guides and development resources.
- Next.js Documentation - learn about Next.js features and API.
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.