SMART CONTRACT DEVELOPMENT FOR THE CONTENT DELIVERY PLATFORM
Breaker is a blockchain entertainment studio and rights/revenue/royalty management platform. This is a film, television and music distribution portal.
Breaker introduces hundreds of entertainment enterprises and rights holders to Tokenomics and Smart Contracts via a TVOD platform that uses blockchain to automatically disperse royalties to rights holders when someone transacts on a piece of their content.
The platform’s technology is built upon the Ethereum Blockchain and the ConsenSys venture production studio, and it relies on smart contracts to provide a transparent production and distribution system which bypasses traditional and monopolistic distribution systems.
This all shows where Breaker could spark some major innovations in the entertainment world through allowing artists greater control of production, distribution, and the data around distribution.
Forbes
WHAT WAS THE TASK?
The main task was to expand the existing project architecture with a list of new features. Breaker itself is the content distribution platform which focuses on the video and series. It has a desktop app, mobile app, a lot of back-end functionality and the blockchain part. We put our efforts on the smart contracts development within the blockchain part and APIs which interferes with smart contracts.
The goal of smart contracts within the Breaker platform is to distribute the payment from video consumers to video creators. Therefore, every member of the team, which creates content, receives the appropriate part of every payment. First of all, we had to update the functionality to the up-to-date Solidity version and re-use modern approaches in smart contract development.
Though, Blaize was involved in expanding the fund distribution system by adding new entities – investors, which hold the share in the product or video series, and investors which have constant investment. That reason, we have added recoupment functionality and expanded funds distribution among stakeholders of shares within created content.
The second task was to create APIs for communicating with newly created contracts. You can see on the scheme how Blaize team implemented the core APIs for communication with smart contracts for content tokenization.
PROJECT ARCHITECTURE
Smart contracts development has become an essential part of blockchain based projects. You need a very competent developer with the main specialization in blockchain because of the high security level and variety of functions that smart contract can perform.
Blaize programmers have enough technical skills and experience for smart contract development. In terms of Breakers case, our blockchain engineers made the smart contract expanding to have investors entities as you see on this scheme higher.
NEED SKILLED BLOCKCHAIN DEVELOPERS TO DEPLOY YOUR OWN SMART CONTRACT? GET TO KNOW MORE ABOUT OUR SMART CONTRACTS DEVELOPMENT SERVICES.
THE DEVELOPMENT PROCESS
We had two separate parallel processes: one for smart contract development and the second for the APIs. So we had to engage our Solidity specialist and Node.js specialist.
The whole work was divided into several milestones:
– core logic update;
– funds distribution expanding to have USDC and ETH routes for distribution among holders of tokenized content;
– core APIs for communication with smart contracts for content tokenization;
– smart contract expanding to have investors entities;
– implementation of the recoupment functionality;
– implementation of fully new APIs for the application.
CHALLENGES WE CONFRONTED
The main problem was the gas optimization – the regular issue for the Ethereum Solidity smart contracts. Consequently, we had distributed USDC and ETH among the large number of the holders in the most efficient way. We have succeeded by implementing several different contracts for different schemes of funds distribution. Also, we have added several (admin only) APIs for periodical calls for re-distributions.
The second problem was correct handling of transaction calls and return values. Thus we have implemented the instance of RabbitMQ for querying, database instance for statuses keeping and several endpoints for communications with smart contracts.
RESULT
Fully updated set smart contracts for content tokenization and funds distributed among shareholders. Implemented distributions for investors and recoupment functionality for tokenized content creators and fund distribution system expanded. Back-end service with transaction querying mechanism and connected database. Full set of endpoints for communications with smart contracts.