I'm developing a smart contract for TON blockchain in FunC and I'm trying to find a bug in my code. I'm trying to debug the issue and will appreciate somethi...
There's a lot of setup for a project to implement a smart contract in FunC for TON blockchain (ton.org). Is there a good practice setup project that provides...
I have function like this: clike () save_data_on_update(slice destination_address) impure inline { builder q = begin_cell(); builder qSliceDestinationAddress...
Hello, I'm considering to move my projects from another blockchain to TON but I still don't understand how to handle the asynchronous part. One of my project...
There's an existing contract that was deployed by somebody else, for example a token, that has getter methods like get_balance(address) or get_total_supply()...
I am new to developing smart contracts on the TON blockchain and I am looking for assistance in creating a contract that can automatically distribute a jetto...
2 years ago
In TON blockchain, when implementing my dapp smart contract in FunC, my contract can accept both internal messages handled by recv_internal() and external me...
2 years ago
In developing for blockchain it's important to save space, so it seems better to store the dates using 32-bit timestamps instead of 64-bit. But blockchain is...
2 years ago
In Blueprint, we will need to write the Wrapper functions ourselves. More importantly, when we code the op code in our FunC code, we need to decode the strin...
Is there any call to get the contract address inside it? I cant find anything like that in tvm https://t.me/tondev_eng/363
2 years ago
Is the function recv_internal required to have certain arguments or is it completely up to what you want the message sender to send you? I've noticed some Fu...
In order to compile smart contracts in the FunC language I need the executables named func and fift. They are used to compile my FunC source code to TVM byte...
2 years ago
Hello everyone, please explain: ```` () send_message_back(addr, ans_tag, query_id, body, grams, mode) impure inline_ref { ;; int_msg_info$0 ihr_disabled:Bool...
2 years ago
I've heard from the TON Spanish DevChat that there exists "Ten Lessons for learning FunC". Are those video lessons? --- > This question was imported from Tel...
Many programming languages have a ternary operator, such as booleanExpression ? expression1 : expression2 in Java (if booleanExpression equals true, than exp...
There are extensions for code editors like Visual Studio Code providing syntax highlighting for FunC. Is there anything like that for the vim editor? --- > T...
Is my understanding correct that smart contracts are written in FunC, then compiled into Fift, and deployed on the blockchain, and they can later be interact...
2 years ago
In TON, messages are used to send data and instructions to smart contracts. Sometimes, these messages can contain large amounts of data such as media files, ...
2 years ago
Hi guys, how can I sign a Cell with ton-crypto, or ton-core or in someway, that later can be correctly verified by check_signature or check_data_signature fr...
I see that there is a touch method in the wallet v4 contract: https://github.com/ton-blockchain/wallet-contract/blob/main/func/wallet-v4-code.fc#L90 What exa...
I found a strange behavior in func bitwise operation. I don't understand why. slice slice0 = begin_cell().store_coins(123).end_cell().begin_parse(); int resu...
If there are two dicts and one of them is bigger than other, would the operations like insert require more gas for the bigger one, or would the gas fees be t...
In FunC there is a function run_ticktock called in ticktock transactions of special smart contracts. But can such smart contracts work on a basechain, or is ...
Some programming languages have built-in functions like is_int() helping to check quickly if a specific variable is of type integer or not. Is there somethin...
2 years ago
Suppose there is a web3 blog platform where people follow specific writers. Each follower has its own smart contract. Usually data such as "X follows Y" woul...
2 years ago
In general-purpose languages there often is some form of try. Is there anything like that in FunC I could use to validate data in msg_body? > This question w...
2 years ago
Is there a built-in square root function in the language? And if not, maybe there is a popular library with the optimal implementation? --- > This question w...
What is the byte size of a smart contract that can be deployed on TON? --------- > This question was imported from Telegram Chat: https://t.me/tondev_eng/26332
2 years ago
I would like to take a look at the source code of wallet contracts (wallet v3 and v4). As far as I understand, both these contracts are open source, but wher...