An ethereum based smart contract that splits the amount sent to it. It is configured using a decentralized application.
- Install LTS version of Node.JS. Use nvm or tj/n to manage versions of Node.JS.
- Install Truffle Framework.
$> npm i -g truffle
- Install Ganache.
- Install MetaMask
- Modify the
port
intruffle.js
, if required.
$> npm install
$> truffle migrate --network ganache
$> npm run dev