Let's get tarted

Here’s how you can use the create-aptos-app tool to set up a new Aptos DApp using a boilerplate template:

Run the Setup Command:

npx create-aptos-app@latest

Follow the Prompts:

  • Enter a New Project Name: When prompted, enter your desired project name (e.g., my-aptos-dapp).

  • Choose How to Start: Select Boilerplate Template to use the pre-configured template.

  • Choose Your Network: Choose Testnet for testing purposes.

  • Help Us Improve create-aptos-dapp by Collecting Anonymous Data: Choose no to opt out of data collection.

  • Do You Want to Make Any Changes to Your Selections? (Default is No): Choose no to proceed with the default settings.

This setup will create a new Aptos DApp project with a boilerplate template, configured for the Testnet environment, and ready for further development.

You're ready to start building your dapp on Aptos.

Next steps:

  1. cd my-aptos-dapp

  2. Follow the instructions for the Boilerplate Template template on https://aptos.dev/en/build/create-aptos-dapp/templates/boilerplate

  3. npm run dev

Last updated