A simple web3 dapp (TodoList) created with Next.js, Ant Design and Aptos.
- Create new list
- Add new task
- Complete task
- Get list
Clone the repository.
git clone https://github.com/ayoubbuoya/aptos-todolist.git
cd aptos-todolist
Install dependencies.
cd dapp
pnpm install
pnpm run dev
Once the application is running, you can access it at http://localhost:3000
.
Deploying your own smart contract
To deploy your own smart contract, you can use the aptos init
command.
cd smart-contract
aptos init
Chnage the address in /smart-contract/Move.toml
to your own address generated by the aptos init
command.
Compile the smart contract
aptos move compile
Deploy the smart contract
aptos move publish