Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Todo Smart Contract

Overview

The Todo smart contract is a basic Ethereum smart contract written in Solidity. It allows users to create tasks and toggle their completion status. Each task is associated with the address of the account that created it.

Interacting with the Smart Contract

Remix IDE

  1. Open the Remix IDE.
  2. Create a new file and paste the smart contract code.
  3. Compile the smart contract using the Solidity compiler.
  4. Deploy the contract to the Sepolia testnet or any Ethereum testnet using the Remix deployment plugin.
  5. Interact with the contract using the Remix interface:
    • Create a new task by calling the createTask function and providing the task content.
    • Toggle the completion status of a task by calling the toggleCompleted function and providing the task ID.

Viewing the Contract on Etherscan

You can view the contract on Etherscan by visiting the following links.

When task was created

When task was toggled

About

Todo Smart Contract

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages