Texuhport / JointAccount

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decentralized Joint Account

Created by Demi Oyebanji as an assignment for the UofT SCS Financial Technology Bootcamp

In this file, I create a basic Joint Account smart contract in Solidity that allows verified account owners to withdraw and deposit funds

Withdraw Function

image

Deposit Function

image

Test Results

Compile the solidity file

image

Deploy the contract to generate a new Joint Account

image

Using the Set Accounts Function, input the two accounts that own the Joint Account

image

Make a Deposit using MetaMask

image image image

Make more deposits

image image

image image

Withdraw money back to accounts 1 and 2

image image

All Test Transactions - Ganache

image

About


Languages

Language:Solidity 100.0%