This Solidity Smart Contract accepts two user addresses. These addresses will be able to control a joint savings account.
This contract includes a Withdraw
, Deposit
and setAccounts
functions. These features give your the ability to Withdraw and Deposit funds from the account.
Using the JavaScript VM you can compile and deploy the joint_savings.sol
file on REMIX IDE.
1.In the Remix IDE, navigate to the “Deploy & Run Transactions” pane, and then make sure that “JavaScript VM” is selected as the environment.
2.Click the Deploy button to deploy your smart contract, and then confirm that it successfully deployed.