grants-and-bounties icon indicating copy to clipboard operation
grants-and-bounties copied to clipboard

Article "Developing Effective Smart-Contract (FunC lang)"

Open pyAndr3w opened this issue 1 year ago • 5 comments

Summary

This proposal aims to create a article "Developing Effective Smart-Contract (FunC lang)" that focuses on optimizing gas consumption in smart contracts. The article will provide insights into gas-saving techniques, micro-optimizations, and exploration of little-know TVM opcodes.

Context

Smart contracts are integral to the TON Blockchain ecosystem, and gas consumption is a critical aspect of their functionality. High gas consumption can be a significant barrier to efficient contract deployment and execution. This article intends to address this issue by shedding light on the effective development of smart contracts using FunC Lang. It will explore various techniques, best practices, and lesser-known TVM opcodes that can help developers create efficient and cost-effective smart contracts.

Learning goals

  • An article that will teach you how to develop gas-efficient smart contracts in FunC Lang, apply micro-optimizations, leverage little-known TVM opcodes, and write more effective smart contracts on the TON Blockchain.

References

Estimate suggested reward

500$ in TON

pyAndr3w avatar Oct 20 '23 22:10 pyAndr3w

@reveloper, @SwiftAdviser, we definitely need this article in the documentation for the FunC language, as well as for the Tact language, a bounty for which will be created soon. What else do you think should be added?

delovoyhomie avatar Oct 26 '23 09:10 delovoyhomie

@delovoyhomie, can u assign me to this bounty?

pyAndr3w avatar Oct 26 '23 18:10 pyAndr3w

@delovoyhomie I have no doubts about the utility of this article, moreover, it even could be really helpful for my stream of Contract Test Documentation.

@pyAndr3w I'd like to ask if this is possible:

  1. Please, share code inline snippets(the best approach) and references(could be useful for additional context) to demonstrate your insights as much as possible.

  2. Additionally, providing the explanation of approximate calculating for different approaches with clearly demonstrated differences also will be amazing. Information becomes clearer and more objective when there are numbers related to real life, which we can compare with each other. Something like - "Here we save about 1 million GAS per year on optimization of the transfer".

reveloper avatar Oct 30 '23 10:10 reveloper

@pyAndr3w, I came across this page and noticed that it is similar to #20, so let me suggest mutual cooperation to cover more and reduce redundant staff before submission. In case of agreement, this is my telegram ID

mbaneshi avatar Nov 06 '23 11:11 mbaneshi

Hiya @pyAndr3w & @reveloper @delovoyhomie

Ummm I also noticed this is still on the bounty page for not completed bounties I see @pyAndr3w is currently assigned to it Any chance I could get involved in any way?

Phenzic avatar Mar 13 '24 22:03 Phenzic