-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TON Cookbook #10
Comments
We need to discuss the difference between ton.org/docs and a separate cookbook. |
In analogy with Rust, I see it as: Official Rust book - ton.org/docs |
@liketurbo do you want to take a look at this? |
I don't have enough experience with FunC for that |
I think it'll be the same as adding more examples in current docs? |
Cookbook updateWith time, it became obvious that TON needed a Cookbook focused on smart contract development with FunC. It's time to create a FunC Cookbook! Content: examples from the communityTo understand which exactly FunC examples developers need was launched a feedback form in google document for everyone from the community: Everyone is welcome! If you don't see necessary things just add them to the list. Platform: where add examplesTo write examples, you should decide where to write them. I provide a page in the TON Documentation for that: Repository of ton-docs: https://github.com/ton-community/ton-docs Reward
How to participate?Please, respond to this message with a list of examples you want to cover, so I'll add you as assigned to them |
@SwiftAdviser I would like to cover these examples: But I want to clarify what exactly is meant in those examples that I have marked in italics. @SwiftAdviser can you explain those in more details? How to send a message with an incoming account How to contain a data to cell (How to assign data to a cell (?)) How to iterate cells by bits and refs How to read a state of the contract if it is empty |
Approved! |
Updated the initial Footstep description after a chat with @SwiftAdviser |
Hi! I can cover these 12 examples: @Hiyorimi @SwiftAdviser can you confirm? |
Let's make a chat! @Miandic, could you write to my Telegram: @SwiftAdviser? I'll add you to the chat too. |
I can take lefties:
|
@Miandic @liketurbo assigned you to this issue ;) |
I have covered my examples |
I can cover the following examples :
|
@Miandic can you please open a PR in the footsteps repository and add yourself to the Hall of fame? |
@SwiftAdviser I would like to take:
|
|
I think, there is already a one for external message ... and it's been and other ones assigned to me for a quite some time 😄 @Gusarich, here is the status list:
Shortly, I will create PR |
We need to draft content and examples for the Tact language, particularly to create "the Tact cookbook". This is because: We need to address the practical issues that not everyone is able to work with FunC. To improve the developer experience, TON needs to onboard more developers. From a marketing perspective, Tact is more similar to the "Rust language". This is a good selling point to attract "high-level" developers with experience in coding to migrate to TON or TVM network. We need to position Tact as a "Rust" alternative to ### attract developers who have worked on other blockchains such as Polkadots, Solana, and Cosmos, which use Rust as the main language for programming smart contracts. This could be a good slogan. Data shows that more and more people are learning Rust over C. For the long-term perspective, more developers mean more network effects for a technology. We understand how great FunC is, but we also understand the amount of time it takes to learn, which is why we need to position Tact as an alternative to Rust to attract more developers. |
Wouldn't be then more reasonable to use Rust instead of "something like Rust" 😀 |
@Hiyorimi is there any activity / tasks here? |
Do we need any more examples? If no, let's close this issue |
@SwiftAdviser, can we close this issue? |
Thank you all for your contributions!We really appreciate your initiatives, TON Cookbook will allow new developers to get used to it faster. |
I suggest to add a few more examples on more deep things. Masterchain libraries, merkle proof/update cells, continuations. |
I have came up with the following list of advanced examples:
I would like to complete all of these. I'm working in this branch of ton-docs repository: |
@SwiftAdviser, @Gusarich, are we completing the remaining two examples?
|
@delovoyhomie there are some troubles in |
We close this issue until the problems are resolved in |
Summary
TON might benefit from getting a cookbook with clear recipes for solving some common tasks.
Context
Cookbooks are common in software development: these are collections of actionable and practical tips & tricks on how to execute certain concepts. This question on Quora contains a great explanation of what cookbook is.
Regarding the blockchain there are a couple of good examples: Ethereum and Solana ones.
Inspiration: examples from the community
To understand which exactly FunC examples developers need was launched a feedback form in google document for everyone from the community:
https://docs.google.com/document/d/1l5865CZ2IzjD1r054rYPaPkNCBaUVVt2iEy9bWJGZqA/edit#
Everyone is welcome! If you don't see necessary things just add them to the list.
Goals
Deliverables
https://ton.org/docs/develop/func/cookbook
Definition of Done
Reward
Basic examples
Total: $1225 for 49 examples
Advanced examples
Total: $450 for 9 examples
Important
How to participate?
The text was updated successfully, but these errors were encountered: