Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.11 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.11 KB

Splitter Project

Amount splitter application for ethereum

What

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.

Installation

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

Compile and migrate the contracts

truffle compile
truffle migrate

Test

npm run test

or

truffle test --show-events

Contributing

Pull requests are welcome. Be free to discuss what you would like to change.

License

Apache-2.0