The program is a public blockchain smart contract system managed by a decentralized community. Everyone can participate in the program, verifying himself/herself as a unique person and receive points (tokens), which can be exchanged for products, services or fiat money on the open market. The program is not state-owned and is built on the principles of P2P - economics. The presented smart contract system is blockchain agnostic and can be executed in any Turing-complete virtual machine. It is assumed that it will work initially on Ethereum + xDai and then will be migrated to Ethereum 2.0.
@yalland-contracts repo contains smart contracts that enable Yalland members to claim and exchange tokens of Yalland UBI program. Every Yalland member can take a part in current period tokens distribution, earn referral payouts and exchange tokens to any currency.
📃 For more information read the Whitepaper
🚧 @yalland-contracts stage: Testnet
At the moment, @yalland-contracts contracts are deployed in our private Yalland network(RPC: https://api.yalland.com:8645/, Explorer: https://explorer.yalland.com/).
💣 Security review status: Unaudited
📝Get started contributing with a good first issue.
This repository @yalland-contracts contains main project contracts:
- YALLDistributor.sol - main distribution contract;
- YALLExchange.sol - a contract that exchanges tokens for fiat currencies from non-profit organizations of the project;
- YALLRegistry.sol - registry of roles and rights contract;
- YALLVerification.sol - contract containing addresses of non-profit organizations that verify program members;
- YALLEmissionRewardPool.sol - emission distribution contract;
- YALLCommissionRewardPool.sol - commission distribution contract;
- Compile contracts
make compile
- Run tests
npm test
- Run Solidity and JavaScript linters
make lint