Quickstart with React
Concise. Get started with Dojo in minutes.
This assumes knowledge of React and the Dojo CLI.
Prerequisites:
- Create project
npx @dojoengine/create-dojo start -t example-vite-react-sdk- Setup client
cd client
pnpm i
pnpm devVisit http://localhost:5173 to view the project. It will not be connected to the network yet.
- Setup contracts
# In contracts directory
sozo build
 
# In new terminal
katana --disable-fee --allowed-origins "*"- Connect to the development network and indexer
# In new terminal
sozo migrate- Return to the client and refresh the page. You should now see the project connected to the network and indexed!
Next Steps
This should have given you a good starting point to build your first application with Dojo. Here are some next steps to take: