tact-lang / tact-docs

Tact main documentation
https://docs.tact-lang.org
57 stars 40 forks source link

More context and better snippets for `cookbook/jettons` #399

Closed anton-trunov closed 1 month ago

anton-trunov commented 2 months ago

This is a follow-up issue after #321.

Snippets requirements:

We should expand the explanations by adding more context aiming at novice TON developers.

anton-trunov commented 2 months ago

@a-bahdanau Could you please help us with this follow-up?

a-bahdanau commented 2 months ago

@a-bahdanau Could you please help us with this follow-up?

Yep, this is on me

anton-trunov commented 2 months ago

Awesome!

a-bahdanau commented 1 month ago

@anton-trunov Hello!

  • Snippets showing recipes MUST

Do you mean that all code should be placed in one block of code? Or it can be devided into separate parts to avoid dublication? Like with JettonTransferNotification

anton-trunov commented 1 month ago

Hey @a-bahdanau, the cookbook format usually implies every snippet to be self-contained. Would be nice if Tact users could just copy-paste examples and have something immediately compilable