Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.
/ splitter Public archive

Amount splitter application for ethereum - Project 1 - Ethereum Developer Course - B9lab Academy

License

Notifications You must be signed in to change notification settings

santanaruben/splitter

Repository files navigation

Splitter Project

Amount splitter application for ethereum - Project 1 - Ethereum Developer Course - B9lab Academy

What

There are 3 people: Alice, Bob and Carol.

We can see the balance of the Splitter contract on the Web page.

Whenever Alice sends ether to the contract for it to be split, half of it goes to Bob and the other half to Carol.

We can see the balances of Alice, Bob and Carol on the Web page.

Alice can use the Web page to split her ether.

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

Usage

npm run dev

Test

npm run test

or

truffle test

Contributing

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

License

Apache-2.0

About

Amount splitter application for ethereum - Project 1 - Ethereum Developer Course - B9lab Academy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published