Skip to content

SystangoTechnologies/Eth-Splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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