My name is Oscar Lopez, I’m a student at the University of Miami FinTech Bootcamp Program.
In this activity, I was tasked with creating a Solidity smart contract that accepts two addresses which will control a joint savings account. The smart contract will use ether management functions to implement a financial institution’s customers with features to deposit and withdraw funds from the account.
I developed the Solidity started code file to create the joint account contract, the code defines multiple variables including addresses, payable and public types, code also defines a withdraw function, a deposit function, a set account function to include different arguments and requirements as requested, finally a and a fallback function to store ether send from outside the deposit function.
Once all the code is done, I compiled the smart contract to make sure no errors occurred and deployed it in the “JavaScript VM” environment. Finally, I interacted with the contract by checking its functionality, used the dummy accounts given in the ReadMe file to make some deposits and transfers, and finally verified the balance to confirm the transactions were done. I took screenshots, saved them in the “Executions Results” folder and show them below.