This template is an opinionated alternative template to CAD (create-aptos-dapp).
Please read each directory's README carefully to understand how to use the template.
indexer
directory for custom indexer on the contractnext-app
directory for the Next.js frontendmove
directory for the contract and integration testsnode-scripts
directory for some quick scripts to interact with the contract in Node.js
Using GitHub Codespace
If you are on a Windows machine or have trouble pulling a docker image or connecting to RPC, you can use GitHub codespace as a remote development server, this repo is pre-configured for codespace with all the dependencies (Rust, docker, google cloud cli) ready. If you use codespace, you can install aptos-cli via
curl -fsSL "https://aptos.dev/scripts/install_cli.py" | python3
When you see warning like codespace is running low on disk space, you can prune docker cache
docker system prune -a
docker builder prune
docker system df