Billie-LS / Eth_host_and_Save

Automate creation of joint savings accounts via Solidity dual user addresses smart contract to control a joint savings account, using ether management functions to implement.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

solidity1

Columbia University Engineering, New York FinTech Bootcamp

August 2022 Cohort

Module 20, Challenge - building smart contracts to automate FinTech institutional financial processes and features.

Objective - to automate the creation of joint savings accounts.

Scenario - Fintech startup new hire, tasked with automating creation of joint savings accounts; will accept two addresses, which will possess account control.

Product - Solidity smart contract that accepts two user addresses.

Addresses will be able to control a joint savings account. Use ether management functions to implement institutional requirements for provision of features. Features will consist of the ability to deposit and withdraw funds from the account.

Ether

Product

Initial compile & deploy compile&deploy Depositing one Ether as wei one_as_wei Depositing ten Ether as wei ten_as_wei Depositing five Ether five_ether Set Account1 and Account2 set_accounts Withdrawing five ether to Account1 five_for_one_A five_for_one_B Withdrawing ten ether to Account2 ten_for_two


Technologies


Dependencies

This challenge leverages Solidity version 0.5.0 with the following IDE (Integrated Development Environment):

  • REMIX_IDE - a no-setup tool with a GUI for developing smart contracts.

Hardware used for development

MacBook Pro (16-inch, 2021)

Chip Appple M1 Max
macOS Venture version 13.0.1

Development Software

Homebrew 3.6.11

Homebrew/homebrew-core (git revision 01c7234a8be; last commit 2022-11-15)
Homebrew/homebrew-cask (git revision b177dd4992; last commit 2022-11-15)

Python Platform: macOS-13.0.1-arm64-arm-64bit

Python version 3.9.15 packaged by conda-forge | (main, Nov 22 2022, 08:52:10)
Scikit-Learn 1.1.3
pandas 1.5.1
Numpy 1.21.5

pip 22.3 from /opt/anaconda3/lib/python3.9/site-packages/pip (python 3.9)

git version 2.37.2


Installation of application (i.e. github clone)

In the terminal, navigate to directory where you want to install this application from the repository and enter the following command

git clone git@github.com:Billie-LS/Eth_host_and_Save.git

Usage

Using your web browser, to REMIX_IDE and initialize Remix Online IDE. Then load the application from the project folder where you've installed the application:

initiate the Solidity Compiler

In the Remix IDE, navigate to the “Deploy & Run Transactions” pane, and then make sure that “JavaScript VM” is selected as the environment

Deploy & Run Transactions 

In the Remix IDE, Click the Deploy button to deploy the smart contract

Deploy 

Version control

Version control can be reviewed at:

https://github.com/Billie-LS/Eth_host_and_Save

repository


Author

Loki 'billie' Skylizard LinkedIn @GitHub

BootCamp lead instructor

Vinicio De Sola LinkedIn @GitHub

BootCamp teaching assistant

Santiago Pedemonte LinkedIn @GitHub


Additional references and or resources utilized

st.success


License

MIT License

Copyright (c) [2022] [Loki 'billie' Skylizard]

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

Automate creation of joint savings accounts via Solidity dual user addresses smart contract to control a joint savings account, using ether management functions to implement.

License:MIT License


Languages

Language:Solidity 100.0%