This template monorepo was designed to provide a developer-friendly experience to Alephium ecosystem newcomers. It is split into 2 parts:
- app: contains the Next.js frontend part of the dApp
- contracts: contains the dApp contracts
It uses yarn workspaces to manage both app and contract projects from the monorepo root.
To get started quickly, follow these steps:
Start a local devnet for testing and development. Please refer to the Getting Started documentation.
yarn install
yarn compile
yarn deploy
yarn build:contracts
yarn dev
Download an Alephium wallet, and connect it to your devnet dApp.
You could use yarn workspace to run commands in the contracts or app directory.
yarn <my-contracts|my-dapp> <command>
You could also get some testnet tokens from the Faucet.
To learn more about smart contract development on Alephium, take a look at the documentation.