It looks like Message X is almost the same as MessageAny. What is the difference? --- > This question was imported from Telegram Chat: https://t.me/tondev_en...
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 want to deploy a new smart contract that I've written. Where can I read how the gas cost of deploying the smart contract in TON is calculated? Is there a c...
2 years ago
here is my FunC code: C-like forall X -> int is_null (X x) asm "ISNULL"; forall X -> (tuple, ()) push_back (tuple tail, X head) asm "CONS"; forall X -> (tupl...
Does anyone know or have an example how can I store a static address in FunC? I'm thinking about using the asm command, but I'm not sure what the syntax is f...
On TON, everything is a cell, and a slice is a cell opened up for reading. But can a slice contain another slice inside? --- > This question was imported fro...
2 years ago
I've been trying to create a simple wallet smart contract by myself to learn FunC, but my transactions keep failing with exit code 34. What am I doing wrong?...
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...
FunC standard library includes Lisp-style lists. TON documentation describes them and their basic functionality like adding an element to the beginning of a ...
one year ago
Where can I find wallet v3r1 and v3r2 FunC code? --- > This question was imported from Telegram Chat: https://t.me/tondev_eng/9027
Is there a conventional way to concatenate two strings using FunC? --- > This question was imported from Telegram Chat: https://t.me/tondev/130472
one year ago
How do we save an ordinary string in FunC? For example, how do you store the text "A" without making it a slice? --- > This question was imported from Telegr...
How do you define multiple cells in the storage of a contract? clike const data = beginCell() .storeUint(someVar, 64) .storeMaybeSlice() .endCell(); In other...
one year ago
There are TIP standards, but are there interfaces (libraries) that I can use when writing smart contracts with FunC? Or should I just attept to follow the st...
2 years ago
In modular arithmetic there is such a thing as modular multiplication. Does it have a built-in support in FunC? --- > This question was imported from Telegra...
one year ago
Is there any specific reason why single line comments in FunC start with ;; and not something more common like //? It feels very odd. --- > This question was...
2 years ago
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...
For some reason I can't parse commentary that I receive in a transaction. This commentary is specified when sending ton coins from a wallet to a smart contra...
I am getting an error with TonWeb - "tonweb/src/boc/Cell.js:347 const prefix = serializedBoc.slice(0, 4); TypeError: serializedBoc.slice is not a function." ...
Hi, I transferred my TG NFT username to another wallet, but the transfer has not happened yet. The transaction generated exit code 206. Is this normal? Can s...
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
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
Are there functions for working with dates in FunC? Is it possible to get the current date or something like that? --- > This question was imported from Tele...
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
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...
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...
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()...
For example, if you examine the code in detail here: https://github.com/ton-blockchain/payment-channels/blob/e605580c3fb1feb22d80be9a0cddfcd05671c347/func/as...
2 years ago
What determines the purity of a function? A) It must only read the function parameters. B) It can read values outside of the function parameters and return a...
2 years ago