Skip to content

A basic PoC for demonstrating time locked Ethereum based smart wallet along with an ERC20 token called Inblox Token (IBT) . Originally authored by Radek Ostrowski.

Notifications You must be signed in to change notification settings

ARJUN-R34/time_locked_ethereum_wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time Locked Wallets

Setup

clone the repository using,

git clone https://github.com/ARJUN-R34/time_locked_ethereum_wallet.git

Now follow these steps to run the project.

cd time_locked_ethereum_wallet

npm install

npm start

Now open your browser and go to,

localhost .

You need to have metamask installed to use this project. If not installed, click on the link below,

Metamask .

Now you can interact with the Dapp.

Steps to interact with the Dapp

  1. Create a new wallet for a user2 using user1 account on metamask by entering the user2 address, unlock date and an optional Ether deposit. Confirm the transaction on metamask.

  2. User2 can claim the balance on the wallet only after the unlock time expires. None other than user2 will be able to withdraw the amount.

  3. Anyone can deposit Ether or Inblox token (IBT) to the wallet using the "Topup" section.

  4. When switching between the accounts on metamask, make sure to refresh the page for the account switching to take effect.

About

A basic PoC for demonstrating time locked Ethereum based smart wallet along with an ERC20 token called Inblox Token (IBT) . Originally authored by Radek Ostrowski.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published