DeFiPoLy (renamed DeFi-Venture)

A decentralized board game to educate everyone about dApps, Blockchain and DeFi. Inspired by Monopoly but crypto-oriented, with game logic and crypto-economics mechanisms entirely performed by smart contracts running on blockchain

Demo Video Live Demo Source Code

Technologies

Ethereum

Solidity

Matic

Chainlink

Portis Wallet

Description

As playing is probably the best way to learn new things, the purpose of this game is to allow everyone (especially people NOT familiar with blockchain, dapps and DeFi - we think about most our close friends and family), to play and get fun with these new concepts, in order to get a better understanding of what it is and how decentralized solutions differ from traditional ones, in particular in DeFi. Remember how the classical Monopoly game let us understanding the basics of money, banks, loans, investments, capitalism. DeFi-Venture reinvents the Monopoly game, adapting the concepts and mechanism towards those emerging in the blockchain ecosystem. Game Rules in a nutshell: ----------------------------------- As a player, you take the role of a crypto-entrepreneur and your goal is to become the wealthiest player, through founding and developing businesses in the crypto-space. All players start with the same amount of cash and from the Genesis block. Then, each player takes turn one at a time. It's your turn: roll the dices, and move on the board. When you land on a Startup, you can decide to found it only if no other player did it before. You have to pay the initial capital. Now the startup is yours. If you land on a startup that is already owned by another player, you have to buy its product and pay the owner. So, basically, the more startups you own, the more revenues you can expect. When you land on a Chance block, you pick a card and you have to perform an action like pay or receive cash. When you land on the Covid block: Bad luck! You’re locked down in Quarantine and you can’t play the next round. To grow your wealth, you must invest in your startups by injecting more cash, to increase your revenues when other player land on your blocks. With the DeFi services, you can earn interest by staking cash, or borrow money by locking your assets as collateral. Your investments can also be funded by performing an ICO, that means issuing and selling tokens for your startup. Moreover, there is an in-game marketplace to exchange assets between players. By playing this game, the players learn how to interact with the blockchain. We also hope this will allow mainstream people to realize how some decentralized solutions redefine the way the financial services can be delivered. They would have a better understanding of the DeFi revolution, and eventually it would help them to jump in.

How It's Made

DeFi-Venture is a fully-decentralized game, meaning that all the game’s mechanisms are performed on the blockchain by a set of smart-contracts. A GameFactory contract is responsible to create the other contracts required for a game session. There is an ERC20 smart contract to represent the in-game currency, an NFT contract to manage ownership of startups, a game master contract to implement and check the game rules, and a marketplace contract to manage exchanges. One of the main challenge we had to face is to allow mainstream people (that don't have a crypto-wallet yet) to embark in the game. PORTIS comes with a solution for users to quickly get an Ethereum address and connect the Blockchain without having to install Metamask and generate keys. Then, because we need very cheap and fast transactions, we are deploying the smart contracts on MATIC blockchain. We also need to generate random numbers (when players roll the dices or pick a Chance card), so we are using CHAINLINK VRF to get that. Note: at the time of submission, CHAINLINK VRF is not available yet on Matic testnet (Mumbai). We have deployed a private CHAINLINK node, an Oracle contract and a VRFCoordinator on Mumbai, but documentation and support from CHAINLINK is still required to activate the VRF feature. Finally, we would appreciate the players would not have to pay transaction fees. Using a Gas Station Network would be a satisfying solution. However there is no Gas Relay straight available on Mumbai yet and we didn't have time to deploy our own GSN.

Team

Ludovic LEVALLEUX
← click here to see all projects