A fun, social and visual way to discover and learn DeFi protocols


The current adoption problem for DeFi is one with the gap between innovation and convention. Common users, and even early adopters, are used to legacy banking apps that work a certain way. More importantly, they are used to money being a social, tangible thing. In the world of Defi, money is just digits moving around the blockchain ledger. The lack of visibility into the transaction process, the complexity of protocols, and the anonymity of senders and receivers make Defi very difficult to comprehend for the average user. Haciendas is an attempt to bridge the gap between innovation and convention. It uses a game mechanism that everyone is familiar with to quickly onboard new users to interact with protocols. Here, users learn to deposit, swap, transaction and sign proposals in a fun way. The game adds physicality to the abstract world of DeFi so everyone can feel right at home to start using protocols.

Haciendas  showcase

How it's made

Haciendas is a decentralised game where most of the game logic is in the frontend with calls to the Ethereum blockchain for critical actions. On the frontend, the game elements uses phaser a 2D game engine to draw objects and interact with the world. Ethers is the javascript library used to bind with the Ethereum blockchain. Metamask and Portis are supported as wallets. For the backend, 1inch gets the quotes and facilitates the token swaps. AAVE contracts are used, providing a novel interface for the liquidity pool and governance. A custom Smart Contract deployed on Matic is used for the native currency and to store some game achievements. ENS provides names for players. After research on decentralised alternatives, a small node.js server relays information on multiplayer aspects (chat and position). Aavegotchis are retrieved and displayed too.

Technologies used

EthereumSolidityENSAave GovernanceAave Borrow/LendingENS DomainsAavegochiMatic/Polygon