Skip to content

ETH Community Blockstars 2.0's Project 1 - Splitter

Notifications You must be signed in to change notification settings

BlockchainAsset/Splitter

Repository files navigation

Splitter

Coverage Status

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

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!

About

ETH Community Blockstars 2.0's Project 1 - Splitter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages