This contract allows any address(EOA or CA) to create tasks, edit tasks, mark task complete, delete tasks plus lots more.
- Add task
- Edit Task
- Mark Task Completed
- Delete Task
- Access control Implementation with open-zeppelin (role based)
- View Functions
Run the below bash command to clone the repository to your machine
$ git clone https://github.com/raymondabiola/ToDoList-Contract.git
Install the neccesary dependencies
$ npm install
Create a dot(.)env file in the root directory of your project to contain the following variables
- PRIVATE_KEY=owner_wallet_private_key
- TEST_PRIVATE_KEY=test_wallet_1_private_key
- TEST_PRIVATE_KEY2=test_wallet_2_private_key
- INFURA_API_URL=https://sepolia.infura.io/v3/YOUR_INFURA_PROJECT_ID
$ forge build
$ forge test
$ forge test <testFunction>
Made with 🤍 by Raymond Abiola