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
- Host: GitHub
- URL: https://github.com/blockchainasset/splitter
- Owner: BlockchainAsset
- Created: 2019-07-10T00:51:08.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-05-14T03:09:37.000Z (about 1 year ago)
- Last Synced: 2025-02-07T11:15:46.157Z (3 months ago)
- Topics: solidity
- Language: Solidity
- Size: 5.64 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Splitter
[](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

## 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!