⛲ A universal basic income for MyBit test-net tokens
Using the MyBit faucet, any Ethereum account is able to withdraw a minimum amount of Ropsten WEI and MYB tokens if they have the provided password. The password is a minor deterrence for those using the faucet on a simple front-end. If the sending address has less than the minimum amount of WEI or MYB they will be sent enough to cover basic functionality costs.
The contract has a single owner who may deposit as much WEI or MYB tokens as they like. The owner can change the password and the minimum amounts that users are to receive.
✏️ All contracts are written in Solidity version 0.4.24.
To test you will need Truffle, Ganache-Cli and BigNumber.js
npm install -g truffle
npm install -g ganache-cli
npm install --save bignumber.js
ganache-cli
In another terminal at the project root run truffle compile
and then truffle test
MyBit Platform™ CHE-177.186.963