Create a project using this example:
npx thirdweb create --template node-typescript-starter
Install dependencies:
npm install # npm
yarn # yarn
- Export your wallet private key from your wallet and add it to the .env file.
PRIVATE_KEY=your_private_key
- Run the project:
npm run dev # npm
yarn dev # yarn
To learn more about thirdweb and Next.js, take a look at the following resources:
- thirdweb TypeScript Documentation - learn about our JavaScript/TypeScript SDK.
- thirdweb Portal - check our guides and development resources.
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.