Ridotto Technical Update — Q1 2022

Kicking off 2022, the team wants to bring the community in and share an inside look at what Ridotto has accomplished in regard to product delivery.

Foundationally, CTO Mohammed Marragh hired an all-star team of technical specialists and engineers. They include:

  • Senior Blockchain Engineer: Ithihas Reddy

Having graduated with a Masters in Computer Science, Ithihas has been a full stack developer for five years, with a focus on Ethereum and Ethereum compatible chains. He has a long and storied career, as Ithihas has launched 35 different erc20/bep20 tokens and has been a part of 12–13 decentralized apps.

  • Senior Backend Engineer: Peres Nimarico

Peres is an IT engineer with a passion for DeFi and distributed systems and has previous experience in smart contract development from all corners of the Ethereum ecosystem. He loves learning new things and in his spare time enjoys contributing to open source projects when he can.

  • Senior Web Developer: Martin Barria

With 12 years of experience in software development, Martin is a powerhouse at both frontend and backend development. Over the course of his career, he has learned a variety of frameworks and methodologies like XP, lean, scrum, Toyota kanban, and Spotify mix.

In his free time, he has been self-learning solidity, improvements under agile methodologies by practices like TDD/BDD or mob programming. Topics, where he is particularly excited, are frontend technologies, cloud computing, continuous delivery, UX design, innovation labs, agile methodologies, and architectural frameworks.

  • Software and Cloud Architect Advisor: Samuel Mansour

Samuel is a software engineer with more than 10 years of experience in I.T. who shined in finance-oriented startup Fintech before making it to some of the brightest names in European banking. He enjoys CI/CD, automation, cloud automation, cloud infrastructure, containers, monitoring/logging and collaborating with tech/non-tech members of Ridotto in general strategy.

  • Blockchain Expert and Advisor: Oumar Dialo

Oumar’s impressive career path encompasses many strategic responsibilities and IT transformation job positions, including an impressive and long history of leadership positions at PwC France.

Developed Automated CI/CD Pipeline

Technically, the team’s first developmental milestone was the completion of an automated Continuous Integration and Continuous Development pipeline. For the non-technical, CI/CD is a predetermined set of actions and rules that automatically trigger at different development stages. Like construction scaffolding, they simplify the developer journey, ensure quality products, reduce the time to market, limit bugs and regression, and enhance security drastically.

This fully automated process manages all development output and includes tests, deployment, verification, and security analysis.

Finalized Core Smart Contract for NFT Farming

Of huge importance, Ridotto’s developers completed the smart contract backend for the NFT Farming protocol, which is the process by which $RDT stakers can earn the required NFTs, needed to build, bankroll, and customize their own casino products, beginning with slot machines and lotteries.

In completing this achievement, the team had to tackle the below challenges:

  • Because individual NFTs can’t be divided, they had to figure out a method to temporarily fractionalized NFT rewards over the course of staking.

Technically, this means that while only whole NFTs will be rewarded, during the course of the reward accrual phases, fragments of NFTs will be symbolically accumulated via a token-based accounting model. So stakers will be rewarded with specific amounts of a non-transferable token for each mined block to track their staking progress. This inner token will be swapped to a full NFT reward when a calculated threshold is reached.

  • A second challenge was determining an NFT minting threshold that ensures that the Ridotto NFT market remains sustainable.

This was achieved by developing pool logistics with a flexible emission rate. Specifically, if too many NFTs are not consumed and transformed into casino products, but are rather listed on the market for secondary sales, Ridotto’s algorithm will automatically reduce daily NFT emissions in order to sustain the value of NFTs on the market.

In this way, the community indirectly plays a significant role in determining the NFT emission rate.

  • Thirdly, given Ridotto’s continual NFT minting process, the development team needed to find a way to optimize the process financially.

To optimize the token base NFT accrual process mentioned above, the team will use ERC1155 rather than ERC721 because of their optimized efficiency and gasless minting process, featuring single batch based smart contract transactions vs multiple with ERC721.

Aiming for a mid-February release date, NFT Farming will go live after the backend is audited and once the frontend web-app is completed. More than a simple user interface, Ridotto’s front end serves the below regulatory purpose:

Developed Framework for a Supra-Regulatory Compliance Framework

Unlike other centralized crypto native casino projects, Ridotto offers decentralized casino infrastructure. This is to say, that instead of being classified as a casino in the technical sense, we are more so creating the tools through which anybody can build or bankroll their own casino using the Ridotto protocol.

This means that, much like Uniswap and other DEXs, Ridotto will exist on a blockchain-based foundation, on which the network layer, hosting layer, and computing layer are 100% decentralized. Compared to other casino projects, this is hugely innovative in carving out maximal regulatory freedom and the ability to operate anywhere in the world!

Let’s take a look at each piece of Ridotto’s Dapp, so that you can better understand some of the complexity behind the scenes:

  • The network layer will allow players to reach the web app via a decentralized domain name resolution.
  • The hosting layer will be the foundational source of all data and assets stored on the Ridotto application. While normal hosting solutions are based on a central entity (e.g Amazon AWS) Ridotto reworked the modal so the hosting layer will be decentralized & not managed by a central entity. We based our architecture on IPFS technology, which you can read about here: https://ipfs.io/
  • Lastly, the computing layer leverages the possibility to execute long-running services on a decentralized ecosystem. In other words, the computing layer will automatically run and execute predetermined tasks on the backend. Again, while most servers are managed and controlled by a central entity (again like Amazon AWS) at Ridotto, we are prototyping the ICP technology to propose a decentralized backend architecture. (More details on https://dfinity.org)

MVP Lottery Protocol

An architectural and detailed technical roadmap has been completed, and the team is currently finalizing the initial prototype and smart contract backend. Closing in on the end of the month, the development team will rigorously test the code for flaws before submitting the final work to a security auditor.

Once this is finalized, integrating the backend to the decentralized frontend highlighted above will take about three weeks, and will ultimately prepare all pieces of code into a final production-grade deliverable. After rigorous testing, the team is expected to finally deliver playable, bankrollable, and customizable slot machines in early March.

About Ridotto

Ridotto is the very first cross-chain gambling and lottery protocol based on complete transparency, anonymity, security, and fairness. Built on Cardano, our approach is to provide an open protocol driven by the community, where users can play, build, and even bankroll casino games, thus earning generous liquidity. Ridotto’s overarching goal is to elevate the user to the role of “house,” thereby offering a fully scalable alternative to centralized online gambling.

Beyond our vibrant flagship casino, we will unleash retail ingenuity by giving users the decentralized infrastructure to experiment and evolve the gambling ecosystem, much like the App Store did for mobile gaming.

Website | Discord | Twitter | Telegram Community | Telegram Announcements

Reinventing the gambling experience | Ridotto is the first cross-chain gambling & lottery protocol that offers the possibility to play & build games.