@mysten/create-dapp
@mysten/create-dapp
is a CLI tool that helps you to create a new dApp project.
You can get started quickly by running the following command:
pnpm create @mysten/dapp
This will prompt you through creating a new dApp project. It will ask you for the name/directory and ask you to select from one of the provided templates.
Templates
The following templates are available:
react-client-dapp
: A simple React dApp that fetches a list of objects owned by the connected walletreact-e2e-counter
: An end to end Example with move code and UI for a simple counter app
The examples are based off the Vite typescript starter project, and pre-configure a few things for you including:
- React (opens in a new tab)
- TypeScript (opens in a new tab)
- Vite (opens in a new tab)
- Radix UI (opens in a new tab)
- ESLint (opens in a new tab)
@mysten/dapp-kit
(opens in a new tab)
These templates are still new, and would love to get feedback and suggestions for improvements or future templates. Please open an issue on GitHub if you have any feedback.