Skip to content

This program was designed to automate the creation of a joint savings accounts with the use of Solidity. This smart contract will use ether management functions to implement a financial institution’s requirements for providing the features of the joint savings account with the ability to deposit and withdraw funds from the account.

License

Notifications You must be signed in to change notification settings

jcsung-star/Joint_Savings_Account_Solidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

header

John Sung LinkedIn -  John Sung


Table of Contents


Overview

This program was designed to automate the creation of a joint savings accounts with the use of Solidity. This smart contract will use ether management functions to implement a financial institution’s requirements for providing the features of the joint savings account. These features will consist of the ability to deposit and withdraw funds from the account.


Requirements

This project leverages python 3.7 and Streamlit, hashlib, web3, eth-tester, mnemonic and bip44.

The following libraries were used:

  • pandas - version 1.3.2 - This was used to be able to easily manipulate dataframes and create dataframes.

  • hashlib- This module implements a common interface to many different secure hash and message digest algorithms. In our application, we use SHA256 to return a hexdigest.

  • web3.py - This is a Python library for connecting to and performing operations on Ethereum-based blockchains.

  • Solidity - This is used to create the smart contract and implement the joints saving application to work with ether.

  • Remix IDE - This is used to be able to write and edit solidity formatted code, and this is where the joints saving application will be launched.


User Experience

Once you clone the file from this repository, launch REMIX IDE to view and edit the joint_savings.sol file. Then when on the REMIX IDE, click on the left icon logo, and then click Open file and navigate to where the git clone files are locally saved on your machine.

Use QR Code to launch REMIX IDE on your phone

QR Code


Visualization

Compile the joint_savings.sol file and make sure that the compiler is version 0.5.0.

Compile

Compile the Contract in the "JavaScript VM", once this is done, then click Deploy.

Deploy

Add Accounts to setAccounts function.

Deploy

Send 1 ether as wei

Send 1 ether

Send 10 ether as wei

Send 10 ether

Send 5 ether

Send 5 ether

Withdraw 5 ether into account1

Withdraw 5 ether

Withdraw 10 ether into account2

Withdraw 10 ether


License

MIT License

Copyright (c) 2022 John Sung

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


About

This program was designed to automate the creation of a joint savings accounts with the use of Solidity. This smart contract will use ether management functions to implement a financial institution’s requirements for providing the features of the joint savings account with the ability to deposit and withdraw funds from the account.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published