The Boilerplate template provides a starter dapp with all necessary dapp infrastructure and a simple wallet info implementation.
The Boilerplate template provides:
- Folder structure - A pre-made dapp folder structure with a
frontend
andmove
folders. - Dapp infrastructure - All required dependencies a dapp needs to start building on the Aptos network.
- Wallet Info implementation - Pre-made
WalletInfo
components to demonstrate how one can use to read a connected Wallet info.
- React framework
- Vite development tool
- shadcn/ui + tailwind for styling
- Aptos TS SDK
- Aptos Wallet Adapter
- Node based Move commands
The tool utilizes aptos-cli npm package that lets us run Aptos CLI in a Node environment.
Some commands are built-in the template and can be ran as a npm script, for example:
npm run move:init
- a command to initialize an account to publish the Move contract and to configure the development environmentnpm run move:publish
- a command to publish the Move contractnpm run move:test
- a command to run Move unit testsnpm run move:compile
- a command to compile the Move contract
For all other available CLI commands, can run npx aptos
and see a list of all available commands.