Giter Club home page Giter Club logo

dapp's Introduction

OPEN-ETHEREUM-TODO LIST

A blockchain based ToDoList that runs on Ethereum Networks. Every task added or completed triggers a smart contract and is counted as a transaction on the blockchain. A new block is mined for every transaction. The Wallet balance before and after every transaction also reflects on Metamask Wallet (or any Ethereum Wallet).


Project Structure

├── LICENSE.md           ->    License file.
|
├── README.md            ->    The top-level README for developers/collaborators using this project.
|
├── build                ->    Compiled Smart Contracts (JSON).
|
├── contracts            ->    Contains two contracts: Migration.sol (to migrate the contract onto blockchain) and ToDoList.sol (the contract responsible for ToDoList transactions).
|
├── Migrations           ->    Pushes the desired files to the blockchain.
│   
├── source               ->    Source code for frontend and JavaScript file linked with the contracts.
    │
    └── images           ->    Images used in frontend part.      
│
├── test                 ->    Test set for testing the DAPP's working.
│
├── package.json         ->    Information regarding name of package and versions of modules used.
│ 
└── truffle-config.js    ->    Port Configuration for Truffle.     

Project Setup

Open the Command line or Terminal

  • Clone the repository
git clone https://github.com/upes-open/DAPP
  • Move to the folder
cd DAPP
  • Download Truffle
npm install -g [email protected]
truffle compile
  • Migrate the contracts (Ganache must be running)
truffle migrate --reset
  • Connect your Metamask to the Local Network and add the Ganache Private Account

  • Deploy the package

npm run dev

NOTE: Metamask and other wallets keep on changing the protocols to work with the blockchain to ensure safety. "Deprecated" error might appear in future. Check official Metamask documentation for updates.

dapp's People

Contributors

pavvann avatar ragharwal avatar shiw2807 avatar bhavika2502 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.