This is a smart contract named Splitter whereby:
- There are 3 people: Alice, Bob and Carol.
- Whenever Alice sends ether to the contract, half of it goes to Bob and the other half to Carol.
- Run
truffle develop
to initialize the dev environment. - Run
migrate
to deploy the Splitter contract. - Run
test
to execute the basic test cases.
truffle develop
migrate
test