Create a new project with the thirdweb packages installed and configured.
npx thirdweb create
After running the command, you will be prompted to provide the:
- Type of project to create (app, smart contract, or dynamic contract extension)
- Name of your project
If you choose App, you will be prompted to provide the:
- Framework to build with (Next.js, Create React App, Vite, React Native, Node.js or Express)
If you choose Smart Contract or Dynamic Contract Extension you will be prompted to provide the:
- Framework to build with (Forge or HardHat)
- Base Contract (choose from ERC721, ERC1155 or ERC20, or empty)
- Smart Contract name
npx thirdweb create [options] [projectPath]
Create a web3 app.
Create a web3 contract project
Initialize as a TypeScript project.
Initialize as a Forge project.
Initialize as a Hardhat project.
Create a smart contract extension.
Initialize as a Create React App project.
Initialize as a Next.js project.
Initialize as a Vite project.
Initialize as a React Native project.
Initialize as a Express project.
Initialize as a Node project.
Explicitly tell the CLI to bootstrap the app using npm.
Explicitly tell the CLI to bootstrap the app using pnpm.
The preferred framework.
Initialize as an Ethereum project.
A template to start your project from. You can use an template repository name from the official thirdweb-example org.
Name of the new smart contract to create