Developer Setup
Here is an easy way to setup your environment depending on the type of development.
-
Initialize Frontend Project
Here are some examples of popular choices:
Terminal window pnpx create-next-app@latestTerminal window pnpx create vite my-aptos-app --template react-ts -
Install @aptos-labs/ts-sdk
Terminal window npm i @aptos-labs/ts-sdk -
Setup TS SDK
TS SDK Quickstart See how to setup your account, network, use the faucet, send / simulate transactions, and more -
Build your app!
The developer setup for using Aptos in your frontend is now complete. Checkout our other tools that streamline the development process
Indexer Efficiently query for on-chain state like balances, transaction activity, token data, and moreTS SDK Examples 20+ Examples of how to use the TS SDKAptos Build Hitting rate limits for Fullnode API / Indexers? Get an API Key here
-
Install CLI
Aptos CLI Instructions for how to install Aptos CLI -
Setup Editor or IDE
Add the following extensions to your editor of choice to make Move Development easier
Move Language Language server and syntax highlighter for JetBrains IDEs like CLion, Rust Rover, WebStorm, IntelliJAptos Move Analyzer Language server and syntax highlighter for VSCode -
Create Smart Contract
Navigate to your application folder and initialize a new smart contract by doing:
Terminal window aptos move init --name my_todo_list -
Build, Compile, and Deploy Smart Contract!
The developer setup for using Aptos for smart contracts is now complete. For more info see the link to the Dapp tutorial below
Create Smart Contract Guide An easy todo list guide for how to setup a smart contract with Move
-
Install create-aptos-dapp
Run the below command to install a dApp from a template in seconds:
Terminal window npx create-aptos-dapp@latestTerminal window pnpx create-aptos-dapp@latest -
Follow the prompts
Follow the CLI prompts to select a name, template, and network for your new dApp.
-
Start building and customizing your new dApp!
Navigate to your new project and open in your favorite IDE to continue building!
Follow the generated
README.md
file for next steps. -
Continue reading
Create Aptos Dapp Get more information about the toolTemplates Browse premade templatesFAQ Get help for common issues and questions