Sat. Jan 1st, 2022
    Radiance Team, DEX, Free TON

    Anzor Daurov, Product Owner of the Radiance Team, told about how he joined the Free TON project and how he and his team started working on software development, and also shared his experience in training developers, participation in the DEX contest, and plans for the future.

    • How did you find the decision to take part in the development of the Free TON product system?

    I’ve certainly been watching how the TON is developing, in which direction the SEC is moving (U.S. Securities and Exchange Commission). I remember perfectly well the absolutely delusional wording that the commission made up about why the project should be restricted. I was looking at it and thinking: 

    Did not work out. Of course, it’s a shame. But who knows, what if something will work out, and TON will somehow unofficially be supported by Telegram.

    After that, I stopped following the project. But in the fall of 2020, the Radiance team management contacted me and said that they needed someone with my experience and with an active life position because there are projects that strive to make the world a better place. I thought about it and agreed.

    • Please tell us about the experience of the Radiance team, how long you have been developing for Free TON.

    Before I joined, the Radiance team had already been in Free TON for quite some time as a team working on the SDK.

    I was planning to develop smart contacts solutions, and we started to work on a separate branch. At first, I recruited a small team of three developers, and we started with small contest works, and then a big contest — DEX Stage 1. With such a compact team, we implemented it quite quickly.

    In the first stage of the contest, we tried to make our solution as decentralized as possible. We liked the approach with DeBot as a universal interface for everything else that can be attached to it. We took third place.

    • Architecturally, is this an automated market maker with a liquidity pool?

    Yes. We didn’t reinvent the wheel for the internal mechanics of our DEX, but took everything that works well and tried to bring it to technical perfection. Uniswap is a ready-made solution that has worked great for years but is still limited to Ether. Let’s see how it works out on Free TON.

    • Digging deeper into DEX, what are the specifics of your solution, are you participating in Stage 2?

    Yes, we are participating in the second stage of DEX. In our solution, DeBot will be as one of the interfaces, but this time we are not focusing on that and rather want to use the internal capabilities of the blockchain itself to be as different as possible from existing AMM solutions, which are popular in the market and already have some authority.

    Take the best of what’s already there and make it even better with Free TON’s features.

    According to our current tests, the performance is impressive.

    • And what is the speed if compared to Uniswap, Mooniswap?

    Significant. At least because Ethereum has no sharding and there is one common queue for the entire blockchain for processing transactions, blocks transfer about once every 15 seconds, and only 180 transactions are placed in a block. I can’t give you specific numbers yet. The second stage of the contest is ending, and I think the performance of our solution will pleasantly surprise the judges.

    In addition to speed, we paid a lot of attention to gas management in our solution. Gas management is implemented so that the user does not even feel the costs in TON Crystal during operations.

    Our gas management system within DEX regulates itself so that there is no gap anywhere in the gas cost chain. For example, in the first version of DEX, we had a problem: we had to leave a reserve of TON Crystal on the smart contracts so that they wouldn’t accidentally run out somewhere in the middle. Now we have a more advanced solution: a small amount of TON is taken from the user, which is then transferred up the chain to all contracts. And since the system consists of many contracts, they must always have a positive balance.

    • How many smart contracts does your solution currently have?

    I don’t remember exactly, but there are about 8 different smart contracts involved in the swap operation. As of today, we have greatly simplified the system — we used to have separate deposit wallets.

    Compared to the first stage, we have significantly changed the architecture of our solution, “sharpened” it for sharding and other features of Free TON, because the task of DEX is to process a large number of transactions and be a highly loaded application.

    • How much of your solution will be ready to use after the second stage of the contest?

    It will be Production Ready and usable. We are starting the formal validation process the other day. In addition to this, there is already a nice and simple frontend, DeBots.

    Although, so far I do not really believe that many users will use the DeBots.

    In my opinion, the mass use of DeBot will begin when it works to its full potential in the surf.

    • Why is the crypto industry still far from mass use and how can this be changed?

    I’ve been in this industry long enough to realize that mass use hasn’t started yet. And there is a very simple reason for this: it is not clear how to use it all and it is scary to lose money. Very high entry threshold for users.

    One of the ways out is how our centralized colleagues — exchanges and other custodial services — act. But there is a second, more complicated way — to bring the interfaces of decentralized solutions as close as possible to the UI/UX of centralized equivalents, so that you do not feel the difference.

    Yes, somewhere you have to press another button to confirm a transaction, but in general, the rest of the user experience should be as similar as possible to that offered by banking apps.

    Personally, I think that in Russia, for example, there is no problem with applications from the web interface. We have it really well implemented if you compare it to what they have in Europe, America, and so on. I don’t know why, but that’s just the way it is. I think this tendency should be continued and people should not choose between Tinkoff and SBER, but between Tinkoff, Sber, and Surf, for example. In my opinion, it is very important to develop this direction.

    • Can you tell us how many developers do you have in the team that is currently working on Free TON projects?

    The Radiance Team has 5-7 people working on the SDK if I’m not mistaken. And 6 people with me who are working specifically on smart contracts, DeBots and DEX. In addition to this, we are also working on a project to audit the Latin American electoral system.

    • How difficult was it to recruit people to your team? Was it hard to adapt, having previous experience in Solidity in Ethereum?

    It was hard when the tech lead and I were going through the very first steps, even though he has extensive experience in smart contract development for Ether — there are too many features and nuances in Free TON. 

    Until we walked through that field of rakes and trampled a path, we weren’t ready to develop anything.

    We started with contests for all sorts of little bricks, like a timer, a random number generator, and didn’t expect to have time to do anything significant. In fact, we learned from it ourselves, developed a small methodology in order to train new developers. We even made some tutorials from these solutions, which we used to train new developers, no matter what area of development they came from. For example, the Javascript guys are great at turning into developers.

    • And how quickly does the retraining take place?

    The first 2-3 weeks are an internship. It starts with testing small tasks and gradually participating in daily discussions about solutions, architecture, etc. And before we accept them, they do some test tasks that give them a general idea of how Free TON works, how it’s different.

    The funny thing is that it is useless to explain to them how Free TON is different from Ethereum if they have never worked in Ethereum before.

    In general, I try to gently introduce them to the subject. Most often I meet interest in the eyes, because a lot of things are complicated, interesting, and they understand everything pretty quickly.

    • The Free TON Academy has set itself the task of creating a developer training system. Do you plan to participate in the creation of training programs as part of the Academy’s contests?

    Maybe. The only thing I can say is that we have a quite individual approach to training developers, because everyone is so different, and they come from different areas.

    I think we need to be more active in letting people know what great contests we have at Free TON and what awesome rewards we have.

    For example, Solana actively promotes its contests, although they are much lower in total rewards. There are plenty of developers from Ether, Polkadot, and others who, after a little adaptation, could enter contests, win an impressive number of tokens, and provide their solutions to the community. It is important to create positive PR for our contests outside of Free TON.

    • Tell us, who from the community helped you to understand the technical details of the Free TON? Who explained and gave information on how everything works from a development point of view?

    I started with the documentation written by Nikolai Durov. And then, of course, TON Labs. We often chat with them about information about smart contracts and DeBots. This is the case when we are not only the ones who read the documentation, we are also the ones who write and edit it.

    There is a problem with the documentation’s relevance for external developers, so it is better to get up-to-date information in the smart contracts chat or the DeBot chat.

    • Besides TON Labs, what other Free TON teams do you collaborate or communicate with?

    We collaborate very well and closely with Broxus and ExtraTON. Besides that, I’m an initial at NFT Subgovernance, and our guys are judging smart contract contests.