Inspiration

Our project came to life after intersecting two main ideas:

On one hand we aimed to explore the possibility of creating a game of chance that focuses on transparent mechanics design (by?) leveraging the unique features of blockchain technology.

On the other hand, we wanted to experiment with a novel tokenomics design scheme that is characterized by three pillars:

Transparency round the clock Easy-to-understand design Whale-resistant architecture

We, finally, pivoted in our business model compared to other protocols.

SweetBlocks will use a pay-per-use model that will create a fixed revenue stream, where no reliance on token appreciation over time will be given whatsoever.

By design founders and the team will not hold or allocate to themselves a priori any token reserve.

What it does

SweetBlocks is fundamentally a lottery game with an intricate DeFi layer on top of it.

Winners are rewarded with the chain’s native coin and (respectively with) an amount of our platform’s native token (SWB).

Those who are rewarded with the liquidity pool token (LPSWB) become the Liquidity Providers (LPs) in the platform’s DEX.

At the same time players earn two more assets : 1 SWBDao NFT for every time they play 1 MegaDrawPass NFT for every time they win

The MegaDrawPass NFT can be used to participate in the grand draw that will take place once per month where a single winner will “take it all”.

Important!

The Sweetblocks DEX opens only when the SWB token supply reaches 1,000,000 tokens and that is when players will be able to swap or redeem their earned tokens for MATIC.

How we built it

The platform has 4 contracts: SWBController, the main contract in charge of the game SWBDex, it manages the liquidity pool and all the related functionalities (swap, redemption) SWBToken, it is the contract that mints the platform token (SWB) SWBNft, it is the contract that mints and burns the platform NFTs (MegaDrawPass and SWBDao)

We use Chainlink VRF to manage the random number generation. We use 4 Chainlik automations in charge of triggering the sweet block drawing, performing post drawing token swap and liquidity provision and running the mega draw.

The contracts have been written in Solidity using both Hardhat and Truffle.

The front end is built with React and uses ether.js to communicate with the contracts.

Challenges we ran into

Fitting all the functionalities without hitting the 25k contract size limit Integrating Chainlink services in our contracts

Accomplishments that we're proud of

The greatest accomplishment is that we have managed to set up a decentralized application that actually works and behaves as we expected.

We have managed to create an exceptional team of 5 people from 4 different countries.

SweetBlocks is just the first project we made together, but it will not be the last.

We think we have laid the foundations for a working group that will be able to expand in various directions within the web3 industry.

What we learned

We went through the ups and downs of developing a fully functional decentralized application.

The challenges that we faced were of paramount importance and helped us grow.

Through them we understood where we needed to improve our protocol developing processes and leverage our design thinking approach.

We are confident that in the future we can treasure this experience to build new games and decentralized applications that will spark new ideas.

Last but not least, we have learned to work together as a group of people who are driven to expand the boundaries of what is possible in DeFi, GameFi and tokenomics design.

What's next for SweetBlocks

Firstly, we endeavor to integrate within SweetBlocks the 2 DAO contracts currently under development.

The Community DAO contract will enable players (holders of SWBDAO NFTs) to vote on changes to the protocol.

The to-be-decided changes are detailed in our litepaper here: https://litepaper.sweetblocks.xyz/sweetblocks-dao

The House Dao contract will manage the profit splits for the shareholders (when completed).

Additional concepts for future developments are detailed in the roadmap and consist of the following points:

a) Swap limit option in DEX (players can swap as much SWB tokens as they earned playing) b) Secondary market for MegaDrawPass NFT c) Add signatures to play and collect d) Multi-currency implementation: players can play in different coins or tokens (Matic, USDT, USDC) Each Sweet Block has a jackpot for each coin/token When players collect their Sweet Blocks depending on the currency they played on that block DEX will have 3 LP pools: SWB - MATIC, USDT - MATIC, USDC - MATIC) DEX will have 3 LP tokens You can apply to list your token/coin to be available to play Autodeploy new LP pool Megadraw functionality in each cryptocurrency

Share this project:

Updates