The Share Swap Loto project was created to gamify the crypto sharing experience amongst friends. The dapp enables a user to share crypto with up to five friends in a randomised lottery. The grantor pays into the contract which splits the share amount amongst the grantor friends swapping into currencies of friend preference. The contract will then split the amount paid unequally and randomly amongst the friends, then swap into the friend's preferred currency before sending it over.

Share Swap Loto showcase

How it's made

The project utlises Chainlink to provide pricing and random number generation through the VRF API. It also utilises Uniswap to provide the currency swapping functionality and the UI is written in bootstrap. The dapp is built mainly in solidity with the view to deploy on the Ethereum mainnet.