An open API service indexing awesome lists of open source software.

https://github.com/signor1/todocrud

A Basic Move CRUD operation using Todolist
https://github.com/signor1/todocrud

Last synced: 4 months ago
JSON representation

A Basic Move CRUD operation using Todolist

Awesome Lists containing this project

README

          

# Sui Move TodoList CRUD Application

[![Sui Move](https://img.shields.io/badge/Built%20with-Sui%20Move-blue.svg)](https://sui.io/)
[![Testnet](https://img.shields.io/badge/Deployed-Testnet-green.svg)](https://explorer.sui.io/)

A decentralized Todo List application built on the Sui blockchain, demonstrating CRUD (Create, Read, Update, Delete) operations using Move smart contracts.

## ๐Ÿ“ฆ Package ID

```bash
0x83d4699bf71dd9a7f8f805d8583ee7636e2c4876962cf5a9d8cc2a6699d5f4ab
```

## โœจ Features

- **Create** new todos with unique IDs
- **Read** todos by ID or get full list
- **Update** todo text content
- **Mark** todos as complete/incomplete
- **Delete** todos permanently
- **Event-driven** architecture for all operations
- **Ownership**-based access control

## ๐Ÿ“ฅ Installation

1. Install [Sui CLI](https://docs.sui.io/build/install)
2. Clone repository:

```bash
git clone https://github.com/Signor1/TodoCRUD.git
cd sui-todolist
```

## ๐Ÿš€ Getting Started

### Build Package

```bash
sui move build
```

### Run Tests

```bash
sui move test
```

### Deploy to Testnet

```bash
sui client publish --gas-budget 10000000
```

## ๐Ÿงช Testing

Comprehensive test coverage including:

- CRUD operations validation
- Error conditions
- Event emission checks
- Ownership protection
- Edge cases

Run tests:

```bash
sui move test
```