Categories: CryptoNews

PROOF OF TOSS Architecture

PROOF OF TOSS is a new decentralized open-source betting ecosystem that is aimed to modernize and change the betting industry. The platform allows users to create wagers, bet, and judge. PROOF OF TOSS’ CTO, Eugene Pavlenko, explained the project architecture and technical solutions.

Disclosure: This is a Sponsored Article

Could you briefly explain the PROOF OF TOSS software architecture and what principles it’s built on?

While thinking over the software architecture, we concentrated on two main points: storing of information in smart contracts and fast data retrieval. In final implementation, there are three main components: smart contracts, website, and Elasticsearch which is used for indexing data and allows fast searching by different criteria.

In fact, there is no backend in the system, and this is an important feature. Thanks to that, the frontend interacts with smart contracts directly, without intermediary of server.

How and what for do you use smart contracts?

Events and wagers in the system are created with the help of smart contracts. Also, smart contracts are used for storing events, bets for every wager, collaterals, judging and event deposits.

In fact, all business logic is allocated inside the smart contracts. The website is just an interface, which calls smart contracts and outputs data. Thanks to that and blockchain technology, the system gains features important for betting, such as decentralization, transparency, possibility for instant payouts, challenge resolutions.

In the project, you use RSK smart contract platform. It seems that this is something new. What is this platform and why have you chosen it?

Related Post

RSK smart contract platform is a sidechain of Bitcoin, it scales to 100 transactions per second, and declared to be increased to 2000 transaction per second. The Ethereum virtual machine is embedded inside RSK, which allows the execution of smart contracts written on Solidity.

RSK MainNet is now in closed testing; there are no projects on production now. So PROOF OF TOSS will be among the early adopters of this technology. Today, Bitcoin’s blockchain is the most stable and safe, and this is one of the main advantages of RSK

. Another one is the utilization of unique scaling technology, which allows exceeding Ethereum performance.

Among the platform functionality, there is a selection of the event for judging. How is it implemented?

For this purpose we have developed an on-chain random number generator which is resistant to fraud and miners’ manipulations. It chooses a random event for a judge. There can be an infinite amount of events in the pool, but even in such case, our algorithm can pick a random event that fits a particular judge for a fixed gas amount.

One more potential problem is that miners can manipulate with block time and other data. To be protected from such manipulations, the solution for random number generator has to be nontrivial. Miners see the result of the transaction in the new block, if they are not satisfied with it, they can skip sending the block and keep selecting a better result. That’s why the random number generator should be implemented in a way when a miner is able to see the algorithm’s result only after sending the block.

It’s known that betting and gambling attract fraud. How will the PROOF OF TOSS system be protected from it?

We’ve developed a system of deposits which makes fraudulent activity risky and unprofitable. If a user, for example, tries to create an event, bet on it and then judge it, vote for the unfair result and get the prize, it would be extremely unprofitable: for any of these actions a user has to make a deposit which is in a sense insurance from fraud.

We’ve also invented protection from miners’ manipulations with precise time. Voting and all the event conditions are connected with real time: 10 minutes before the start of the event all bets should be made. But the time on the blockchain may vary from the real time, and it may create a bug when one is able to keep making bets after the event has started. Our algorithm will protect from this possibility.

Guest

The writer of this post is a guest. Opinions in the article are solely of the writer and do not reflect The Merkle's view.

Share
Published by
Guest

Recent Posts

Best Altcoins to Invest in Today: Qubetics Sets the Stage for Blockchain’s Future as Bitcoin Hits $108K and Litecoin Soars

The cryptocurrency world has always been a hotbed of innovation, attracting both seasoned investors and…

7 hours ago

Dogecoin Millionaire Predicts This Undervalued Altcoin Could Match DOGE’s 2021 Gains

Dogecoin's 2021 rally was a historic one, turning ordinary investors into overnight millionaires. This magnificent…

7 hours ago

Qubetics Presale Skyrockets to $7.5M as XRP and Arbitrum Lead Best Altcoins for Exponential Returns

The crypto market is always evolving, with big names like Bitcoin and Ethereum leading the…

8 hours ago

Over 300K Users Actively Mine Crypto On BlockDAG’s X1 Miner App While BNB Bulls Eye $3K; What’s XRP’s Price Target?

The crypto market is ablaze with excitement as altcoins like XRP and BNB make major…

8 hours ago

Best Crypto Presale To Buy Now: Rollblock Delivers For Holders With New License, Record Sign Ups and 7000+ Games

Rollblock is quickly becoming the best crypto presale to buy, delivering unmatched value for its…

12 hours ago

Polkadot And Uniswap Gearing For Post-Christmas Jump As Rollblock Raises $7.4 Million in Presale

While Rollblock's continues its crypto presale, with its value increasing regularly, Polkadot (DOT) and Uniswap…

13 hours ago