https://github.com/systangotechnologies/eth-splitter
Eth Splitter
https://github.com/systangotechnologies/eth-splitter
Last synced: about 1 month ago
JSON representation
Eth Splitter
- Host: GitHub
- URL: https://github.com/systangotechnologies/eth-splitter
- Owner: SystangoTechnologies
- License: apache-2.0
- Created: 2021-09-17T06:16:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-08T12:34:09.000Z (over 4 years ago)
- Last Synced: 2025-02-03T22:40:47.392Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/trufflesuite/ganache) running on 127.0.0.1:7545
or [geth](https://geth.ethereum.org/) to have blockchain access.
Install [MetaMask](https://metamask.io)
Clone or download the repo and use npm to install the required dependencies (truffle and lite-server).
```bash
npm install
```
## Compile and migrate the contracts
```bash
truffle compile
truffle migrate
```
## Test
```bash
npm run test
```
or
```bash
truffle test --show-events
```
## Contributing
Pull requests are welcome. Be free to discuss what you would like to change.
## License
[Apache-2.0](https://choosealicense.com/licenses/apache-2.0/)