Now more often TL-B is used as a supplement to the documentation of smart contracts, written manually. To my knowledge, TL-B compiler in ton c++ monorepo can generate code based on TL-B, but I haven't seen any cases where this has been used in practice outside of ton monorepo.

Nov 28, 2022, 4:30 AM
So I do not have to learn how to use TL-B for contracts development, right?
Thanks
Nov 28, 2022, 7:26 AM
It is not necessary but still important if you want to develop something big
Nov 28, 2022, 7:39 AM
I am a newbie, and do not find any scenario I can use TL-B, perhaps I will find one later
Nov 28, 2022, 7:42 AM
TL-b is usually used to describe how smart contracts interact with each other. Usually when you write a contract, you also write a tl-b scheme where you explain the format of data that your contract takes as input and maybe return in response
It is required mostly for internal & external messages because they don't have some exact format for message body. Developer can put any data in any format in it
Nov 28, 2022, 7:50 AM
So, is this similar to an api doc?
Nov 28, 2022, 7:52 AM
It is similar to ABI for ethereum contracts, but more customizable
TL-b is a language that can describe how some data type should be serialized and deserialized from binary format
Nov 28, 2022, 7:53 AM
sometimes after auction ends if someone send ton to auction item contract address ton is coming back to sender, is it manually triggered or automatic by contract?
is there any book to master skill on ton smart contracts?
Nov 28, 2022, 7:59 AM
I'm not sure but probably that behaviour is defined in contract's code, or maybe it just raises an error so coins are bounced back to the sender
Whitepaper and docs
Nov 28, 2022, 8:10 AM
noob programmer cant gain anything from whitepaper. 😏
in ton , address contract type is unknown until there is first outgoing txn?
Nov 28, 2022, 8:43 AM
It just should be deoloyed
And when we're talking about wallets, they're usually deployed with the first outgoing tx
Nov 28, 2022, 8:56 AM
yea this
by default my codes have 3
Nov 28, 2022, 10:41 AM

© 2024 Draquery.com All rights reserved.