ETH Community Blockstars 2.0's Project 1 - Splitter
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.
To run the test, please use forge test
To check code coverage, please use: forge coverage
- 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.