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

https://github.com/blockchainasset/splitter

ETH Community Blockstars 2.0's Project 1 - Splitter
https://github.com/blockchainasset/splitter

solidity

Last synced: about 2 months ago
JSON representation

ETH Community Blockstars 2.0's Project 1 - Splitter

Awesome Lists containing this project

README

        

# Splitter

[![Coverage Status](https://coveralls.io/repos/github/BlockchainAsset/Splitter/badge.svg?branch=master)](https://coveralls.io/github/BlockchainAsset/Splitter?branch=master)

ETH Community Blockstars 2.0's Project 1 - Splitter

## Specification

Splitter is a smart contract in Ethereum written in Solidity, which is capable of working in the below scenario:

- There are 3 people: Alice, Bob and Carol.
- We can see the balance of the Splitter contract on the Web page.
- Whenever Alice sends ether to the contract for it to be split, half of it goes to Bob and the other half to Carol.
- We can see the balances of Alice, Bob and Carol on the Web page.
- Alice can use the Web page to split her ether.

## UML Diagram

![UML Diagram](UML.svg)

## Test

To run the test, please use `forge test`

## Coverage

To check code coverage, please use: `forge coverage`

## Note

- This is a prototype, please don't use it unless you know what you are doing.
- A lot can be improved in this. Feedbacks are welcome.

## Thank You for checking out! Star if this helped you in anyway!