An open API service indexing awesome lists of open source software.

https://github.com/analitico-771/blockchain_savings_account

This is an application based on a Solidity smart contract that uses ether management functions to implement a financial institution’s features of a joint savings account. The smart contract accepts two addresses and only these addresses control the joint savings account. The account holders have the ability to deposit and withdraw funds from the account and the smart contract.
https://github.com/analitico-771/blockchain_savings_account

blockchain-technology ethereum remix-ide smart-contracts solidity

Last synced: 3 months ago
JSON representation

This is an application based on a Solidity smart contract that uses ether management functions to implement a financial institution’s features of a joint savings account. The smart contract accepts two addresses and only these addresses control the joint savings account. The account holders have the ability to deposit and withdraw funds from the account and the smart contract.

Awesome Lists containing this project

README

        

[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![LinkedIn][linkedin-shield]][linkedin-url]

Table of Contents



  1. About The Project



  2. Getting Started


  3. Usage

  4. Roadmap

  5. Contributing


  6. Contact

  7. Acknowledgements

---

## About The Project

This is an application based on a Solidity smart contract that uses ether management functions to implement a financial institution’s features of a joint savings account. The smart contract accepts two addresses and only these addresses control the joint savings account. The account holders have the ability to deposit and withdraw funds from the account and the smart contract.

---

### Built With

* [Solidity v0.5.0](https://docs.soliditylang.org/en/v0.5.0/)
* [Remix - Ethereum IDE](https://remix-ide.readthedocs.io/en/latest/index.html)

---

## Getting Started

I have placed Comments throughout the code so that you can follow the Lambda code and be able to replicate the app on your own. Also, so that you're able to contribute in the future :-)

---

### Prerequisites

A text editor such as [VS Code](https://code.visualstudio.com/) or [Sublime Text](https://www.sublimetext.com/) is not needed for this application.

You can build your smart contract directly on the [Remix IDE](https://remix.ethereum.org/).

Make sure that you become familiar with the documentation for [Remix IDE](https://remix-ide.readthedocs.io/en/latest/index.html) and [Solidity v5](https://docs.soliditylang.org/en/v0.5.0/) before you get started

### Installation

1. Clone the repo
```sh
git clone https://github.com/AnaIitico/Blockchain_Savings_Account.git
```

---

## Usage

#### This image displays the contract deployment and the 1st deposit
- Deployed Contract hash 0x0648bdaae482a01c010af46ee8529d9c74aa435e6b9fc30b293c7c5aeccd064d
- Deposited 1 Ether in wei (1000000000000000000 wei) hash 0xee0a10162c705edbc43908f9930832e3399f573d3c732a103d377deb4a319fc9
- Shows new contractBalance 1000000000000000000 on the Remix IDE panel

![Deposit 1](Execution_Results/deposit1.png)

---

#### This image displays the 2nd deposit
- Deposited 10 Ether in wei (5000000000000000000 wei) hash 0xbe04d0f36d5563aa8e59612dec0e6602d2cc281d533c9a3b56c0fa7dcb98cfaa
- Shows new contractBalance 11000000000000000000 on the Remix IDE panel

![Deposit 2](Execution_Results/deposit2.png)

---

#### This image displays the 3rd deposit
- Deposited 5 Ether in wei (10000000000000000000 wei) hash 0xd8d51a8c2b2a060adae357856d81e1eb0946c5dfb6c32d92e3cd4a60229e0727
- Shows new contractBalance 16000000000000000000 on the Remix IDE pannel

![Deposit 3](Execution_Results/deposit3.png)

---

#### This image displays setting the deposit accounts
- account1 0x1bF05387f52e67baa3862DBa11d0F12D9d56518C
- account2 0xa11191eD7FeE493465038CC8498bF8b96Cde3258
- hash 0xb1d8b78b32f8780554136318efad2c9fd72225ba3240c4bad8ce3a8a89af02ef

![Set Accounts](Execution_Results/set_accounts.png)

---

#### This image displays making the 1st transaction
- withdrawing 5 Ether to account1 0x1bF05387f52e67baa3862DBa11d0F12D9d56518C
- hash 0x815befcf8afd7550a20f5d8135acf926cbe5cbb9a6eaa82579243987d54c3e63
- Shows contractBalance, lastToWithdraw, and lastWithdrawAmount on Remix IDE pannel

![Set Accounts](Execution_Results/transfer1.png)

---

#### This image displays making the 2nd transaction
- withdrawing 10 Ether to account2 0xa11191eD7FeE493465038CC8498bF8b96Cde3258
- hash 0x5ee958bff3fadd5eb95c09814fad38d055f9a7165c5bcaa168208760527469ad
- Shows contractBalance, lastToWithdraw, and lastWithdrawAmount on Remix IDE pannel

![Set Accounts](Execution_Results/transfer2.png)

---

## Roadmap

The app is finished

See the [open issues](https://github.com/AnaIitico/Blockchain_Savings_Account/issues) for a list of proposed features (and known issues).

---

## Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## Contact

Jose Tollinchi - [@josetollinchi][linkedin-url] - [email protected]

Project Link: [https://github.com/AnaIitico/Blockchain_Savings_Account](https://github.com/AnaIitico/Blockchain_Savings_Account)

---

## Acknowledgements

* [Img Shields](https://shields.io)
* [Choose an Open Source License](https://choosealicense.com)

[contributors-shield]: https://img.shields.io/github/contributors/AnaIitico/Blockchain_Savings_Account.svg?style=for-the-badge
[contributors-url]: https://github.com/AnaIitico/Blockchain_Savings_Account/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/AnaIitico/Blockchain_Savings_Account.svg?style=for-the-badge
[forks-url]: https://github.com/AnaIitico/Blockchain_Savings_Account/network/members
[stars-shield]: https://img.shields.io/github/stars/AnaIitico/Blockchain_Savings_Account.svg?style=for-the-badge
[stars-url]: https://github.com/AnaIitico/Blockchain_Savings_Account/stargazers
[issues-shield]: https://img.shields.io/github/issues/AnaIitico/Blockchain_Savings_Account/network/members?style=for-the-badge
[issues-url]: https://github.com/AnaIitico/Blockchain_Savings_Account/issues

[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://www.linkedin.com/in/josetollinchi/

---

## License

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)