Amount splitter application for ethereum
Contains of a factory contract which acts as a parent to all the child contracts generated. These child contracts contains a set of ethereum adresses stored in the contract with respective shares in the contract. Other ethereum accounts can send ethers to this child contract and the received ethers will get splitted to the stored addresses in the respective share that they hold in the contract.
Install ganache running on 127.0.0.1:7545 or geth to have blockchain access.
Install MetaMask
Clone or download the repo and use npm to install the required dependencies (truffle and lite-server).
npm install
truffle compile
truffle migrate
npm run test
or
truffle test --show-events
Pull requests are welcome. Be free to discuss what you would like to change.