Skip to content

Omodaka9375/Time-Based-Switch-on-Ethereum

Repository files navigation

Time-Based Switch on Ethereum Blockchain

This is a simple demo implementing Time-Based Switch on Ethereum Blockchain. TimeBasedSwitch.sol smart contract provides standard methods and processes for safe transactions based on block.timestamp. This enables users to secure their accounts from lockout by predefining fallback addresses to transfer the funds after the predefined time.

It includes a minimalistic front-end built using Truffle.

Inspiration: Google's Inactive Account Manager allows the account holder to nominate someone else to access their services if not used for an extended period.

Source: https://en.wikipedia.org/wiki/Dead_man%27s_switch

Team

Branislav Đalić
Mališa Pušonja
Ivor Jugo
Marko Kolašinac
Andrej Rakić

How will it work here?

Flowchart

Time Based Switch Flowchart

Entities

Time Based Switch Entities

Requirements

Node.js version +5 Truffle v12

Installation

Install ganache and truffle

npm install -g truffle

Run it

npm run dev

License

This project is licensed under the MIT License

About

Draft proposal for a standardized way to delay or schedule transactions based on block.timestamp

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •