8 September 2022
A
02:01
Alt
well global smart contracts need an iteration of themselves on every shardchain right?
02:01
otherwise they exist on one shard and thats it
M
02:01
Matt
So you’re saying there’s a time interval when two or more versions of a smart contract could exist in the whole blockchain at once?
A
02:02
Alt
yes
02:02
its possible but unlikely
02:03
"However, some high-load smart contracts may want to have an instance in each shardchain of some workchain.
To achieve this, they must propagate their creating transaction into all shardchains, for instance, by committing this transaction into the root shardchain
(w, ∅)
11 of the workchain w and paying a large commission.12"
M
02:03
Matt
Hmmmm. Ok but like….. two different versions of one smart contract aren’t going to be called for the same action / operation I don’t think
A
02:03
Alt
oh no i agree
02:04
dont think its an issue
02:04
the changing of the contract is much more so
M
02:04
Matt
Right ok gotcha haha
A
02:07
Alt
so i understand it correctly right? an sc developer can just modify a smart contract and send all the tokens to themselves e.g.?
02:07
technically possible?
M
02:09
Matt
Hm good question 🤔🤔🤔🤔🤔🤔🤔
A
02:15
Alt
@slavafomin is this right?
T
02:36
Tim
In reply to this message
Not every smart contract
A
02:38
Alt
Well those which have the option right, I understand you can have / not have this feature
T
02:38
Tim
Right. Like in any other chain
J
02:43
Justin
In reply to this message
there will be projects in the future (community-led, foundation approved) which help to protect the community. example: https://jetton.live/
other things in the roadmap include minter type site whereby users can input to check immutability, etc.
V
10:19
V
There is something wrong with mobile version of ton.org 🙈
(Blockchain analysis section, iOS safari and chrome)
14:20
In reply to this message
Maybe a CSS don’t load for you. It’s fine here for me
А
14:29
Андрей
In reply to this message
Or it's an old browser. What browser version do you have?
V
14:48
V
In reply to this message
Safari 15.6.1 iPhone xs
Clearing cache didn’t helped :(
A
19:46
Alt
GM all, am I safe to assume the finality is 6 seconds? 5 seconds for validation one for finality on the masterblock?
T
19:53
Tim
More like 8-10
19:53
But you should not assume those numbers as constant
A
20:44
Alt
How come? On both things
9 September 2022
H
06:51
Hamza
I don’t remember my 24 secret words how i can open my account
P
09:39
Proton
In reply to this message
you can't
t
10:52
talkol
Using a non-custodial wallet means that you’re responsible for remembering the secret words. Nobody else has them in order to protect you from theft. The downside is that if you lose the secret, nobody else has them to help you recover. This is not specific to TON, every non-custodial wallet in crypto works this way
d
11:43
defuera
And this is why industry investing heavily in such technologies as social recovery :)
t
11:44
talkol
Write it on a piece of paper and put it in a safety deposit box
11:44
:)
d
11:45
defuera
put it in ur bank 😜
o
11:48
oxlti.qube
In reply to this message
You guys writing it on a paper?
I’m just screenshotin it
t
11:49
talkol
Screenshots end up in iCloud drives
o
11:50
oxlti.qube
In reply to this message
But if Wallet is important, I’m writing it on a paper haha
t
11:53
talkol
Also ideally there should be a mnemonic (24 words) and a passphrase and you would use both to generate the wallet (I don’t think any of the wallets currently support this but not hard to support). And then the best practice is that the paper only holds the 24 words and the passphrase somewhere else like your password manager (where you store your bank password)
11:57
https://github.com/toncenter/tonweb-mnemonic/blob/master/src/functions/mnemonic-to-key-pair.ts#L13

This function supports a password (passphrase) in addition to the words and IMO all wallet apps currently pass an empty string
11:59
This same practice is usually done on hardware wallets. The hardware wallet only “stores” the 24 words, never the passphrase. So if somebody steals it and hacks the PIN code, still the passphrase is never stored on the device which keeps you safe
12:25
In reply to this message
Why is that a benefit in your opinion? The 24 are already a very strong protection. Adding a second layer that then prevents access even if you have them (if I understood correctly) would certainly cause more losses than protection. Or you mean as a protection of the wallet access on your phone? If so, yes that option is available on TONkeeper, Tonhub and TonSafe. It doesn’t prevent you accessing your wallet if you can’t get into your phone anymore.
AP
12:26
Andrey Pfau
In reply to this message
Tonsafe is a clone of tonhub
12:27
In reply to this message
A Cold wallet in my opinion yes it’s a different use case scenario. Those using cold wallets generally are storing large amounts and will bother to take great care. Many hot wallet users are very cavalier even with their 24 words.
AT
12:28
Andrey Tvorozhkov
In reply to this message
I guess TonHub licence doesn't allow to create clones in public app stores
12:28
In reply to this message
Very funny. Where did you get that idea? I test both and proven the wrong: https://t.me/TonDever/135?comment=885
SF
12:29
Slava Fomin
In reply to this message
Why don't you store the mnemonic directly in the password manager?
AP
12:33
Andrey Pfau
In reply to this message
The tonsafe has more similarities than differences with tonhub. Also it's closed source by Noname team.
D
14:08
Dean
Can someone clarify for me how a third party service could be added to the TON Ecosystem? Is there documentation for this? I think there are core services that are written by the TON Team like DNS Payments etc, but what about third party services ?
14:09
I think I read in the whitepaper these would be accessed over TON Networking. But what other aspects are there to this?
M
14:16
Matt
Can you name an example of a third party service you’re thinking of please?
D
14:34
Dean
I don’t have a particular one in mind but just a web service for example. My understanding at the moment is that this service would use existing TON core services. And that’s one aspect of it. Just wondering what else might be involved.
AG
15:03
Alex Golev
In reply to this message
Perhaps you should to research these examples:
* Tonhub connect for 3d party services
https://developers.tonhub.com/docs/apps
* Tonkeeper connect for 3d party services
https://github.com/tonkeeper/ton-connect

Service example https://getgems.io/ which uses both connections.

Also, ton.org has some kind of verification for services on the bottom of page https://ton.app/
t
15:09
talkol
In reply to this message
All these core services could be written by anybody else. TON DNS and payment channels are simple smart contracts that you can write yourself
15:10
In reply to this message
It depends on how much money it’s holding. For small medium wallets that works just fine
15:14
In reply to this message
It’s only for big wallets or paranoid people. But I view it as a form of 2FA. There are two separate secrets during authentication that are stored in two separate places. It’s true that wallets have FaceID and this is a means of extra authentication but that’s not part of the protocol. It’s added external layers like a PIN code on a hardware wallet, with the right equipment you can bypass it. Maybe even an Apple employee can bypass it, who knows.
15:19
If you want the most secure way to currently maintain a high worth wallet on TON - I designed this approach: https://github.com/ton-defi-org/ton-offline-transaction

It’s safer than a hardware wallet IMO. But it’s only relevant for big wallets in cold storage.
15:19
In reply to this message
Indeed the mobile phone "protection" is very limited. You could be forced to look at a phone by a thief etc, forced to use your finger, and patterns are easy to break. Pin codes can also be broken indeed, I think the most difficult are the (at least on iPhones) very long alphanumeric passwords. Large amounts should always go into a cold wallet but generally for most of us we're probably ok in general use. 2FA is always a very good idea though!
15:23
In reply to this message
Wow that's beyond impressive! Safer than a hardware cold-storage wallet is amazing, but it is something I considered a risk with a hardware wallet as the device could get damaged etc, so you've provided a better solution, now if only it could be made easy! I'm not a developer (any more, was before this new technology), I couldn't manage that on my own 😂
15:28
In reply to this message
Actually you make the steps quite easy to follow. If I had five figures in TON I'd use this, would be worth dedicating a hard drive to it.
VK
15:58
Viktor Karasev
Hey guys, I need to put up a few thousand nft for sale on getgems. The getgems FAQ only shows the manual way of listing for sale. I also have a repository with their contracts (https://github.com/getgems-io/nft-contracts), but I don't understand this at all. Can you suggest some materials to understand the topic?
10 September 2022
P
08:41
Proton
Why so much attention to NFT and no talk about bridge, to transfer erc20/bep20 tockens from other chains here to TON? Decentralized exchanges?
D
10:42
D a v i d e
In reply to this message
with this you can make offline transaction?
d
10:48
doni
you generate the tx on an offline computer, copy the boc ( tx ) and publish the tx on an online computer
DC
11:16
Daniel Cooper
In reply to this message
Yup, which is why Solidity is always getting smashed. I found that working with ecosystems that use Rust the best so far. Rust is immutable and memory safe by deafault. I'm surprised more chains don't use it.
t
12:21
talkol
In reply to this message
tbh I’m not sure I agree that’s why Solidity is getting smashed
o
12:22
oxlti.qube
In reply to this message
Because Ethereum gonna use new virtual machine in 2.0
12:23
Ethereum WebAssembly Virtual Machine

So people will be able to use Rust, C++, C
DC
12:23
Daniel Cooper
I mean, I love solidity - I audit EVM contracts every day but the functionality is so stretched and leaky it is just one thing after another
o
12:24
oxlti.qube
In reply to this message
EVM is pretty old for crypto sphere haha

EVM is not good for scalability
12:25
A lot of EVM chains like Avalanche , Polygon sometimes getting bugs with gas and speed
DC
12:26
Daniel Cooper
The new EVM model won't change how the contracts are deployed and exploited unfortunately. I love Avalanche but that isn't doing too well in terms of security right now.
12:26
Rust is life haha
12:26
There's a reason MS are rewriting Windows in its entirety in Rust
o
12:29
oxlti.qube
In reply to this message
Another reason to learn FunC😄
12:31
I think, in the future many blockchains would use TVM
D
14:28
Dean
Is there the recommended version of openssl for compiling TON source? I am on MacOS Monteray and I am seeing an error compiling ton source: Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the Try setting path to openssl root folder in OPENSSL_ROOT_DIR
14:37
Should OPENSSL_ROOT_DIR point to: ./ton/crypto/openssl
14:38
or to /opt/homebrew/Cellar/openssl@3/3.0.5 ?
14:50
I tried adding the later directory and it gets passed the OPENSSL issue but now I see something else missing:
14:50
-- Could NOT find mhd (missing: MHD_INCLUDE_DIR MHD_LIBRARY)
-- Configuring done
-- Generating done
14:51
-- Build files have been written to: /Users/dean/ton/ton-build
14:51
These seem to be more warnings
VM
18:21
Vardan Meliksetyan
Hello, I'm looking for a Toncoin marketing guys. Can you advise groups ?
11 September 2022
D
01:42
D a v i d e
In reply to this message
on ton you can’t isn’t?
o
07:27
oxlti.qube
In reply to this message
FunC
JC
14:39
Jo Chio
Hey ton enthusiasts from Europe!

Let's meet in person! let's take over some hackerspace!
D
14:40
Dario
In reply to this message
There is already tonanadev for eu people
14:40
I think
JC
16:57
Jo Chio
In reply to this message
Thank you! I am trying to contact him!
R
22:15
Rupansh
Hi how do i get tx hash from wallet.methods.transfer.send in tonweb ?
I dont see anything in the response that could point me to it
T
23:47
Tim
you dont
A
23:53
Alt
what is TL like? is it hard to move from rust ?
12 September 2022
t
00:09
talkol
In reply to this message
The concept of a txhash is a little different in TON because a single transaction you send to a contract can result in multiple txhashes. TON works by sending asynchronous messages between contracts. These messages can even be handled on different blocks. When a contract receives a message, it can send another message as a response, so the first message you sent in your transaction can cause additional "transactions" to be created
00:10
It's very different from Ethereum where everything is atomic and synchronous and a single txhash can tell the whole story of whether what you wanted to do succeeded or failed
AP
00:11
Andrey Pfau
In reply to this message
TL is structure definition language like Protobuf
S
11:56
Steven | Bigcoin
In reply to this message
Hi @andreypfau, we're a marketing agency in Vietnam, and we've done research abt TON as well as the projects built on this blockchain and we think it's really potential due to the massive users all over world. So we have a proposal, who should I contact with?
D
12:32
Dean
why does toncli produce files wth extension filename.func ? vs .fc
T
12:34
TON technical overview
In reply to this message
Both extensions are fine. .func is more preferable now, because it is much simpler to search such files (a lot of other applications use .fc).
D
12:41
Dean
ok, and are there ínstructions on building the func standard library? I saw how to merge it to produce a smart contract but is there a document on building it and including it in the smart contract?
V
12:56
Vlad
Hello,

Anyone planning to create sites on .ton? maybe there is already a community for web developers to share ideas/experience?
D
12:58
Dean
Does each TON contract run in its own separate TVM? Or can a TVM run multiple contracts?
KM
13:15
Kirill Melcin
In reply to this message
I am interested in this
AP
13:19
Andrey Pfau
In reply to this message
tell with @tondev_eng
D
14:47
Dean
Is there any documentation on receive_internal() method? Where is its required signature defined? is it in the func standard library. I did not see documentation of it there.
RK
15:59
Roman Krutovoy @work
Hello, smart-contract devs 👋

How painful was the setup process of TON binaries (func, fift, lite-client) last time for you? How you resolved the issue? Do you want future devs to use your way?

It was painful for me last time. Compare to other blockchains, it was a bad experience. I want to fix this situation. 👾

So I've made a TON Footstep for this idea and look for someone to help with the reward. What do you think about a one-line installer solution for any system?

Let we discuss the idea together: https://github.com/ton-society/ton-footsteps/issues/38
R
20:09
Rupansh
In reply to this message
Well i still need to know the status of a txn(and/or subsequent txns that are created) and read the input of the given txn(perhaps at some backend for some verification).
Is there seriously no way to track this?
T
20:13
Tim
In reply to this message
there's but it requires a lot of code
R
20:13
Rupansh
wow
T
20:14
Tim
you need to check every transaction of the account and find one with your exact body, then you need to follow every output message and match txes in recipient addresses by lt
R
20:14
Rupansh
that sounds like extra gymnastics for something trivial, but thanks for your help Tim
T
20:14
Tim
and ofc you do it recursively
R
20:14
Rupansh
i guess i'll have to go that way
20:16
In reply to this message
yes, it's too much extra for ton, so you probably don't need to do all that and just check that seqno is incremented or your tx present in your wallet
20:17
I would also recommend using highload wallet. That way you can send queries in parallel and check that your query id is present.
t
20:20
talkol
I think that the recursive code that loads all transactions that originate from your original transactions and checks the exit code of all of them is a “core” functionality that all ton libraries will eventually support. It’s just that this use-case is not yet in high demand so you don’t see it implemented yet

Most simple TON transfers are just one transaction

Jetton transfers are a bit more
T
20:22
Tim
It's doable to just check all exit codes, but it's very hard to react to them. What do you do if you wanted tx chain with length 7 and it exited on 5
20:22
tonutils-go by the way implemented confirmation of tx minting on blockchain
t
20:23
talkol
In reply to this message
Yes, it’s a bit complicated because possibly just one final notification has failed and the entire flow wasn’t undone
S
22:57
Shaun
hi folks. hey, has anyone had any luck building the wallet-android application from here: https://github.com/ton-blockchain/wallet-android ?

i tried to build it a bit ago in Android Studio and the build is erroring out and bailing at: "make: *** No rule to make target `/Users/abcd/wallet-android/app/jni/./ton/crypto/smc-envelope/WalletInterface.cpp', needed by `/Users/abcd/wallet-android/app/build/intermediates/ndkBuild/afatDebug/obj/local/armeabi-v7a/objs-debug/tonlib/./ton/crypto/smc-envelope/WalletInterface.o'. Stop."
22:59
i was just wondering if anyone else has encountered this build error and had a solution. it's possible that i've missed some build steps out and/or the build instructions in the README are a bit out of date. for example, i installed Android Studio 3.5.1 as advised in the README, but Android Studio actually told me that this version was too old for the project.
A
23:15
Alt
Has the overlay network been built yet?
23:17
In reply to this message
is the osi model the same as the overlay network?
AP
23:25
Andrey Pfau via @wiki
In reply to this message
A
23:26
Alt
In reply to this message
im reading this now yes
23:26
but reading with a very basic tech understanding is making ti diffuclt
23:26
is it similar or not? if i read this article will i undersand hiw the iverlay network works?
S
23:27
Shaun
In reply to this message
you'll struggle to understand the technical nature of a p2p overlay network if you're not familiar with foundation network concepts
A
23:28
Alt
and the OSI model is the foundation network concept?
S
23:28
Shaun
the OSI model just defines conceptual layers in a computer system's network stack, basically
A
23:28
Alt
cheers shaun
23:28
ill make notes on it and learn it
23:29
could you explain as if i have read it? so i can read what you say straight after? thanks so much
13 September 2022
A
00:43
Amin
In reply to this message
Your question is somehow ambiguous. Ask specifically please.
Generally speaking we can discuss about two overlays.
First ADNL protocol which is an overlay over UDP protocol, that abstracts out the IPv4/IPv6 addresses and ports. Nodes use this protocol to share the states and updates (new blocks) and reach consensus. Each node or generally a participator in ADNL protocol has a 256-bit address which is sha256 hash of it's serialized construction that contains a public key. Other nodes can encrypt the messages with that key and send it to the address.
Second The Overlay subnetworks. TON is a multi-blockchain system and it's not limited to a single blockchain. Also every blockchain in TON consists of many shards. Now assume that node's naturally won't want to participate and receive all data for all shards available. They would want to only participate in events of some specific shards. So an overlay subnetwork is created on top of the ADNL for each shardchain to just receive the events for that subnetwork. Also overlay subnetworks will have usecases in TON Storage, TON Proxy, ... .
If you're not familiar with these network concepts and want to learn, just track the layers from OSI model. And try to read blogs and learn those concepts. And If those are not sufficient and you look for some more organized content I'd suggest trying to read network related books and try implementing or at least reading some low level protocols (It would take more time though but result in deeper understanding)
You can try this book: "Computer Networking: A Top-Down Approach" by James F. Kurose and Keith W. Ross
A
00:45
Alt
That is, on first read, a perfect explanation Amin, thank you. I definitely want to learn to code, which is why I am asking these kind of questions (and about TL). I understand they are rather ambiguous and infantile, but that is the result of my lack of knowledge rather than lack of effort. Thanks for your understanding and help on this matter.
00:50
I am reading it over and over again, by the way.
00:51
How do you think the ANDL and overlay subnetwork can be bettered? like is there a service which does not yet exist which could make the process better? perhaps making the spreading of datagrams quicker?
A
00:53
Amin
In reply to this message
You're welcome, I hope that helps. These are mostly low-level concepts and relating to the core of the blockchain. To develop smart contracts you don't need to know about them as they are abstracted out and handled by node implementation or other parts ... .
All of these depend on your goal and what you want to develop on TON Ecosystem.
If you talk more specific about what you're trying to do, me or other people in the group can help better.
A
00:54
Alt
So my general hope is to increase users on TON, whether that is something on the technical side or an app. Both I am determined to do. Just something big which is missing from TON, hopefully something unique to TON and has some Telegram use cases
A
00:56
Amin
In reply to this message
I assume that protocol has a reasonable performance and is designed carefully, making it better would first require a reason and wouldn't be a simple task.
A
00:56
Alt
yes i dont think ADNLand overlay network would achieve my desired effect
A
01:00
Amin
In reply to this message
TON has a fresh ecosystem and there are lots of things you can develop over it. For example DEXs are mostly in testnet stage. You can view popular products on other chains that aren't present on TON and set a goal for developing one of them as in future TON will probably need such product, like various DeFi products (Aggregators, Farms, ...)
A
01:00
Alt
In reply to this message
Yes that's true! I have all those written down - just thinking about something which would differentiate TON from everyone else. THink that would be useful too. Like how to leverage TON's uniqueness
A
01:09
Amin
In reply to this message
Hmm, External message usecase would be interesting for that. for example user's can send messages to blockchain without need of an on-chain account (your contract receives the message and decides to pay the fees although with limited gas credit). This is a potential feature to attract users.
you can check https://ton.org/hack-a-ton-1 and see other ideas people brought in hackaton
A
01:15
Alt
In reply to this message
interesting, whats the use case of this?
01:25
In reply to this message
i like the micropayments pay per view idea, thats very cool
A
05:02
Alt
Why is TON so rarely used for payments? I just think even if stablecoins were out the volume would still not be high
o
05:47
oxlti.qube
In reply to this message
Too volatile, TON need stablecoin :)
A
05:48
Alt
If people are not sending TON payments now (which can be quickly exchanged for $) I don't see why they would even with a Stablecoin
o
05:49
oxlti.qube
In reply to this message
Until transaction is confirmed (up to 1 minute) ton price can go up or down
A
05:50
Alt
But by how much in 1 minute? By like 5bps
o
06:04
oxlti.qube
In reply to this message
Ok, what about long-term contracts, loans?)
A
06:47
Alt
True, that would be great for us power users. But for regular telegram users it would make no difference
S
07:46
Steven | Bigcoin
In reply to this message
sr but who? the link is this group 😝
12:13
Deleted Account
Hi guys, who made editable nft, you can share the repository!collectiondata.fif and nft_item.fif and deploy + deploy_batch.fif are very interesting
RK
16:27
Roman Krutovoy @work
Wow, 2000 devs here! 😁🥳🥳
JC
17:37
Jo Chio
In reply to this message
We will boost it with Prague community 🐱
AT
17:40
Andrey Tvorozhkov
In reply to this message
Hi! https://github.com/disintar/toncli/pull/71

Soon will be merger to master and pypi
Jx
18:07
John xu
hi friends, my name is john, and I am the listing manager form AAX exchange, if I want to cooperate, who should I contact.
SF
18:18
Slava Fomin
In reply to this message
Jx
18:22
John xu
thx
OS
19:02
O S
Hi everyone…

Looked here - https://github.com/EmelyanenkoK/TON_tokens

He says about “To pay fees "fee providers market" is used: mechanisms when pool of fee providers are formed (each with own price), then upon transfer best offer from pool is used, provider get tokens, user pay fee in tokens for the best price.”

Where to look for smart contact for “fueling up” the transaction with gas for my jetton?

Thanks
KV
19:03
Kon Vik
Is it available RUBY bot on testnet? How can I receive RUBY for test purposes?
MO
20:43
Markо Okhman
Hello guys, is there any open api that has TON price stats? ex. for last 3 days
Thanks 🙂
SF
MO
20:45
Markо Okhman
😭
20:46
In reply to this message
Thanks for the hint though
D
20:47
D a v i d e
In reply to this message
sorry but where coinmarketcap takes data?
SF
21:30
Slava Fomin
In reply to this message
Directly from exchanges I think.
D
22:25
Dean
Can someone explain where receive_internal() and receive_external() are defined. And what the required/conventional parameters for these two methods
22:27
The purpose of these methods have been discussed in various places but I wondering if they are part required interface or not. Do they need to be named exactly as receive_internal() etc?
AT
22:31
In reply to this message
Initialization of TVM <
D
22:41
Dean
I see Initialization of TVM seems to describe the parameters involved in sending a message as part of a transaction. What causes receive_internal() on the contract to be called? Is it the function signature? or the name of this particular function?
22:47
From the wallet contract I see two functions () recv_internal(slice in_msg) impure {
;; do nothing for internal messages
}

() recv_external(slice in_msg) impure {}. Are these the required names for these functions? Will an internal message always get routed to a function called recv_internal(slice in_msg) ?
AT
22:52
Andrey Tvorozhkov
In reply to this message
1) Yes, function names are hardcoded in Asm.fif -> https://github.com/ton-blockchain/ton/blob/35d17249e6b54d67a5781ebf26e4ee98e56c1e50/crypto/fift/lib/Asm.fif#L1296 so you need to define recv_internal / recv_external in smart contract
2) You need to think for arguments to those two functions as "lables" for stacks element. There is 5 element on stack, when smc is starting. You can define which items you want to load, which not. But you need to respect order of those elements :)
14 September 2022
S
03:38
Shaun
hey folks. i was just reading the tblkch document (https://ton-blockchain.github.io/docs/tblkch.pdf) and i came across the following, and a question popped into my mind. the text i'm talking about is:

"1.8.4. Using code libraries. Some smart contracts may share the same code, but use different data. One example of this is wallet smart contracts (cf. 1.7.6), which are likely to use the same code (throughout all wallets created by the same software), but with different data (because each wallet must use its own pair of cryptographic keys). In this case, the code for all
the wallet smart contracts is best committed by the developer into a shared library; this library would reside in the masterchain, and be referred to by its hash using a special “external library cell reference” as the root of the code of each wallet smart contract (or as a subtree inside that code)."

how exactly is this done in practicality? i.e. how do you commit a shared library to the masterchain? are you able to build the correct cells (library reference cells) for this using func/fift?
YD
11:07
Yura Dukhno | XP.NETWORK
Hey every body. If any body can send me link to TON Wallet docs?
AT
11:58
Andrey Tvorozhkov
In reply to this message
S
12:22
Shaun
In reply to this message
thanks @tvorogme, this is great, very much appreciated.
RK
12:38
Roman Krutovoy @work
In reply to this message
OS
17:18
O S
In reply to this message
Anyone?
D
17:24
Dario
In reply to this message
thats 3 yr old, this is the official repo for tokens https://github.com/ton-blockchain/token-contract/
OS
17:25
O S
In reply to this message
Thanks, but I was more about the idea of analog for gas station network in ethereum
MO
22:24
Markо Okhman
M
Mark Okhman on TON 14.09.2022 22:24:03
Recorded a tutorial on extension for TonHub Wallet (Next.js + Tailwind + Recharts)
https://www.youtube.com/watch?v=0guNekn-6z4
MO
22:24
Markо Okhman
Hello guys 🙂 I've recorded a new tutorial on how to write TonHub extension with Next.js + Tailwind + Recharts
22:25
Please let me know if this will be useful to someone
22:26
Video file
Not included, change data exporting settings to download.
00:26, 16.4 MB
22:27
Here is how it looks, in case you don't plan to learn how to develop it
Maybe someone needs to develop something like this - I would be happy to freelance 🙂
AT
22:30
Anthony Tsivarev
In reply to this message
Amazing! Thank you for the lesson
T
22:39
TON Society
In reply to this message
We can feature it on society.ton.org blog (dedicated page coming in the next few days). Thank you! @markokhman
S
22:53
Shaun
is there a way to examine what a smart contract account's library environment is? (except of course the in-transaction library you can add)
22:53
i.e. some API in the node you can call to find this out?
15 September 2022
JC
16:49
Jo Chio
Are you going to visit Prague for the first physical TON hackathon at September?

If yes, DM me
PT
18:54
Phẩm Trần nhân
i can't find ton's tokenomics
t
19:01
talkol
some of the key figures are here: https://ton.org/toncoin
BT
23:10
Batyr TokenEcho
What happens after coins sent to Elector contract?
t
23:14
talkol
In reply to this message
Every election cycle is 18 hours. You send the coins specifying the cycle ID up to 9 hours before it begins and can take them out 9 hours after it ends
BT
23:18
Batyr TokenEcho
In reply to this message
Thank you. I'm a bit confused about the staking and validating. I guess it's the same thing but maybe I'm wrong. Is participation in election cycle equal to participating in staking?
t
23:22
talkol
To be a validator you need a lot of TON coin, more than half a million coins. So most holders can’t validate alone

There’s something called nominator pool which is a “staking” pool which lets you join other people in the pool and participate in somebody else’s validator with a small amount - https://tonvalidators.org
BT
23:23
Batyr TokenEcho
In reply to this message
I do but my coins are restricted on lockup wallet. Can I run validator node with them?
t
23:24
talkol
The lockup wallet is configurable with which addresses it can send to and often it allows sending to the elector contract so you can validate with it
23:25
It depends on who configured it for you and what they allow you to do with the locked coins
23:25
DM me and I’ll point you to people who can help
BT
23:25
Batyr TokenEcho
Thank you
16 September 2022
E
10:17
Ethan
Hello, is there a project that distributes the testnet smart contract to use for the TON chain development test?
10:18
And is there no revert in TON Chain?
D
10:19
Dario
In reply to this message
10:20
In reply to this message
If you are interacting only with one smart contract, yes, you can throw an error and bounce back the transaction .
E
10:22
Ethan
In reply to this message
Oh, thank you.
Then is there a smart contract where I can get a TESTNET TON over there and shoot a tx?
D
10:24
Dario
Nope, no smart contracts
10:24
As far I know
E
10:27
Ethan
Oh... Thank you for your answer
Y
10:30
Yondo
In reply to this message
then how can we confirm this?
D
10:31
Dario
In reply to this message
It will set the bounced flag as true, so you can define your own bounced handler. Take a look at Jetton Wallet contract
10:32
Anyway, a bounced message has only 224 bits in the body, everything else (even references) is lost
E
10:33
Ethan
In reply to this message
I'm sorry, but what is Jetton Waller?
A
10:39
Alexander
Could anyone explain what does this method do? (screenshot is from tonlib_api.tl)
10:40
(cpp usage example)
E
10:42
Ethan
In reply to this message
That contract is from TON to Token contract, right? Like ERC20?
A
10:42
Alexander
Does it run all chain transactions for a query locally (as a get method) and returns total fees back (with no merkel proof and with no on-chain changes)?
t
11:03
talkol
In reply to this message
I’m not sure I’ve seen this part in the docs when bounced is explained
A
11:05
Amin
In reply to this message
Can you provide where this behavior is described?
I haven't seen it in the docs and papers either
t
11:05
talkol
@SwiftAdviser definitely needs adding for clarity in the docs
A
11:07
Alexander
I was told that there are 256 bits in bounced message. Are you telling about 224 bits without an op (uint32)?
D
11:08
Dario
In reply to this message
no, the first bits are 0xFFFFFFFF, then there will be the others 224 bits from the original message
A
11:11
Alexander
In reply to this message
Got it, thanks.

To clarify for myself.
send
msg_body: uint112 + ^[ uint112 ]

returns bounced message with a
msg_body: 0xFFFFFFFF + uint112

without ^ref payload, even though there is enough space for it, right?
D
11:12
Dario
In reply to this message
yep
QJ
11:26
Que Johnny
Hi everybody
S
11:36
Saken
I have a question for enthusiast of TON Dev. Can we create NFT tokens in TON blockchain? If we can, what programming language needed for that?
A
11:40
Alexander
In reply to this message
Yes, you can (example). Language - FunC
QJ
12:12
Que Johnny
I currently have the code inside test-nft.js using tonweb

I have successfully deployed the market code before, but I have successfully sent it using deploy sales. Then I see the contract in ton scan and there is also a Contract Type. After clicking, you will find that Active and Seller are unknown.

Wondering if anyone has experience with this?

Or am I missing necessary information here that is causing me to fail

thanks
S
12:55
Saken
In reply to this message
can I create nft using Solidity?
o
13:06
oxlti.qube
In reply to this message
No
a
17:19
alexandra.ton
Hello, can someone tell me some open source projects in TON, please? It can be any. I want to comment on them at @PlanetaTON
t
18:41
talkol
In reply to this message
Also a good project to check out is this: https://github.com/tondiamonds/ton-nft-deployer
RK
19:06
Roman Krutovoy @work
In reply to this message
NW
19:18
Noob Wars
Yo
NA
22:19
Narek Abovyan
Hey guys!

We’ve made a JS package with multi-platform FunC compiler, it even works in Web.

It’s in pre-alpha for now, but it would be very cool if you try it out and share some feedback!

https://github.com/the-ton-tech/ton-compiler/
SF
23:49
Slava Fomin
In reply to this message
This is pretty cool, I already see where we can use it :)
17 September 2022
SF
01:04
Slava Fomin
Hey guys! Do you know of any browser-friendly (tree-shaking) npm package for TON address validation?
j
04:24
jr Partner @ Mesto
Hey guys!

Update (T)ON (N)FT (T)ool - All-in-One command-line utility to query, modify, and mint new NFTs on TON blockchain

Welcome https://github.com/LiberMall/tnt
t
11:11
talkol
In reply to this message
How does it deal with deploying 10,000 contracts in a collection?
ИM
14:31
Игорь Military
Update ton3-client
https://github.com/TegroTON/ton3-client

And ton3-contracts
https://github.com/TegroTON/ton3-contracts

Work in progress, API can (and most likely will) be changed!
18 September 2022
D
18:32
Dean
func -V output seems not to include actual version number. Here is what I see : Ds-MacBook-% func -V
/Users/username/node_modules/ton-compiler/bin/macos/func-arm64
Func build information: [ Commit: 9875f02ef4ceba5b065d5e63c920f91aec73224e, Date: 2021-11-08 00:10:10 +0300]
18:34
Why does func report its version number in this manner? I was expecting a simple string that can be understood.
18:47
I guess this seems to just be the case for the ton-compiler from npm install. The locally compiled one does have a version number
D
19:14
Dario
Then ton-compiler provides an old version of the compiler
t
20:19
talkol
In reply to this message
https://github.com/ton-defi-org/ton-binaries

You can find up-to-date binaries here if compiling yourself is too much headache
19 September 2022
AT
11:43
Andrey Tvorozhkov
We are happy to present a new version of toncli in PyPi.

Several months of contributions, 216 commits, a new test system with extensive examples and helpers functions.

Also, the contributors have prepared sample projects very well covered by the new tests. For example, now 2 commands can be used to deploy NFT collection or Jetton.

toncli start nft_colletion / toncli start jetton_minter

Also available: nft_item / jetton_wallet.

All of them have a lot of interesting examples in terms of toncli and blockchain interaction, as well as very good tests that will help in developing custom smart contracts.

Also, pre-build dockers are available to simplify installation.

Release Notes: https://github.com/disintar/toncli/releases/tag/v0.0.4
PyPi: https://pypi.org/project/toncli/0.0.43/

Much of the work was done by the contributors with the support of the Ton Foundation, for which we thank the community very much.

Have fun developing, and don't forget to star toncli if you like it :)

All issues and PR are always welcome.
A
18:45
Amin
Hi, I have a question regarding exception after accept_message
The fact that It will be replayable is obvious, but there needs to be a person who tracked the transaction and repeat it right?
The same message will be accepted by contract over and over until it consumes the whole balance.
I'm not sure that this sentence describes the behavior or just warns the possibility
Just sent some incorrectly serialized message over testnet to the wallet contract and it repeated the transaction until it ran out of TONs.
My question is, is this just a testnet behavior or mainnet too?
T
18:45
Tim
mainnet too
A
18:47
Amin
In reply to this message
Thanks,
Is there a special reason behind it? I don't get the part who replays the message in that case.
T
18:48
Tim
Validators replay it because they can't know that it errors.
A
19:06
Amin
In reply to this message
Thanks! I think I got it.
In this case it would repeat for the validator count, right?
T
19:08
Tim
No, it will just repeat
A
19:20
Amin
In reply to this message
Technically it can be replayed forever but won't each validator know about error and the exit code of TVM eventually?
IMO They shouldn't replay themselves after each one did. And in my test, in testnet, the process eventually stopped and 0.4 TONs remained.
And do you have any sources about these details? I'm reading the validator's source code but it's hard to keep track
T
19:21
Tim
But contract and network state is not constant. His can you be sure that if you got error now you won't get it in New block. I'm not sure about specifics, it's better to avoid that situation whatsoever
A
19:25
Amin
In reply to this message
Yeah, Thanks for the help!
OB
20:23
Oleg Baranov
New version of TON golang library 💎 tonutils v1.3.0

Changelog:
---------------------
1. WaitNextMasterBlock method added
2. Cell Builder optimized to work up to 4.5x faster
3. RunGetMethod return changed to new structure
4. Tuple support for stack and RunGetMethod
5. Added GetWalletVersion method (by @iam047801)
6. Added limit arg to FindTransactionByInMsgHash
7. GetNFTContent changed arg to accept Content instead of cell
8. Block scan example updated to use new features
9. Tests rewrote to use testnet instead of mainnet(by @SashaITx)
10. NFT onchain content deserialization fix (by @igorsd)
11. Fixed StoreSlice rare case of incorrect serialization in dictionary
12. Fixed possible deadlock with StickyContext usage
13. Liteclient internal improvements

https://github.com/xssnick/tonutils-go
J
21:30
JH
hello community! a pleasure to be here, I would like your recommendations. Well, I am thinking of migrating one of my projects to the ton network and I would like to know how the network covers them for the deployment of Smarts contracs
D
22:02
Dude
Hi, somebody know about libs ton wallet on Python? Or sdk for work with api Toncenter or similar?
D
22:04
D a v i d e
TONCLI new release: 0.0.4 Interesting news for developers interested in the TON ecosystem. Thanks to TONCLI it will be possible to develop smart contracts in Python language! Python is a high-level language, quite simple and accessible, and is practically one of the easiest. As we know the goal that TON has set itself is essentially simplicity despite its fascinating complexity and superiority compared to other cryptocurrencies. And that is why it was decided to make the development of smart contracts as simple as possible, thanks to TONCLI! Thanks to Andrey Tvorozhkov, who is also working on the Disintar project, one of the TON-based NFT marketplaces.
22:04
how is possible?
J
22:07
JH
In reply to this message
WOW, Amazing!
RG
22:07
Ruslan Gabdullin
In reply to this message
A
22:08
Alexander
In reply to this message
A
22:18
Alt
Where can I find a list of Telegram APIs? Are they all on core.telegram.org or are there more?
i
22:44
isoscele 💎
In reply to this message
is this already available?
22:44
In reply to this message
on the official website of telegram api there are the entry points of the api. You can find different implementations with Node, Python, C++ etc or you can interact using HTTP by yourself
D
23:23
Dude
In reply to this message
thnx
23:25
somebody know, what wrong, i build boc in b64, sent by toncenter api by method sendBoc, get 200 status, but jettons didnt send.
D
23:35
D a v i d e
In reply to this message
I don’t know, i only saw the news and report here
23:36
In reply to this message
i knew that for develop smart contract you must to use func
SF
23:43
Slava Fomin
In reply to this message
Is the destination account initialized?
20 September 2022
J
01:08
JH
help, 🙏🏻
F
01:15
F
In reply to this message
It is related to python version, try downgrading it. It may also be due to the fact that you have Ubuntu 22.04 which has not been tested for compatibility with mytonctrl
01:18
@bitcoinbitcoinbitcoinbitcoin
@matt7381
this chat was created for communication exclusively on the topic of TON
J?
01:18
J 📎
In reply to this message
Bruh
J
01:45
JH
In reply to this message
thanks, solved
i
13:20
isoscele 💎
Is there any standard lib for math operation in func? I have to floor a number
AS
19:33
Artemiy Shirokov
Hello everyone! Could you tell me what happens when we send a transaction with a message via tonkeeper? How is this message transmitted to the smart contact? Is it just a boc with one string inside?
DS
19:37
Daniil Sedov
In reply to this message
In the message's BOC, comment is just a string, yes. But it isn't necessary stored in separate cell.
NJ
20:34
Nick Johnson
I miss mining ton
i
23:27
isoscele 💎
I was testing the behaviour of rand() function and it works properly when i deploy the smart contract. While in test environment the random number output is always the same. Why is that?
i
23:39
isoscele 💎
In reply to this message
apparently i just had to treat info as integer and divide it and the result remains integer. mb. anyway these are useful. thx
21 September 2022
t
00:52
talkol
@dariolol - a few of us are moving some repos to the GitHub org ton-community where they will be maintained by several stakeholders together. Maybe we should create a common repo there for FunC utility functions like your math one?
D
01:13
Dario
In reply to this message
Isn't that a tonwhales project?
t
01:14
talkol
No, TonWhales are there as well as FS Labs (Narek), core team and me.. hopefully you too :)
01:15
ton-contract-executor I believe will move there, Narek’s new wasm FunC compiler and more common infrastructure
01:18
It’s an opportunity to co-maintain repos across company boundaries
D
01:27
Dario
Lets discuss it
HM
03:20
Hailey Corey Michelle
Let’s discuss
Rm
15:49
Rasool mansoory
Hi guys
15:50
I was checking the ton source when I came across a Java class. What is the use of these classes?
https://github.com/ton-blockchain/ton/blob/24dc184a2ea67f9c47042b4104bbb4d82289fac1/example/android/src/drinkless/org/ton/Client.java
Rm
16:14
Rasool mansoory
In reply to this message
There are not many classes
M
17:05
Matt
In reply to this message
Is it to provide a way to execute the c++ library through Java?
Rm
17:20
Rasool mansoory
In reply to this message
no
17:21
In reply to this message
I dont know
17:22
In reply to this message
It seems that there were codes for developer testing
MD
18:39
Martin DB
Hey guys! Any ton developer available for an nft project?
Pm me please
22 September 2022
BN
09:11
Behrang Norouzinia
Hi,
I have a few questions about mytonctrl and validators.

Is there anyway not to store private key of the wallet for staked ton on the server?

Is there any best practices for wallet key storage?

I've started a server, and run mytonctrl successfully. However, it looks like that I have to keep private keys on the server. Maybe as part of the validation, my node needs to sign blocks, but in this case, do everyone keep their keys on the servers?
t
09:54
talkol
In reply to this message
The current best practice is to use the nominator pool contact on top (which supports a pool of people staking together on one validator).

The nominator contract acts as a “secure” wallet that holds all the stake and moves it back and forth to the elector. It doesn’t allow sending the stake to anyone but the original depositor and the elector.

Then mytonctl only holds the key for a non-dangerous wallet which can’t touch the stake itself, only gas for elections. So even if the mytonctrl server is compromised and its key stolen, this key can’t touch the money.
09:55
Even if you just have one depositor that owns all the stake, you still create a nominator pool with just a single depositor
BN
12:18
Behrang Norouzinia
Great, I got it 👍
gl
12:20
gavin liu
Hi,
I have a question , If I can't get txhash in advance, how can I know whether the transaction is successful?
t
14:40
talkol
In reply to this message
If you need more help with this, DM me and I’ll connect you with relevant official support people
BN
14:47
Behrang Norouzinia
In reply to this message
Thank you very much. I'm working on it, if I were not successful, I'll send you a message 👍🙏
RK
20:03
Roman Krutovoy @work
In reply to this message
thank you very much for this example! Added it to the tonspace
22:00
Don't try sending 20kb messages on TON blockchain the fees are 0.4 TON 😂 Thank God I did not try to send 1MB 😅
24 September 2022
d
13:16
doni
anyone coming to token2049 at Singapore ?
BN
14:04
Behrang Norouzinia
In reply to this message
Another question,

How can I close a pool and withdraw its balance?

I created 2 pools, and then decided to change the configuration. Tried to withdraw from them but it was not successful. I tried to delete them, and they did. But the balance is still in there.

Not a big amount, but I just want to learn. Is there any way I can withdarw them?
BN
15:57
Behrang Norouzinia
Hey, I come across this site:
ton . events
which looks like to be a phishing site. I was in the TON contests and it must have found my and others' address there. It airdropped me a very small amount. Links and UI is similar to ton.org, and it has an event which says you may win 1 to 100 TON. Clicking on it opens wallet . ton . event which is a clone of wallet.ton.org.

Be ware, must be a phishing site.
A
16:25
Alireza
In reply to this message
It sent me 0.0000001 TON and burnt 0.000029195 TON as fee! and deducted my balance 🤨
A
16:40
Alex
Hi!
Can someone share how to verify user’s wallet? I was trying to ask him to make a transaction for 0.001 TON to the new generated wallet, but because wallet is not active, it does not report any transactions. Is there any well known ways?
16:44
In reply to this message
Tonscan is showing that transaction, but it’s not available through HTTP api or libraries
i
16:45
isoscele 💎
In reply to this message
did you set your api on the correct network? testnet/mainnet?
A
16:50
Alex
In reply to this message
Yes
This is the address which I’m trying to “parse”(test net)

EQCxSu8H4BI4MTdZdC2foW1FBWL7bQvq-Q5pyh1OALEoZGkc

As I understand it gives an error because account state is Inactive. So I’m wondering is there any other ways to verify that user really owns account
SF
16:55
Slava Fomin
You can't send the transaction without initializing the account first. Usually, the initialization happens automatically with the first sent transfer.
16:58
I guess it would be possible to use public key cryptography to verify that the user actually holds the private key tied to the wallet. But I'm not sure about all the implementation details at this point.
A
16:59
Alex
In reply to this message
Does initialization cost is fixed amount of TON?
SF
17:08
Slava Fomin
In reply to this message
It could work like this — you first get the user's public key either from the deployed SMC of the user wallet or from the user directly (you need to verify that pubkey corresponds with the wallet address in this case though). Then you can use the public key to encrypt some random string and send the cyphertext to the user. User then can use it's private key to decrypt the cyphertext and to present you the original random string in a plain text. This will prove that user actually owns the private key that was used to create the wallet.

Please correct me if I'm wrong though. I'm not an expert in cryptography :)
A
17:11
Alex
In reply to this message
That would be 100% guarantee, but 99% of users won’t do that :)
Now I’m generating hyperlink where you can send 0.01 ton with 2 clicks xD
Looks like i would go with some ids in messages or pay for initialization
SF
17:20
Slava Fomin
In reply to this message
What do you mean by "won’t do that"? I'm not asking them to do this manually. This should be a protocol embedded in some wallet software. It should just present user with the UI like "The X service want to verify ownership of your TON wallet. Do you accept?".
17:20
It should be similar to oAuth I guess.
A
17:43
Alex
Got it. Thank you for the answers
MR
18:25
Maxim Rublev
Hello guys, my name is Maxim and I represent Superbbit echange
18:26
We are looking for the contacts of the developers to cooperate. We have the gateway for buying the ton coins for the fiat money
18:27
We are very similar to Mercurio service
18:27
We want to become an exchanging platform where it will be possible to buy Ton
18:28
Looking forward for your feedback
DS
18:51
Daniil Sedov
In reply to this message
Sign a message and verify it with tonweb or something
18:51
Deleted Account
#question

Does Ton proxy only work on web3 environment? Or can it be used in the web2 platforms?
DS
18:56
Daniil Sedov
In reply to this message
You can ask user to sign something like this:

// Sign custom hex
const signature = await provider.send(
'ton_rawSign',
[{
data: 'ABC123'
}]
)
console.log('signature is ' + signature)

Public key can be retrieved with get_public_key() method of wallet smart contract if you know user's wallet address
18:58
I'm not sure how to verify signature, but you'll probably need to use something from tonweb or nacl
t
19:36
talkol
In reply to this message
Not exactly sure how the edge conditions work in nominators, for example what happens if you delete the pools when there’s money inside
d
20:29
doni
In reply to this message
In general when you refer to delete the pool / contract you mean by
destorying the contract using mode 32 ?

after checking the readme , and the code breifly

the nominator pool contract can not be destoryed ,
any withdraw op validates that the contract will have at least 10TON left.

So Im not sure there is a way to destory the contract …
20:30
and any role can call recover_stake ( not only the validator)
BN
20:35
Behrang Norouzinia
In reply to this message
I've deleted them with delete_pool command in mytonctrl.

So, that 10 TON that you said is checked must be the reason, because it was less than that and I wanted to clean up blockchain 😁
d
20:37
doni
in order to test nominator pool properly ,

you probably need to go testnet, and acquire enough ton to particpate in the election …
election period is about 18 hours …

so you need to setup everything in order to test a nominator pool


in the other hand, if you looking to stake your ton coins, you can particpate as a nominator in an existing nominator pool
t
21:14
torsion
Hello there
How much gas will the contract consume for a single transaction in which the comment's size is 50 kilobytes to be handled?
21:43
In reply to this message
Close to 1 TON I think.
t
21:51
torsion
Seriously? Such a small amount?
21:52
Do you mind if I DM you? I want to specify some details that are, I think, crucial for accurate estimation
DS
21:53
Daniil Sedov
In reply to this message
You can check it by yourself
t
21:54
torsion
Yeah, I know. But I first have to implement an algorithm in FunC
21:57
In reply to this message
No sorry. Very busy and not capable blockchain as others in this chat.
t
21:58
torsion
In reply to this message
How can you be sure then that the gas consumption will be so low?
22:00
In reply to this message
I tested a Wallet. I sent close to 25kb and it cost me 0.45 TON. Thank God I wasn’t able to send 25MB or I’d be broke. 😂 so I’m guessing 50kb would cost twice as much but I could be wrong.
t
22:07
torsion
Okay. Thank you
M
22:17
Matt
In reply to this message
There’s an article about this
22:18
One second plz
22:23
May not be the type of answer you’re looking for, but maybe it is 🤷‍♂️
25 September 2022
D
15:04
Dean
Does anyone know if Testgiver TON BOT is working or down for maintenance? I sent request for TON Coin address EQBgz2cysVxEB5na5lsBiW0cbVj4uVk9N-hz0hYFM0IEjFjC on Sept 13 and again today but don’t see any update
А
15:07
Андрей
In reply to this message
judging by the transaction history, the bot issues test coins
https://testnet.tonscan.org/address/EQBYivdc0GAk-nnczaMnYNuSjpeXu2nJS3DZ4KqLjosX5sVC

I sent a request indicating your wallet, it should come.
i used bot:
@testgiver_ton_bot
C
15:48
ClebersonJrX
In reply to this message
Can i send you a private message? I need something, and you can help me.
M
18:08
Matt
so………………… do I understand this file correctly? https://github.com/toncenter/tonweb/blob/master/src/test-nft.js this file basically has a bunch of examples of how you can use tonweb to basically create a nft item / collection / marketplace, and transfer collections / items, etc etc. in essence, i can create nfts and nft collections and a nft marketplace without having to write any func or smart contracts
A
18:46
Alex
In reply to this message
I think that it deploys standard contracts under the hood. You are mostly providing init state for it
M
18:51
Matt
In reply to this message
ahhhh ok so that’s why they use the word deploy in there. that makes more sense. so no i wouldn’t be using existing contracts on the chain already, but i don’t see why it would be too much of an issue for me to deploy new nft contracts, especially if all the func code is all already taken care of for me 🤔
SF
19:01
Slava Fomin
In reply to this message
Yes, TonWeb uses official contracts developed and verified by the TON FOUNDATION. If you need to change the contracts you can provide your own code (as BOC string) to the Contract constructor.
M
19:01
Matt
excellent! this is making sense to me 👍
A
20:26
Alex
Can someone please share where I can find the difference between storing “on chain” and “off chain”?
M
20:27
Matt
hm that’s a pretty general question, is there something more specific you’re wondering about?
D
20:29
Dario
In reply to this message
Onchain = stores everything in the Blockchain

Offchain = in the blockchain there is an URI that point to an external service to store data
o
20:29
oxlti.qube
In reply to this message
Offchain - smth is not on blockchain

Onchain - smth on blockchain

f.e when you make bitcoin transaction trough lightning network, it’s off bitcoin blockchain, so when you make a transaction trough Bitcoin mainnet it’s onchain
A
20:32
Alex
I’m currently exploring the nft standard and there I see the function
get_nft_content
Where we return cell with the following flag
.store_uint(1, 8) ;; offchain tag

Does that mean that this cell won’t be stored in blockchain history/storage?
o
20:33
oxlti.qube
In reply to this message
NFT pics are mostly stored offchain
26 September 2022
d
08:37
doni
In reply to this message
no
all contract’s storage are persistent on the blockchain

the first bit declares if the nft content is persistent offchain or on chain

offchain 0x01 - https://ipfs.io/xxxxxxxx

onchain 0x00 - cell serialized dictionary

checkout the standard

https://github.com/ton-blockchain/TIPs/issues/64
T
14:26
TON technical overview
TEP-89 dedicated to jetton standard extension which will allow onchain dicovery of jetton-wallet addresses for given owner reached Final Comment Period stage. We encourage all developers to participate in the discussion of this and other proposals.
S
21:04
Shawn
Hi all! Wanted to bring something to the community's attention if not seen prev. — Last week Orbs published a TON grant to the Ton society footsteps repository. The grant amount/reward is 2000 $TON. Please check it out and DM with any questions

https://github.com/ton-society/ton-footsteps/issues/41
27 September 2022
i
21:26
isoscele 💎
@talkol is it normal that tonswap website doesn't have https?
HW
21:46
Hemi Weingarten
In reply to this message
i
21:46
isoscele 💎
Http is enabled too 🤔
T
21:47
Tim
Yeah, it's good idea to disable http front. Someone can direct user to http version and mitm
i
21:52
isoscele 💎
In reply to this message
that's really risky. pls
t
22:02
talkol
In reply to this message
It’s served from GitHub pages, I think it has an option to force HTTPS only. I’ll tell the team
SF
22:05
Slava Fomin
In reply to this message
HSTS is a good thing too.
28 September 2022
o
05:58
oxlti.qube
In reply to this message
You don’t have redirect from http to https
HW
09:56
Hemi Weingarten
thanks all, fixed.
L
17:04
Lisa
Hey, everyone! As a part of offline Hack-a-TONx Prague, today will be the lecture about Telegram Web Apps development. Join us to have fun and hacks. All the details in the post below ✌️
L
17:04
Lisa
T
TON Society 28.09.2022 17:00:59
Hey, everyone! We continue preparing for the Hack-a-TONx Prague — an independent offline event by the Czech blockchain community with the support of TON Foundation. The topic for today is highly anticipated — Telegram Web Apps: tips and hacks 🔥🔥🔥

Artur Stambultsian, frontend developer at @wallet will share his experience of creating TWAs. Telegram's new initiative makes it possible to significantly improve user interaction with bots. In addition to the documentation and SDK, provided by Telegram team, Artur will speak about the infrastructure that he has built with the team while working on @wallet.

Tools to greatly simplify the TWA are guaranteed.

🗓28 Sept, 17:00 UTC
Telegram Web Apps: tips and hacks

Follow the translation on the Tonana team channel and don’t forget to ask your questions. We also provide the record after the live stream 🙌
SF
17:56
Slava Fomin
In reply to this message
Are you planning to publish the recording later on? I'm sure not everyone will be able to participate personally. Developers are busy people :)
L
17:57
Lisa
In reply to this message
Sure, the last sentence in the post claims exactly your suggestion)
L
20:02
Lisa
In reply to this message
We have just started the stream, join us here.
t
22:10
talkol
In reply to this message
it's not officially launched yet
22:11
we're still ironing out last issues
SF
22:11
Slava Fomin
In reply to this message
Actually TonCenter allows to use archive nodes specifically for some API requests, it is controlled by a special query flag (archival). getTransactions is one of such methods.
A
22:18
Ami
In reply to this message
Thanks, I will update my answer
A
23:24
Ami
In reply to this message
for non archive nodes transactions are kept for 1 week?
SF
23:34
Slava Fomin
In reply to this message
Looks like it. But it's not cast in stone, this setting can vary between nodes.
JF
23:34
John Fyodor
In reply to this message
By default I think limit is unset
29 September 2022
A
00:42
Alex
Hi, dumb question here. How does the wallets show you which nfts do you own?
Does they scan all the items from collection contract and then filter it with your address?
i
00:44
isoscele 💎
In reply to this message
I already asked this question before. Check here https://t.me/tondev_eng/8309
A
00:48
Alex
In reply to this message
Thank you!
I was thinking in this way but decided to make sure that I’m not missing smth
A
07:21
Ami
In reply to this message
MO
12:31
Markо Okhman
Hello guys, I'm going to attend the Tonana Hack-A-TON x Prague

I want to record a few video interviews with the folks who will be there.

Please write any questions you would like me to cover (here or in DM).
12:31
Just in case here is the list of all guests:

▫️Roman Krutovoy will talk about TON Blockchain and Telegram Ecosystem
▫️Artur Stambultsyan will talk about TWA, what to do with them and how
▫️Jakub Jedlinsky, Ph.D at VSE, will talk about Gaming DAOs
▫️Tamara Bizyuk from Tatum, will lead a workshop on understanding the product
▫️Vadim Keff from T7T lab, talks about how to conduct user research
▫️Eugen Anisey from Tonana will hold a master class on grants and networking
▫️Jan Silhavy from The Crypto Headhunter will talk about how to create a team
▫️Nikita Moskalenko from Hexit Capital will talk about how to start fundraising
▫️Volodymyr Manoilo from Wargaming & Studentspeak will talk about Game Marketing
▫️TON Play team about gamification and general marketing in Web3.0

https://docs.google.com/forms/d/e/1FAIpQLSdG8YY1ixMb1m1STSj-eCLbmOy4VC_a4D3L9DhDRPTxvLm1xQ/viewform
L
13:20
Lisa
Hi, everyone!

Don't miss the workshop on TWA template today at 13:00 UTC, read the info below 👇
L
13:20
Lisa
T
TON Society 29.09.2022 13:17:53
Good day, everyone!

Last, but not least lecture in the series of workshops during the Hack-a-TONx Prague preparation will focus on a template for a project that one may use for creating a TWA connected to TON.

The speaker for today is Shahar Yakir, jetton.live creator at Orbs. Shahar is a great technical expert of TON, he writes frontend, backend, and smart contracts.

Today on the stream Shahar will revolve around using the template and modifying the GitHub repo, that he has prepared for the community. It allows participants to fork it to add their own functionality, connect wallets and etc.

After the workshop one may do a basic operation against TON, f.e. transfer TON, work with Jettons and more 🙌

29 Sept, 13:00 UTC
Jumpstart at TON ecosystem: dive to TWAs

See you soon at the live stream 👈 Don’t forget to ask questions, we will give 30 TON for the best one 😉
SF
15:23
Slava Fomin
In reply to this message
The default values are configured in systemd service as far as I know.
L
16:01
Lisa
In reply to this message
Starting in several minutes, tap to join us! ✌️
А
16:51
Артем
Video file
Not included, change data exporting settings to download.
00:31, 5.4 MB
Hi everyone

Is there Ton design system(UI/UX)? In Figma, etc.
RK
17:16
Roman Krutovoy @work
In reply to this message
I'm not sure about figma, only could share something like this

https://github.com/designervoid/ton-design-system
А
17:17
Артем
In reply to this message
Thank you!
o
20:46
oxlti.qube
Hi everyone!
We (@qubedao) created the first decentralized oracle on the Ton blockchain, now protocols can take the price of a Toncoin safely and decentralized.

V1 works singlenode, but soon going to release v2 (multinode)

@qubedao is decentralised stablecoin, lending, bridge and DEX platform, soon we will announce our DEX and decentralised stablecoin - USDQ.
20:46
Video file
Not included, change data exporting settings to download.
00:44, 9.6 MB
30 September 2022
D
13:28
D a v i d e
In reply to this message
so they link an url onchain?
o
13:28
oxlti.qube
In reply to this message
Yes
D
13:30
D a v i d e
In reply to this message
where are usually stored ?
o
13:31
oxlti.qube
In reply to this message
Ipfs
t
13:31
talkol
And soon Ton Storage that isn’t released yet but when it does it will make IPFS obsolete :)
B
14:58
Berkcan
T
The Daily TON 29.09.2022 18:35:03
One day left until TON Proxy & Sites release

Before the TON Foundation kicks off the new technologies, we know that the TON community is preparing. Meanwhile, the documentation on the work of TON Proxy continues to be updated. Today, the instructions on how a user can link his TON DNS domain to a web3 website appeared on the official GitHub page.

More interestingly, according to the documentation, users can create a smart contract on The Open Network, which will allow an auction for subdomains. For example, the owner of the wallet.ton domain can hold an auction for selling second-level domains such as toncoin.wallet.ton, shop.wallet.ton, and others.

We are looking forward to the upcoming release, so we suggest the community familiarize themselves with the documentation in advance. We advise you to look over these documents if you are interested in building a decentralized internet on The Open Network.
B
14:58
Berkcan
Is it release today or not?
D
16:14
D a v i d e
In reply to this message
Is released
16:14
Were can I found the documentation of ton proxy and sites?
C
16:31
Cop
Is there any way to hiding owner of nft (particulary, domain) ?
DS
16:31
Daniil Sedov
In reply to this message
C
16:32
Cop
because If everyone can know the owner of domain, the addres of wallet, they can trace all transactions and view nft list so that privacy is decreased
O
17:21
Oleg
Colleagues. We invite you to test the new NFT Marketplace on TON https://test.libermall.com

The opportunity to pass authorization and “feel” will appear one of these days. While in the test network, there is GitHub with Bag Bounty. So you can share your wishes and sowings.
AS
18:28
Artemiy Shirokov
Hi! Where can I find an example of sending an external message to smart contract? I'm wondering how I can call the recive_external function via the web interface.
t
18:52
talkol
In reply to this message
Why are you using external? Are you developing your own wallet contract?

https://answers.ton.org/question/1485659652266921984/what-s-the-difference-between-internal-and-external-messages-in-ton-smart-contracts
in almost all scenarios internal message is the right one to use
m
21:24
matthew
Hi, guys.
Is it possible to find nfts via API?
t
21:24
talkol
In reply to this message
m
21:25
matthew
Oh, thank you so much!
d
21:30
doni
i think tonscan also shows all the nfts per account address
21:30
In reply to this message
☝🏻
n
21:34
n3ko_sempai
In reply to this message
COOL.
m
21:34
matthew
In reply to this message
Is tonscan API open?
21:34
Tonscan use getgems graphql api to render NFT listing
d
21:35
doni
In reply to this message
it might use tonapi :)

don’t know , tonscan is open source so its easy to check
m
21:36
matthew
is tonapi.io official API?
Didnt see it in official docs
JD
21:36
John Doe
In reply to this message
its api developed by tonkeeper team
m
21:38
matthew
got u, thanks
A
22:35
Alex
In reply to this message
If you need only one collection, you can scan collection by yourself directly via blockchain because each collection exposes method for providing NFT address for given nft index
n
23:13
n3ko_sempai
Is testnet faucet bot working?
m
23:28
matthew
In reply to this message
What does it mean directly via blockchain(i am newbie in blockchain development)
Do you mean this one https://toncenter.com/api/v2/?
d
23:36
doni
In reply to this message
this is just the rpc server that’s exposing the blockchain data ,

but in general yes
23:38
there are ways to access the blockchain


the common way to consume blockchain data in a web-app ( also known as dapp ) is through a http endpoint
m
23:49
matthew
Is there some articles to read about this?
1 October 2022
d
00:00
doni
n
00:07
n3ko_sempai
In reply to this message
I think the website is down
d
00:08
doni
sorry
n
00:09
n3ko_sempai
In reply to this message
👍😂
m
01:01
matthew
Somebody tried proxies already?
curl -x in1.ton.org:8080 http://test.ton doesnt work for me(
RG
01:06
Ruslan Gabdullin
Hello!
Please, try http://just-for-test.ton instead
m
01:11
matthew
In reply to this message
Yeah, it works 😃
TD
02:41
Tonana DEV
T
TON MAXI 01.10.2022 02:33:16
Hello, today the second day of the 72-hour continuous hackathon has begun, which means I want to share a photo report of how the first day went: 50 people gathered on the third floor of HubHub to started hack a TON in Prague 👩‍💻
02:41
T
TON MAXI 01.10.2022 02:39:37
02:41
T
TON MAXI 01.10.2022 02:39:37
02:41
T
TON MAXI 01.10.2022 02:39:37
02:41
T
TON MAXI 01.10.2022 02:39:37
02:41
T
TON MAXI 01.10.2022 02:39:37
02:41
T
TON MAXI 01.10.2022 02:39:37
02:41
T
TON MAXI 01.10.2022 02:39:37
02:41
T
TON MAXI 01.10.2022 02:39:37
02:41
T
TON MAXI 01.10.2022 02:39:37
TD
02:41
Tonana DEV
T
TON MAXI 01.10.2022 02:39:38
02:41
T
TON MAXI 01.10.2022 02:39:38
02:41
T
TON MAXI 01.10.2022 02:39:38
02:41
T
TON MAXI 01.10.2022 02:39:38
02:41
T
TON MAXI 01.10.2022 02:39:38
02:41
T
TON MAXI 01.10.2022 02:39:38
TD
02:41
Tonana DEV
These were both experienced TON developers and guys who came with very basic ideas about the blockchain in general.

You can get acquainted with the teams and projects that were created on the first day in PDF.

The hackathon rules allow remote participants to take part in teams that are physically represented at the event.

We invite you to join the teams and help them with the implementation of smart contract solutions and even basic setup.
02:42
Hack-a-TONxPrague _ Merch pre-registration (1).pdf
Not included, change data exporting settings to download.
40.6 KB
TD
03:11
Tonana DEV
C
11:33
Cop
Is there any way to find the owner of nft like domain out?
d
12:14
doni
yea there is an owner field
d
15:01
doni
Hi Does anyone knows if there is a better explaniatin on ton-sites for registering a domain to an ANDL server ?
15:01
15:01
Somehting in the docs seems missing or unclear
SF
19:42
Slava Fomin
In reply to this message
19:43
B
19:46
Bc. Žak
Hello. is there some JavaScript library to check jetton balance on my wallet?
t
19:56
You will need to run a couple of getters, one to get the jetton wallet address and another to query the jetton wallet address for its balance
19:57
There are also some APIs that index the chain and provide this data like tonapi.io but then you’re trusting them to give you the correct info and it’s harder to verify
19:58
If you indeed decide on the route of checking it yourself, you will probably need to read this as well to understand which getters needs to be called: https://society.ton.org/how-to-shard-your-ton-smart-contract-and-why-studying-theanatomy-of-tons-jettons
B
19:59
Bc. Žak
In reply to this message
Great. thank you for your help. really appreciate it
s
19:59
shahar
In reply to this message
You can also take a look at some of jetton.live code that uses javascript to do this => https://github.com/ton-defi-org/jetton-deployer-webclient/blob/main/src/lib/deploy-controller.ts#L180
B
20:00
Bc. Žak
In reply to this message
will look into it. thank you
HW
20:06
Hemi Weingarten
📚 Masterclass on TON Blockchain and smart contract architecture by @oleganza of @tonkeeper at the @hackaton2022 in Prague.

Topics covered included:
✅ Scalability through infinite sharding
✅ The asynchronous actor model
✅ smart contracts in TON should have O(1) computation time - no long lists!
✅ smart contracts should aim to have just one job to be done. If a contract does 2 things (ie send token, time lock calculation) - consider splitting into 2 separate contracts
✅ Wallet "plugins" to avoid lengthy asset lists held inside wallets (again, O(1))
✅ Ton API (https://tonapi.io/) for exploring smart contract TRACEs, EVENTs, and ACTIONs
✅ Abstraction of some repetitive FunC smart contract workload via a high level language, TACT (https://tact-lang.org/)

Key takeaway:
👉 Smart contracts on TON are much more complicated than on ethereum, but this slight inconvenience for developers is worth it.

h/t to @talkol for great blog posts on some of these topics here: https://society.ton.org/

Dear developers - Welcome to TON 👩‍🚀👨‍🚀 🚀
20:06
n
20:21
n3ko_sempai
In reply to this message
I saw something about algorithmic complexity in smart contract too. Cool
C
22:45
Constantine
Hey guys! I have a question regarding wallet tg bot (for sending and recieving ton). is this a third party bot? how does a bot get approved getting an approved status star?
2 October 2022
C
05:19
Cop
In reply to this message
Can’t I hide it? It decrease anonymity
d
06:00
doni
its not a simple solution …

but what you can do is try to implement an nft collection that uses a public key authentication and not an address authentication ( owner field )

this solution would probably need a recv-external in the nft-item contract .

so if you will use a separate ( from your wallet key ) private key for managing the nft item

this way you preserve anonymity

but this method has some drawbacks bc its not compatible with the nft standard,
and nft marketplace wouldn’t support this nft collection.


maybe an easier solution is to manitain multiple wallets , so you can have some kind of anonymity
C
06:02
Cop
In reply to this message
thank you.
t
06:05
talkol
In reply to this message
What’s the anonymity use case you want to implement? Most public blockchains are not anonymous this way. You can normally see which address sends transactions / owns tokens. But you don’t know what is the real world identity behind this address
DM
11:57
Danila Moriakov
Hey, guys, I am studying the topic of upgradeable smart contracts and I have one brief question: does TON allow to upgrade SC in the future or should I use some Proxy-like patterns? It would be great if there is a page on official docs about it. Thank you!
s
11:58
shahar
There is a set code primitive (https://ton.org/docs/#/func/stdlib?id=set_code)
DM
11:59
Danila Moriakov
In reply to this message
thanks a lot
m
13:02
matthew
Hi, guys.
I'm trying to set up a proxy according to the instructions, and see this error
[ 2][t 1][2022-10-02 10:00:11.736060209][TonlibClient.cpp:2052][!tonlibclient][&!config->ignore_cache_] Unknown LastBlockState: [Error : 0 : Unknown key]
Maybe someone solved it?
n
13:46
nocriz
[ 94%] Linking CXX executable tlbc
Undefined symbols for architecture arm64:
"_CRYPTO_THREADID_set_callback", referenced from:
td::init_openssl_threads() in libtdutils.a(crypto.cpp.o)
"_CRYPTO_THREADID_set_pointer", referenced from:
td::(anonymous namespace)::openssl_threadid_callback(crypto_threadid_st*) in libtdutils.a(crypto.cpp.o)
"_CRYPTO_get_locking_callback", referenced from:
td::init_openssl_threads() in libtdutils.a(crypto.cpp.o)
"_CRYPTO_num_locks", referenced from:
td::(anonymous namespace)::openssl_mutexes() in libtdutils.a(crypto.cpp.o)
"_CRYPTO_set_locking_callback", referenced from:
td::init_openssl_threads() in libtdutils.a(crypto.cpp.o)
"_OPENSSL_add_all_algorithms_noconf", referenced from:
td::init_crypto()::$_6::operator()() const in libtdutils.a(crypto.cpp.o)
ld: symbol(s) not found for architecture arm64
clang:
error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [crypto/tlbc] Error 1
make[2]: *** [crypto/CMakeFiles/tlbc.dir/all] Error 2
make[1]: *** [crypto/CMakeFiles/func.dir/rule] Error 2
make: *** [func] Error 2
13:47
Hey guys, I had this error when trying to build func on my apple silicon mac
13:47
Can anyone help?
M?
14:02
Marshal 🦁
In reply to this message
Hi, It builds for me without any problems
d
14:06
doni
In reply to this message
maybe you need to install openssl ? via brew
n
14:27
nocriz
I was able to build this in the past somehow, but I forgot what I did to make it work...
d
15:26
doni
In reply to this message
maybe this help
15:26
brew install openssl
n
15:26
nocriz
Yes I did it
15:26
cmake says
15:27
-- Found OpenSSL: /opt/homebrew/Cellar/openssl@1.1/1.1.1q/lib/libcrypto.dylib (found version "1.0.2o")
15:27
Which makes zero sense
15:27
And it does not work
15:27
if you dl the binaries from here ? do they work?
n
15:29
nocriz
it works
15:30
But I would like to build it myself
15:30
Let me try more
d
15:33
doni
did you restart the terminal after the brew install
15:33
maybe the env variable should re initiate ?
15:35
another thing i would try is

xcode-select --install

maybe you are missing clang are something
n
15:47
nocriz
I added this and it works now
15:47
set(OPENSSL_ROOT_DIR "/opt/homebrew/opt/openssl@1.1/")
set(OPENSSL_LIBRARIES "/opt/homebrew/opt/openssl@1.1/lib")
15:58
https://ton.org/docs/#/howto/step-by-step
Here it says "Note that this tutorial is for a testnet, so you must use the config https://ton-blockchain.github.io/testnet-global.config.json". Why cant the tutorial be used on the main net?
d
16:51
doni
so the flags OPENSSL_ROOT_DIR and OPENSSL_LIBRARIES werent set I guess …

probably something with reading the env variables after the openssl installation
16:51
-------------------------------------------------
Hi all
does anyone knows the devs of mytonwallet ?

if you could connect me that would be great !

thanks !
n
18:55
nocriz
Hi all
Is there a highlight plugin for fif?
m
22:37
matthew
it’s not possible to set up a site in ton.
If anyone could do it, please text me.
SF
22:44
Slava Fomin
In reply to this message
What do you mean by "it's not possible"?
m
22:47
matthew
There are no capacious instructions with error handling.

“1) Run command *blablabla*
2) Cool, you success set up ur TON SITE”
SF
22:48
Slava Fomin
It would be more constructive if you would tell what exact problem do you have right now.
m
22:49
matthew
I have this error in console.
And there is no word in documentation about it.
But in server mode proxy works good with this error.
In ton site mode it doesn’t work.

[ 2][t 1][2022-10-02 10:00:11.736060209][TonlibClient.cpp:2052][!tonlibclient][&!config->ignore_cache_] Unknown LastBlockState: [Error : 0 : Unknown key]
22:52
How can I understand that the proxy has started successfully, and if it doesn’t work I should check my server settings like firewall and others.

It’s just not working, and I don’t know what is wrong: server settings, ton binaries or I just had a mistake while run command.
22:55
And it’s not only my problem , then I post message here one guy went to dm and we start discuss about proxies and he has the same questions
SF
22:56
Slava Fomin
@ruslixag can you help?
m
22:57
matthew
Is there russian dev chat, where we can talk in russian))
RG
22:59
Ruslan Gabdullin
Yep, here it is: https://t.me/tondev
m
22:59
matthew
In reply to this message
Oh, thanks
SF
23:02
Slava Fomin
I would ask you to publish the issue resolution here as well for the sake of the English speaking developers :)
A
23:13
Alex
Hey all! Another dumb question there :)
I’m accepting payment from user to the wallet(new wallet for each payment).
So, I have the question how to make it better
1. Monitor the wallet for balance and then just call “transfer” to main wallet
2. Create new wallet and deploy contract which would automatically forward transactions. In that case I’ll monitor the transactions of wallet on back end side
SF
23:19
Slava Fomin
In reply to this message
Hey! The both methods will work. However, the second one will probably be better (no need for extra work).
t
23:37
talkol
In reply to this message
Why talk in Russian? We want to be part of the conversation :)
23:38
English is not my native language either 😅
SF
23:39
Slava Fomin
In reply to this message
That's fair point ))
A
23:48
Alex
In reply to this message
I’m just wondering which one is more idiomatic:)
Method 2 is definitely require less work, but I would need to pay fee to deploy that contract
DS
23:53
Daniil Sedov
In reply to this message
It'll be almost the same fee as for regular wallet
SF
23:55
Slava Fomin
In reply to this message
You will have to pay the fee in both cases. I don't think there will be much difference.
RG
23:58
Ruslan Gabdullin
In reply to this message
Sorry for that…
Btw, I usually ask to move conversation in DM so as not to spam in public chats.
SF
23:59
Slava Fomin
In reply to this message
I guess it's fine as long as issues are getting resolved or documented somewhere, so your debugging efforts are not lost :)
3 October 2022
RG
00:00
Ruslan Gabdullin
Anyway i’ll chat a summary of issue here)
00:10
In reply to this message
The issue in this case was in node-server. Accessing site from curl command, we got 308 Permanent redirect error.
As we found, the site was throwing requests to API non-stop. Probably this was the reason.
Then we tried to host simple test site instead, and proxy worked correctly. Now @matthew_maclay will try to remove all functionalty from his site and, by adding it stepwise, will figure out which part cause problem.
m
00:14
matthew
And this error is not an error.
It’s warning, and proxy is work after run.

[ 2][t 1][2022-10-02 10:00:11.736060209][TonlibClient.cpp:2052][!tonlibclient][&!config->ignore_cache_] Unknown LastBlockState: [Error : 0 : Unknown key]
RG
00:16
Ruslan Gabdullin
And here is the recommendation for one who tries to run rldp-http-proxy:
1) try to run proxy with following command: rldp-http-proxy -p 8080 -a <your-ip>:3333 -A <your-adnl> -L ‘*’ -C global.config.json --verbosity 3.
2) if you see Unknown LastBlockState error — do not worry, it is OK.
3) after this try to reach your site/service/etc with curl: curl -x <your-ip>:8080 http://<your-adnl>.adnl -v. In logs you shoud find 200 status and code of response.
4) If it doesn’t work, host some example site/service on port 80 instead and try to reach it.
SK
02:39
Stas Krasev
Can pls somebody give me, some like to a doc or guide link, which is describe how to work with ton?
02:39
Maybe link to git repo?
t
09:20
talkol
In reply to this message
Work how? What are you trying to do?
n
09:22
nocriz
HI
09:22
I see FunC documentation but is there fift documentation?
T
09:30
TON technical overview
In reply to this message
n
11:50
nocriz
Hi, can anyone tell me how to deploy contract on mainnet?
11:51
I used send file but account is still account_uninit
T
11:53
TON technical overview
In reply to this message
What is the response on "sendfile" command?
n
11:55
nocriz
sendfile test-query.boc
[ 1][t 2][2022-10-03 08:54:55.020132][lite-client.cpp:1153][!testnode] sending query from file test-query.boc
[ 3][t 2][2022-10-03 08:54:55.378497][lite-client.cpp:1163][!testnode] external message status is 1
T
11:57
TON technical overview
In reply to this message
Can you send the address?
n
11:57
nocriz
getaccount EQBMZutX4Q0TNYHMLWGIfrsJ6uyAebaYX4i6nzLk3UKCMd2C
[ 3][t 2][2022-10-03 08:57:06.242067][lite-client.cpp:1196][!testnode] requesting account state for 0:4C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD428231 with respect to (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38 with savefile `` and mode -1
[ 3][t 1][2022-10-03 08:57:06.864257][lite-client.cpp:1905][!testnode] got account state for 0:4C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD428231 with respect to blocks (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38 and (0,8000000000000000,29434307):7857B454F1D54E29D8AEA4F636741067EA4BB1825758C76C37FBCA359C70A192:E735910280C84210AAEEE6C0FBBF1E1F7EA78F1B9CD980BCAB15F59B23AAB8AE
account state is (account
addr:(addr_std
anycast:nothing workchain_id:0 address:x4C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD428231)
storage_stat:(storage_info
used:(storage_used
cells:(var_uint len:1 value:1)
bits:(var_uint len:1 value:103)
public_cells:(var_uint len:0 value:0)) last_paid:1664786907
due_payment:nothing)
storage:(account_storage last_trans_lt:31707894000004
balance:(currencies
grams:(nanograms
amount:(var_uint len:4 value:19999996))
other:(extra_currencies
dict:hme_empty))
state:account_uninit))
x{C004C66EB57E10D133581CC2D61887EBB09EAEC8079B6985F88BA9F32E4DD42823120259C319D50ED80000735A4708A611004C4B3F04_}
last transaction lt = 31707894000003 hash = 13EBAEF2C9F83AE8FFEED2EC353338AEE6BF221D0F6B202AB7BFCCE4119A30BE
account balance is 19999996ng
11:57
I have send 0.02 ton to this address, so I guess it should work
11:58
Oh
11:58
Seems it worked after I restarted lite-client
T
11:58
TON technical overview
In reply to this message
You forget to make last?
n
11:58
nocriz
No I restarted lite-client and it works
11:58
I think the last server I connected to was not working properly
T
11:58
TON technical overview
In reply to this message
From here
the getaccount xxx command will return the same result until the reference block is updated to a newer value by a last command. In this way one can study the state of all accounts and obtain consistent results.
n
11:59
nocriz
I know this, but I did send file again and received a different output
11:59
sendfile test-query.boc
[ 1][t 2][2022-10-03 08:56:51.627659][lite-client.cpp:1153][!testnode] sending query from file test-query.boc
[ 3][t 1][2022-10-03 08:56:53.204627][lite-client.cpp:1163][!testnode] external message status is 1
[ 3][t 1][2022-10-03 08:56:53.204933][lite-client.cpp:483][!testnode] obtained block (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38 from server
[ 3][t 1][2022-10-03 08:56:53.205094][lite-client.cpp:521][!testnode] obtained 12783 data bytes for block (-1,8000000000000000,23995771):7DF12AD58025B977FBA29009A39E4061E113C00BFBA57ACD2372AA0066AFF182:6C8E699DED26007408A4130D74A402A89696F120B2F5F4D2D316250CA642AF38
11:59
And then it worked
T
12:00
TON technical overview
In reply to this message
Well, you are probably right and randomly chosen LS hiccuped
n
12:01
nocriz
🫡
n
17:24
n3ko_sempai
I want to make Batch-minting Nfts.
have ton any tool for this? . OR have a markrtplace support that. sorry if I am wrong in concept because I never make this type of thing? .
RK
17:26
Roman Krutovoy @work
In reply to this message
A
17:40
Alex
In reply to this message
Actually, standard smart contract from GitHub contains an example how to do that from contract side. You’d need to send only one message to batch mint nft
n
19:54
n3ko_sempai
In reply to this message
The ton-nft-deploy webpage from ton diamonds is a good and more simple solution for my problema I think. But how about a marketplace for sell this type of nfts?
Getgems support this?
19:54
In reply to this message
Thanks.
4 October 2022
s
11:04
searching.ton
Hi, guys.
Let’s try to test beta version of the first search engine on TON - searching.ton.
Feedback, suggestions, bug reports - my dm.
T
12:15
TON technical overview
In reply to this message
TEP-89 was accepted 🎉
TEP-85 dedicated to Soul bound token has entered Final Comment Period stage. We encourage all developers to participate in the discussion of this and other proposals.
s
12:59
searching.ton
We invite everyone interested in the development of Searching.ton to follow the news here
@searchington
5 October 2022
n
01:48
n3ko_sempai
The nft metadata json follow the same ethereum standart?
BN
01:53
Behrang Norouzinia
Hi,

I checked foundation.ton using in1.ton.org and I have a few questions:

1. Using such a public http proxy, makes everything to be visible in transport. This in1.ton.org should be for demonstration only, right? In real world use cases, everyone should run their own ton personal proxy on their local machine to bypass this problem?

2. Opening foundation.ton, my browser shows an insecure connection warning beside the url because the connection is not secure. I didn't quite catch the part in Ton Sites that no certificate is needed. How this problem is going to be solved? Should we wait for an upcoming release? or am I missing something here too?
A
03:58
Alex
Hi, is there any docs where I can read about address activation and etc?
n
06:11
n3ko_sempai
In reply to this message
I believe they are activated with the first transaction.
SF
13:10
Slava Fomin
@Asroma19271927 please use only the English language in the chat.
VT
22:05
Vladimir Tamara Patiño
Regarding setting up a validator in testnet @tvorogme wrote in another chat: "For mainnet: Download dump from dump.ton.org, than use mytonctl / ton-k8s to start with this dump. Node will up in 2 hours, just make sure you have 305 k- 610k TON

For testnet there's no such dumps, so you need to start own node without dump which is not that fast. You can ask in Dev chat about test coins for validator. There's special people who maintain testnet."
22:07
So I'm asking here: 1) how to have enough test coins for a validator in testnet and 2) is there any collator node working on mainnet or testnet?
6 October 2022
rj
00:40
ron jb
Hi guys, I'm new into block-chain tech and not sure where to start.
i am trying to run tonweb however i dont know where i can create a public key for it. can anyone put me where/how i can create it? TIA
SF
01:37
Slava Fomin
In reply to this message
Hello and welcome! The tonweb-mnemonic is a recommended package that can be used to generate random seed words and derive the required keys from it.
n
09:17
n3ko_sempai
Hi. I am getting an error in fift
 Error interpreting file `build/main.cell.fif`: main.cell.fif:29: PROCINLINE:<{:-? 

The error is fixed by changing PROCINLINE to PROC inside the file.
any idea what causes this error and how to fix it?
T
09:36
TON technical overview
In reply to this message
Currently separated validator/collators are only tested in private testnets
09:37
In reply to this message
You have outdated Asm.fif, in toncli you need to run update_libs.
n
09:41
n3ko_sempai
In reply to this message
thanks
11:19
Deleted Account
Hello guys ,maybe who have ready fift message for toncli nftsale contract ? want to read, share if anyone can!
M
11:24
Matt
In reply to this message
https://github.com/toncenter/tonweb/blob/master/src/test-nft.js

This file has examples of how to use standard nft contacts
At the top you can find what standard nft contracts they import and where they are located
Those contracts are in func and can be compiled down into fift
(If my understanding is correct)
11:27
Deleted Account
In reply to this message
year it's true ,but i need fift message's on op in toncli!
SF
15:49
Slava Fomin
In reply to this message
Please contact the @f_closer for test coins.
D
16:40
Dario
@Narek is there any way to get the fift errors with ton-compiler?
A
16:56
And you dont mi
In reply to this message
i tested their contract works fine for 10k
NA
17:33
Narek Abovyan
In reply to this message
We have warnings field for that as far as i remember
D
17:34
Dario
In reply to this message
dont work, it trigger an expetion and returns only exit code
NA
17:36
Narek Abovyan
But why you think it fails?
17:36
I guess fift fails only if there is something wrong in asm.fif correct me if i’m wrong
D
17:37
Dario
In reply to this message
an inline asm function i wrote has a wrong sintax i guess
NA
17:37
Narek Abovyan
🥲
D
17:38
Dario
then i need to read fift logs
NA
17:38
Narek Abovyan
Will take a look
D
17:38
Dario
thanks
VT
17:46
Vladimir Tamara Patiño
In reply to this message
Thank you. Are there instructions of how to setup a collator?
17:47
In reply to this message
Ok, thank you.
17:52
In reply to this message
Anyone who deployed a private testnet could allow me to try a collator node (on OpenBSD/adJ since I have been able to port ton tools to that system)?
17:52
In reply to this message
Or where could I find instructions to deploy a private testnet?
Rm
18:18
Rasool mansoory
Hi guys I have question
Will the award be the same if I participate in Participate as Contributor or Participate as Maintainer?

#HACKTOBERFEST_event
RK
18:28
Roman Krutovoy @work
In reply to this message
Yes, rewards from the TON Foundation will be the same both for contributors and maintainers — limited-edition NFT.
Rm
18:30
Rasool mansoory
In reply to this message
If I do both, will I get 2 rewards?🙂
RK
18:35
Roman Krutovoy @work
In reply to this message
it's a good question, as the NFTs are planned to be Soulbound. They are more like achievements rather than usual NFTs. So using 2 different wallets could be a solution. But let me ask the team.
7 October 2022
D
00:06
Developer
Where could I able to find tutorial about FunC ?
M
00:09
Matt
In reply to this message
check out the blog posts on https://society.ton.org
D
00:09
Developer
In reply to this message
Thanks buddy 🙏
J?
00:18
J 📎
In reply to this message
I am a telegram content creator. Been here since 2017.

Real content, not marketing content, which has all been inspired by the TG community and made for them.

I’m always looking to network if the vibe feels right. So reach out we can talk :)
00:19
In reply to this message
Appreciate the shout out. I see lots of developers, where are the creators?
s
01:09
searching.ton
In reply to this message
It’s dev chat, not creators))
J?
01:15
J 📎
In reply to this message
Is there a creator chat? Or should I make one then
GE
01:21
Griffin Emerson
Hello 👋
DS
08:35
Daniil Sedov
In reply to this message
Maybe @tonsociety_chat is what do you need
WS
09:17
Wellington Sanctorum
Hello
09:17
Any Ton developers here to help me?
09:18
I'm looking for a developer on the TON blockchain
n
09:19
n3ko_sempai
In reply to this message
For smart contract OR what?
WS
09:19
Wellington Sanctorum
In reply to this message
Smart contract
n
09:21
n3ko_sempai
In reply to this message
So what problem you have?
WS
09:21
Wellington Sanctorum
In reply to this message
I will send you a DM message
MA
12:50
Mike Artemiev
it says the bot can send the TON, but how?
I cant find it at https://core.telegram.org/bots/api
D
12:54
Dario
In reply to this message
manually server side: find a lib to create and sign msgs (tonweb, ton, tonutils-go etc), stream bocs using toncenter etc
MA
13:01
Mike Artemiev
Sending is clear.
But I need and receive ton by bot too.
Is there any ways to accept receive TONs by bot like a by simple user?
D
13:39
Dario
In reply to this message
to "receive" just scan your wallet for new incoming transactions. save in db lt and hash of each transaction and tell users to add a comment on each transfer to distinguish each transfer (eg random string or their user id)
MA
13:48
Mike Artemiev
In reply to this message
yes it is clear.
But I want to users send TONs to my bot, like as to other real telegram users, from @wallet interface directly in telegam, without other wallet apps.
Is it impossible?
D
14:12
Dario
In reply to this message
then you can use @cryptobot
14:12
wallet doesnt offer api interface as far i know
t
20:11
tumbler
Hello, have a little tech question: given my v3r2 address can someone derive my v4r2 address?
20:12
Sry it's silly I'm now to ton.
SF
20:20
Slava Fomin
In reply to this message
In TON an address is derived from the "state init" of the contract, which consists of the contract's code and some data. Public key is a part of this data. Along with wallet ID for some contracts. So strictly speaking knowing an address is not enough. However, by knowing an address you can load SMC data (if the wallet is deployed) and get the public key from it. Knowing the public key you can derive an address of any type of the wallet. However, if you are using non-standard wallet ID than it will be very difficult to guess it.
20:24
However, if you would scan the Blockchain looking for some specific public key than it will be possible even if you are using non-standard wallet ID.
t
20:25
talkol
In reply to this message
Normally yes, assume that they can. Normally you wouldn’t maintain different wallets in different versions, you would migrate the funds to the latest wallet version you’re interested in using.

If you want to have two unrelated wallets, it’s best that you create two secret phrases.

If maintaining multiple secrets is too much of a headache you can use something like https://github.com/ton-foundation/ton-vault
t
23:14
tumbler
Yeah thank guys
23:15
Was asking cuz some1 was supposed to send me on v3 (that's the address I provided) but was sent in v4 instead.
8 October 2022
t
00:42
talkol
In reply to this message
That’s strange.. normally you give the v3 contract address so I don’t understand how he could do this by mistake
00:43
It would take some effort to discover your v4 address from your v3 address, it’s not something you can accidentally do IMO
t
00:43
tumbler
Yeah I'm sure it wasn't by accident. And I never gave my v4 to anybody.
00:44
Don't really know ton technicalities so I took the time to ask to see if my wallet is somehow compromised or smth.
D
00:45
Dario
In reply to this message
maybe its a scam, stay safe man
t
00:47
talkol
Like @slavafomin explained, to derive your v4 from your v3, this person would need to go to the v3 and extract the public key and then use that to derive your v4 address.. this would require a custom script, I don’t think I saw a ready made tool that does this
d
00:47
doni
are you using tonhub ?

i remember they had an upgrade flow
t
00:47
talkol
In reply to this message
Only to the owner
t
00:48
tumbler
In reply to this message
He/she surely done that.
00:48
In reply to this message
Nah, tonkeeper
t
00:49
talkol
In reply to this message
Why? What would they have to gain?
t
00:49
tumbler
In reply to this message
I don't really know and that's so weird tbh.
t
00:50
talkol
In reply to this message
Whatever you do don’t give your secret 24 words to anyone :)
t
00:51
tumbler
In reply to this message
Yeah never 😜
CB
10:42
C B
is there any company offering FunC audit services that could be really trusted and provide diligent results?
10:42
If not.. is there a place an open source audit bounty could be posted?
10:42
How could I reliably calculate gas fees?
10:42
I did some light searching and couldn't find a clear answer.. (I'm sure it's documented and I apologize for missing it)
10:43
I also missed the list of algorithms being used for hashing/signing and encoding
d
11:12
defuera
In reply to this message
Google is your friend.
Also docs https://ton.org/docs/#/func/overview
BN
13:07
Behrang Norouzinia
In reply to this message
Hey, I tried it and it just shows a "loading" result.
MO
13:59
Markо Okhman
M
Mark Okhman on TON 08.10.2022 13:58:46
Hello guys, published a lecture from TONANA hackaton by Oleg Andreev. Enjoy the watching 🙂

https://www.youtube.com/watch?v=oEO29KmOpv4

Contents:

0:00 - Intro
0:53 - Multi-blockchain actor model of TON
4:10 - Custom tokens implementation in Ethereum
7:35 - Proper implementation of custom tokens in TON
15:41 - How do we lock jettons?
20:41 - A concept of auctions for TON jettons
21:46 - One source of truth on user's jettons ownership
27:30 - Scalability vs Decentralisation trade-off
28:46 - TON API helping developers make sense of TON blockchain
31:25 - New concepts by TON API team: TRACE, EVENT, ACTIONS
37:45 - Q&A Session
1:05:38 - Takeaways
BN
14:46
Behrang Norouzinia
In reply to this message
Beware!

This must be another phishing attempt. Looks like someone has bought the searching.ton domain and sent a phishing message here. I tried to test it, then after my feedback, someone sent me a message that looked like a support staff from Ton community. After a few message, they asked me for my wallet to fix the problem. After I asked why, they deleted the chat.

Edit: I was wrong about searching.ton itself, but phishing attack was real.
s
14:53
searching.ton
In reply to this message
Nobody can buy searching.ton domain.

Where did you receive this phishing message?
In telegram?
BN
15:11
Behrang Norouzinia
In reply to this message
Why can't anyone buy it?

Yes, in telegram, after my message here.
s
15:13
searching.ton
In reply to this message
Because domain is nft, and it do not under sale.
BN
15:16
Behrang Norouzinia
I know, that's for sure for any other domain which I can open a site.

So you are telling me that you are legitimate, searching.ton is valid and not a phishing site, and that the user contacted me was doing a phishing on his/her own, who saw my message asking about searching.ton as an opportunity?
15:20
In reply to this message
It's working now.
15:20
Anyway, feedback:

Using the browser back button, does not update the search field, but updates the results.
s
15:21
searching.ton
http://searching.ton is absolutely valid!
All official telegram links are posted in site’s footer.

Any other accounts are phishing accounts.
And we do not write in private messages first.
BN
15:26
Behrang Norouzinia
In reply to this message
Okay, I must admit that I come to a conclusion too quickly, and I'm sorry. The site was not working at the moment and the phishing attack at the same time, pushed me to think that searching.ton is not legitimate.
SF
15:28
Slava Fomin
Be advised. People with fake profile verification checkmarks will be banned from the chat.
o
15:37
oxlti.qube
Does TON Proxy work with Mobile Cellular on iPhone?
s
15:45
searching.ton
In reply to this message
Yeah, got u.
Thanks for report)
SF
21:44
Slava Fomin
In reply to this message
It doesn't matter if it's cellular or not, any type of Internet connection will suffice as far as you have the proxy implementation for your platform (iPhone in this case).
M?
21:50
Marshal 🦁
In reply to this message
Ig he asked about the proxy setup in iOS settings. There is no option to set the proxy for cellular. Only per Wi-Fi connection, you know. The system-level proxy is available only for controlled iPhones via MDM (as I know)

So ig he asked about how he can bypass it and get access to ton network
SF
21:55
Slava Fomin
In reply to this message
Gosh, that's awful. Yet another reason to dump the iPhone 😁
o
21:55
oxlti.qube
In reply to this message
I know it, but how to setup proxy on iPhone cellular?
M?
21:57
Marshal 🦁
In reply to this message
Yeah. Tbh I don't know how to get access to the ton network from cellular too) I am thinking about a VPN-like app that must be published on app store. I am not sure if is it a solution. Need to dive deeper
o
22:00
oxlti.qube
In reply to this message
Also, when using TON Proxy trough iPhone, other sites don’t open, but on my MacBook I can.
M?
22:01
Marshal 🦁
In reply to this message
It’s because on macos you can enable proxy only for http
22:01
The proxy setting of iOS also catch all https traffic. It doesn’t work at all with rldp http proxy
o
22:01
oxlti.qube
In reply to this message
I know, but can I enable it for iOS?
22:04
I hope, soon there will be .ton explorer without TON Proxy access, so user can browse TON Network without proxy easily (searching.ton don’t solve this problem)
t
22:04
torsion
In reply to this message
Use Firefox and extension FoxyProxy
M?
22:13
Marshal 🦁
In reply to this message
Are you sure about browser extensions on iOS? *not for Safari
t
22:31
torsion
In reply to this message
At least it works on Android. Ig it should work on iOS too
M?
22:31
Marshal 🦁
In reply to this message
We don’t have any browser extensions for not Apple browsers on iOS 😅

Ref: https://mzl.la/2duGEDd

Also I double checked it by installing ff on my phone
t
22:33
torsion
Oh that's unfair
22:33
Are there extensions on Safari on iOS?
M?
22:34
Marshal 🦁
In reply to this message
Yeap. Idk about proxy ones

Ad blocker exists
Web dev tools exists
SF
23:33
Slava Fomin
In reply to this message
^
AS
23:33
Artemiy Shirokov
Hi, guys! How can I generate a string that depends on a variable of type int in Func? For example: "My value is {x}".
9 October 2022
N
00:24
Nomam3e
In reply to this message
Usually strings are stored in slice structure as ASCII chars, so just put your value in the slice, if you want to store an integer, you should convert it in ASCII chars before storing. Btw " " doesn't exist onchain, you can use it only while coding your contract, it converts to slice automatically
AS
00:33
Artemiy Shirokov
In reply to this message
Okay, thanks! I thought about this approach, but I hoped there was an easier way.
CB
04:12
C B
I really need help finding exact signing, hashing and encoding details
04:12
I'm looking for the specific algorithm being used
04:12
Is it standard stuff or homebrew
C
09:00
Cop
Do you have any information about Ton-Storage?
n
09:29
n3ko_sempai
I deploy a jetton wallet correctly . but when i try to make
toncli get 
, i get an error. Is that normal or i have a bad configuration in the dependencys .
09:30
Captura de pantalla de 2022-10-09 02-25-54.png
Not included, change data exporting settings to download.
43.0 KB
A
13:57
Alex
In reply to this message
It’s not released yet
HW
14:35
Hemi Weingarten
In reply to this message
According to the TON PRIMER (https://ton.org/primer.pdf, Nov 2021):

“TON Storage is a distributed file-storage technology accessible through the TON
P2P Network. Think a better version of Dropbox for simplicity. This torrent-like
technology relies on smart contracts for availability and has a strong potential with
regard to storing and exchanging large amounts of data.”

This is just one part of the bigger TON vision of a distributed, decentralized, censorship free web3
M
14:54
Matt
Not sure how much the implementation might be similar to storj.io but this page might offer some insight into how decentralized storage can be implemented https://www.storj.io/how-it-works
14:55
(Storj has no association with Ton, it’s been around for a few years now)
C
14:57
Cop
thankyou
M
15:55
Matt
In reply to this message
hey Tal. I’m reviewing these notes you made a while back about a possible approach to hold ton coin. i’m wondering what exactly is it about ton-offline-transaction that makes it safer than a hardware wallet? 🤔
AS
15:57
Artemiy Shirokov
Hi, can I update the code of an already deploed smart contract?
D
16:01
Dario
In reply to this message
If the smart contract has set_code, yes
d
17:04
doni
In reply to this message
at the moment there is no official hardware support
M
17:06
Matt
In reply to this message
Right, I’m aware of this as well. I meant a hardware wallet for other cryptocurrencies
d
17:19
doni
well this ( offline transaction )method generates a signed transaction,

so the transaction it self including the arguments ( destination, value , body ) is generated on a clean environment … so it has some benefits in comparison to hd wallet …


for example a malware can manipulate the arguments before the hd wallet signs the transaction, ( in uniswap you can add a field that will send the funds to another adders after the swap)

so it would be very hard for the user to understand what he signs on …

using the offline transaction solution eliminates this attack vector (malware) by using tails os …

other than that i think they are very similar
M
18:06
Monster media
Hi.If I create a Jetton coin could it be pegged to a fiat or Cryptocurrencies?
SF
18:09
Slava Fomin
In reply to this message
Why not? )
WD
18:34
Weird Dude
I followed these instructions to build func, fift, tonlib, lite-clitent, etc from source. I successfully built those but those executables are not added to path. How can I make them accessible in terminal like:


$> func ...
18:35
where can I find built executables?
d
18:39
doni
for what os ?
18:40
might help
WD
19:00
Weird Dude
decided to use toncli and it seems ok
M
19:29
Matt
In reply to this message
Ah I see… so when someone has a hardware wallet, they don’t create a transaction on the wallet? They create it on their own computer or something like this?
SF
20:16
Slava Fomin
This will only work if you can verify all the transaction details at the time of it's signing inside of the isolated system.
20:17
Otherwise the compromised external system can send spoofed transaction details to the isolated system and it will sign them without a second thought.
20:18
However, the hacked external system won't be able to steal the private key, which is good, but obviously not enough.
rj
22:51
ron jb
hi guys, is it possible to use tonconnect to connect existing wallet? i runned the server-sample and /authRequest is retuning session and session_payload,,however /tonconnect is returning error{}

i have no idea where to use my wallet id to connect..
running the root / shows login by link after clicking the link its just a deadend
10 October 2022
n
02:33
n3ko_sempai
What is the wallet version used in TONhub?
d
08:18
doni
v4
x
10:48
xyz
Hey I am new on TON and FUNC ... can anyone provide me any link or guide to start with ?
t
12:43
talkol
In reply to this message
There is no official hardware wallet for ton yet. There are two unofficial ledger implementations that were not yet approved by ledger team. I normally don’t like to install custom software on my hardware wallets. Also, I’m not a fan of ledger in general.

Using an offline laptop gives you total control and you only rely on popular standard ton binaries that are widely used by the community for a long time
SF
12:45
Slava Fomin
Install some secure version of Linux on a separate encrypted partition and you are good to go :)
t
12:50
talkol
In reply to this message
My personal favorire is Tails (https://tails.boum.org) - boot it from a USB, it’s very privacy aware and starts fresh every time
M
12:51
Matt
I haven’t experimented with ton-offline-traansaction yet, or making a wallet and a transaction, but if/when I do get around to it, one question I’ll be exploring is if it would be possible to just like…. Print the private key, and remove any need for a laptop / machine / hardware disk to store sensitive information
12:51
Curious if either of you have comments on that
t
12:53
talkol
In reply to this message
You don’t have to store the secret key on the laptop. In the scheme described in offline, you can type the 24 words every time you boot the offline laptop. If you use an OS like Tails, it runs from RAM so there’s no persistence in any way once you turn it off.

If you send a cold storage transaction once a week, typing in 24 words is no biggie
12:55
If you’re using it daily, then you need a hot wallet solution and separate your funds into a day to day account and cold account
M
12:55
Matt
So like…. Let’s say I have the 24 words written on a piece of paper in my bag and I travel halfway across the world without any of my personal devices or laptops, and on the other side of the world, I set up a completely new laptop / device, I’ll be able to make transactions from my cold storage using just the 24 words?
t
12:55
talkol
Yes
12:56
You need some common tools to save you some time.. for example a USB key with Tails installed and the public files in offline repo will save you a lot of headache
M
12:56
Matt
So really the separate offline laptop only needs to be fresh and offline for the setup of the wallet then 🤔🤔🤔 (let’s say in this scenario the person doesn’t care to make any transactions from the wallet at all, for another 5 years)
t
12:56
talkol
But these files are public, even if you lose this USB it will just take you a few hours to download them all again
M
12:57
Matt
Once the setup has been done and $$ has been deposited in, there’s no need for the separate offline laptop anymore
t
12:58
talkol
In reply to this message
True, you can jump to a new laptop at any time. Or if you’re less paranoid, you can go to an Internet cafe and boot their laptops from the USB. Unless the hardware was tampered with in some way, it’s still secure
12:59
But if you’re traveling, I would just use my iPhone to be honest
12:59
Unless you’re an exchange holding millions of dollars, iPhone is secure enough :)
M
12:59
Matt
That’s interesting that a set of a mere 24 words is secure enough. Intuitively it doesn’t feel right haha
t
13:00
talkol
That’s not only TON, that’s all crypto for you :)
13:00
Practically every crypto wallet in existence in any protocol can be reduced to 24 words or less :)
13:01
This very cool offline HTML website will let you take the words and convert them to a private/public key pair in almost every crypto protocol
13:07
The words are just a way to easily remember a binary bit secret.

Let’s say the words are from a dictionary of 2048 allowed words - this means every word encodes 11 bit (the word is an index in a well known word array).

So 24 words encode 264 bit (24*11). Private key strength is proportional to the key length. A key length of 256 bit is considered secure enough by any means, so this leaves 8 bit for a nice checksum normally.

Just to wrap your head around 256 bit keys - if someone was trying to brute force and guess your key, they would need to try 2^256 combinations.

This number is so large you can’t comprehend it - there are less than 2^256 atoms in the universe. So it’s like hiding a specific atom in the entire universe and the attacker needs to guess which atom this is 😂
D
13:10
Dario
In reply to this message
you can buy a pinephone as an alternative "hw wallet"
13:10
you can install debian stable, keep it offline and install any kind of wallet inside it
M
13:13
Matt
I think what I miiiight end up trying to do is ya, set up a wallet on a separate offline machine, and then store the 24 words on this thing haha https://shop.ledger.com/products/cryptosteel-capsule-solo
13:14
I could maybe find a cheaper way of keeping record of the 24 words, but I like that it’s metal (can’t get ruined by water or fire as easily) and it’s also just kind of badass haha
t
13:14
talkol
In reply to this message
I hope this is just an experiment for fun, no standard personal usage would normally warrant going to all this effort :)
M
13:16
Matt
In reply to this message
It’s not necessary or worth it to set up a cold storage wallet to store a significant amount of funds? I thought that was kind of the whole point 🤔🤔
t
13:17
talkol
Only if you’re holding a lot of money, normally only if you are some organization like an exchange or a very big whale
M
13:18
Matt
So let’s say it’s not _that_ much funds then. What would be the advised approach then? The second most secure option?
t
13:18
talkol
Regular people write their secret words on a piece of paper and put it in a safe place and check it once a year to make sure it’s still there (the paper).

You can also keep the wallet installed on 1 extra phone for backup so even if the piece of paper is lost, you have 2 phones that hold the wallet and you can move the funds to a new wallet
13:19
If you use an iPhone with FaceID and findmy installed, it’s pretty secure and convenient. I wouldn’t go to more trouble than that
M
13:20
Matt
In reply to this message
Ah so a lot of people are comfortable storing some of their savings that are in crypto in a wallet that’s on their phone they use every day?
13:20
It’s good to know I maybe don’t need to be that paranoid, but for good measure I probably would still make the wallet inaccessible on my daily phone haha
t
13:21
talkol
If you’re a bit more paranoid you can buy a hardware wallet but with ton is a little premature
13:21
You can also use a custody service if you’re willing to trust a “bank”-like entity with your money
M
13:22
Matt
In reply to this message
I don’t think I am. Especially with how young the ecosystem is, obviously it’s different when it’s a bank that’s been around for decades and decades and millions and millions of people in the country use it and the government has big eyes on their affairs
13:24
In reply to this message
Ya exactly so since there’s not really a hardware solution, it makes me consider ton-offline-transaction. I think if there was a hardware solution, that’s maybe what I would go with, but still, you have to trust what ledger with their device to some extent
13:24
Obviously if I try do it all myself there’s a risk I might do something wrong at some step, so that’s a risk I acknowledge if I try to do a more find controlled approach
t
13:25
talkol
Then my recommendation to you is either a ledger and trust the unofficial ton integration or an iPhone with FaceID and FindMy and trust Apple that their hardware security is good - it should be enough against anything below state agents (they can hack iPhones remotely).
13:26
There’s a plus with a phone that you know immediately when you lose it. It’s hard to unlock it without your face and you can erase it from remote.
M
13:26
Matt
In reply to this message
And if it’s an iPhone that would be with the use of an app like Tonkeeper or Tonhub right? (I’d probs pick a non custodial wallet)
t
13:26
talkol
Yeah
13:27
You trust the company that makes the app like you trust Ledger to make the hardware device
M
13:27
Matt
Ok….. that recommended approach is really really really good to know and really helpful and something I’ll absolutely keep in mind 🤔🤔🤔
13:27
In reply to this message
Right. Understood 🤔🤔
13:30
So hypothetically I could just create the wallet in Tonkeeper, get the 24 words, and then remove Tonkeeper from my phone. I believe that to be an option as well (if I want to prevent anyone from being able to access my wallet through my phone and use that product I linked above)
t
13:30
talkol
With the iPhone approach the attack vector that would concern me the most is that the app developer would be hacked and you auto update
13:30
So turning off auto update is a good solution ;)
M
13:30
Matt
I think if I grab the words and then delete the app I’d be less prone to that attack vector
t
13:31
talkol
In reply to this message
You still install the app every time you need to make a transfer
13:31
Keeping an old copy of an app you know is secure is probably better
M
13:32
Matt
Which I don’t anticipate will be very often at all (doing transfers). In this scenario it would be an investment in the ecosystem as a way of potentially trying to profit off any ways I might decide to try contribute to this ecosystem. ie long term investment
t
13:36
talkol
In reply to this message
A fun community project can be to tweak ton-offline-transaction to work on pinephone. Turn off all WiFi and 3G. Make convenient offline HTML UI to enter words and transaction details so it could sign. And display the signed transaction as a QR code on the screen.

Then create a website that uses your online computer camera to
take the transaction from the QR and transmit to network.

It’s a pretty secure setup and also can be made very convenient. Ton-offline-transaction repo has 90% of the things I listed here
M
13:37
Matt
Huh! Interesting 🤔🤔🤔🤔🤔🤔🤔🤔
13:37
How do we feel about the OS that comes with pinephone?
13:38
(I’m guessing it comes with one pre-installed)
t
13:38
talkol
In reply to this message
I personally don’t have experience with it at all
D
13:39
Dario
In reply to this message
pinephone comes with no-os (community versions cames with os like manjaro etc but it can be easly replaced). its a very secure hw (it has even hw switches to disable camera,mic etc) as long you know what you are doing
M
13:39
Matt
In reply to this message
The website that takes the transaction and transit it to the network, I guess that could be a telegram bot too
13:43
I’ve never used android or pinephone so I don’t have any familiarity with what it’s like to open local files and run them locally on mobile since we can’t do that on iOS haha
13:44
Though I’m sure it’s something I could get familiar with very easily if I end up deciding I want to 👍
D
13:46
Dario
In reply to this message
***this will never replace an hardware wallet like a ledger, its just an interesting device to play with, do not take my words too seriously if you want a really secure and long term device to store your priv keys
M
13:48
Matt
No worries haha. I understand, I won’t come after you personally, all decisions are mine at the end of the day haha
t
13:52
talkol
Matt since you’re asking so many questions and this knowledge is good for community retention.. maybe ask it also on answers.ton.org and take the answers from this chat and add them there?
VT
13:53
Vladimir Tamara Patiño
I use my own distribution of OpenBsd called adJ. I have ported ton tools to it: https://github.com/pasosdeJesus/adJ
t
13:55
talkol
t
talkol 28.09.2022 23:04:35
I want to announce that we're doing a soft launch for a pilot on the new community Q&A site that shamelessly copies StackOverflow!

https://answers.ton.org

I'm a big StackOverflow fan and we did a pilot for TON Q&A on SO that ended badly (our questions were deleted). We had to move to a self moderated solution. Read more about this experience here.

I volunteered to push this forward and run a pilot for a couple of months. We'll decide if this platform is good enough to stay after the pilot. Please use it and give feedback (or better, help me improve it).

@slavafomin and @dani_goose are helping me moderate, if you want to volunteer, please DM me.
M
13:56
Matt
In reply to this message
I was thinking about how this is all very very useful information too haha. You feel it’s ok for a question to be on there that pertains more how to hold ton, rather than anything more specifically related to development with ton technologies?
t
13:57
talkol
In reply to this message
A question like why are the 24 words safe are asked by developers all the time, it’s good to show the math. Also how to hold hardware also relevant for people developing on ton - I thinks it’s on topic
M
13:58
Matt
If I end up contributing anything to that forum based on our conversation, maybe I’ll run some possible questions by you first before attempting to post them and answering them
t
14:02
talkol
In reply to this message
Don’t worry, I’ll edit and fix there, don’t be shy, add like 4-5 questions 💪
14:02
Too much knowledge never hurt anyone
M
14:03
Matt
Haha alright 😛😛 noted!! 👍👍👍
14:44
In reply to this message
Depends on the country though and your luck... it is easy for state thugs to hold the phone to your face, even kidnappers, or, thug gangs on the streets of england. I'd not rely in such situation on FaceID but a long alphanumeric password. That you can and will forget when under pressure)
16:12
A funny aside and I’m sure it applies to many testers I know @krimon can to: after a while using the same wallets you can remember the 24 words. Especially if you break them into blocks of four and use imaginative mental triggers as the words will flow and have some relation to each other. Some six year olds can memorize the entire Quran so it shouldn’t come as any surprise. @matt7381 you can try memorizing them if you travel and split them into four sheets of paper in different places with six words each and write the first 4 letters of each each word only and backwards in capital letters and/or add the next letter of the alphabet as a simple transposition cypher!)) if they really torture you it may be worth finding your memory or the papers. After all if the authorities find these papers they may think you’re a secret agent 😂
M
16:19
Matt
Earlier this year I couldn’t get into my iPad cause I memorized my passcode so well it was ingrained into my muscle memory and when my muscle memory messed up, I couldn’t actively recall my passcode haha

Anyways this is a bit off topic and I don’t wanna annoy all the folks who follow this channel so if you wanna chat further let’s chat in dm 👍
M
17:01
Matt
ah, love that I can log into answers.ton.org with github. perfect 👌
17:06
this is definitely one of the better q&a sites i’ve seen. i’ve seen so many other ones out there that are so much worse. i’m impressed 👍 surprised i haven’t heard of scoold before, i wonder if it’s more popular in Europe (i’m based in north america)
t
17:26
talkol
In reply to this message
We started importing questions from the Telegram chats and left them without answers so the community can start answering 💪
h
17:56
hi
Hey guys, maybe some of you know how I can run my local node and synchronize it so that I can make http requests to it and get information about blocks/transactions?
d
21:00
doni
one way to do it is to run you own full node

https://www.tonspace.co/participate/nodes/run-node/

and on top of that you need to run

https://github.com/toncenter/ton-http-api

with a config file that was generated by your full node ( checkout to http api Readme )


if you prefer not to run a full node , you can just use toncenter.com but it has a rate limit (
21:00
In reply to this message
☝🏻
11 October 2022
T
06:48
TON Society
In reply to this message
Hi, TON Society will very soon announce an Audit Fund for projects developing on TON. Qualified audits will receive subsidies for services from firms such as Quantstamp and Certik. Stay tuned! @tonsociety
DC
09:22
Daniel Cooper
Really interested in this, where will this process be launched from? Been subcontracting audits for a variety of firms now. Been working hard on getting my head around FunC with some TON projects so would love to be in the mix with this one.
T
09:38
TON Society
In reply to this message
Please follow @tonsociety for details to come
DC
09:55
Daniel Cooper
Ok great, already there 👍🏻👍🏻
V
13:43
Vitaliy
Hi! Is there anyone from India? I'd like to ask a few questions regarding the Indian crypto market and media.
JP
16:06
Jitendra Pal
In reply to this message
what you want to know?
SF
19:15
Slava Fomin
In reply to this message
Hello. This chat is for engineering questions only.
SF
19:57
Slava Fomin
In reply to this message
Are you using this API?
19:58
screenshot-github.com-2022.10.11-19_58_03.png
Not included, change data exporting settings to download.
179.1 KB
Make sure you specify this item ^
RG
22:09
Ruslan Gabdullin
Docker for rldp-http-proxy
- Building binaries from ton-blockchain specified branch.
- Generating new adnl key.
- Running proxy in Docker container.
- Works with service running on localhost:80.
P.S. Please, report if something doesn’t work.
https://github.com/kdimentionaltree/ton-proxy-docker
12 October 2022
i
09:03
isoscele 💎
How contracts can trigger actions when some time elapsed? for example How's auction works when it ends? Is auctions source code available?
DS
09:50
Daniil Sedov
In reply to this message
They're triggered when someone call a method
AM
12:06
Arash Mousavi
Hello
Im a Solidity developer and I want to deploy contracts on your network
Can you help me?
An example of dapps developed by our team
https://etcplanets.com
on the ETC network ( ethereum classic )
MO
12:10
Markо Okhman
M
Mark Okhman on TON 12.10.2022 12:03:47
Another interview from Prague hackathon. Had a great time with Roman talking about alternative developers documentation, TON footsteps and future of TON.

I hope you get some valuable info from this!

https://www.youtube.com/watch?v=Yu64w957mZs
MO
12:10
Markо Okhman
Hey guys! Specially for those who didnt have a chance to attend Prague hackathon and for everybody else - sending here my talk with Roman Krutovoy from TON Foundation 🔥
M
12:38
MrRed.eth
Hi guyz :) I read the new standard about soulbound token issued by TON, is there someone who can give me more info?
RK
13:46
Roman Krutovoy @work
In reply to this message
i
13:47
isoscele 💎
In reply to this message
so it remarks the fact that the only stimulus a contract can have are internal and external transactions?
DS
13:50
Daniil Sedov
In reply to this message
There are also tick tock transactions but they're expensive and only work on master chain
M
13:53
MrRed.eth
In reply to this message
thanks mate!
i
13:54
isoscele 💎
In reply to this message
Where can i read about them?
DS
13:54
Daniil Sedov
In reply to this message
In whitepaper
i
13:54
isoscele 💎
In reply to this message
Ok! thank you! 👍
t
13:58
talkol
The normal behavior in an auction for example is to require the winner to claim their tokens after the auction ends. So the winner will trigger the last transaction after the end
14:01
Another auction approach I’ve seen is to start the auction from a high price and have it reduced over time and then the first bid wins and claims the tokens on the bid transaction. This is used for example in Axie Infinity - one of the most popular NFT games that has hundreds of millions in sales
T
14:55
TON technical overview
T
TON Status 12.10.2022 14:54:37
A recent update to FunC introduced a bug related to the optimization of some expressions involving the bitwise NOT ~.
Please update your FunC compiler from master.
i
15:00
isoscele 💎
In reply to this message
This is some sort of "reversed auction" where the price slowly decreases but i see it as the problem is still there. The price decreases "overtime" and the ton auction end are same problem. I don't see where the trigger could be other than some stimulus to the contract from outside. It requires some sort of external management to proc data change. Why aren't timers a thing in general in blockchain? having same lt and sharing a state shouldn't it be enough to create events contract can attach to?
D
15:01
Dr. Awesome Doge
In reply to this message
Only the func compiler needs to be updated.
Validators don't need to be nervous. Ha ha
t
16:06
talkol
In reply to this message
External stimulus is helpful but not required in most cases. There’s no problem to end an auction without a trigger: On every bid transaction check the time (auction is not over) and if bid is highest, mark as winner. On claim transaction, check the time (auction is over) and if winner, send the tokens.

The reason most blockchains like the transactional approach is that it’s much easier to deal with fees this way. And fees are a way to fight spam.

There are external stimulus drivers for blockchain but they are usually external entities that are not part of the core protocols. Keepers is a good example of this, also my project Orbs is doing something very similar.
i
16:31
isoscele 💎
In reply to this message
From a practical prospective of smart contract, isn't the must of doing a transaction everytime to change contract state too much? For example let's say a smart contract should give 10 ton on 10 successive iterations every 10 days. It's impossible to do on blockchain alone right? There should be someone (also internal) that gives "life" to smart contract remembering him to update his state. Same thing happens for dns ownership refresh i guess
D
16:41
Dario
Hi guys. Am I wrong, or official docs (https://ton.org/docs/#/func/stdlib) is wrong about currency? store_grams/load_grams should be in the range 0...2^120-1, not 0...2^128-1
f
17:05
firstname
hi guys.does @wallet have an API for the p2p market?
13 October 2022
A
12:56
Alex
Hello guys
can you please help me how i can decode data from tx?
with tonWeb?
D
12:57
Dario
In reply to this message
ask this here: https://answers.ton.org/
s
13:01
shahar
s
shahar 13.10.2022 12:57:03
💎 Announcing support for discoverable jettons in jetton.live! 💎

https://jetton.live/

Starting today, new jettons deployed with jetton.live will be using the new Discoverable Jetton Wallets standard (TEP-89), meaning that jetton wallet addresses can be queried with an internal message.

This is useful, for example, for DEX liquidity pool contracts which need to become aware of their jetton wallet address.

If you already previously deployed a jetton, we will soon offer a migration path that will allow holders to migrate their jettons to the new implementation.
s
13:22
shahar
this is already the case
13:22
tonkeeper has support jetton.live jettons for a while now, and the latest tonhub version also supports them
t
13:45
talkol
The reason for the delay in showing in some wallets was that jetton.live stores token metadata on-chain (more secure). But this wasn’t supported initially by all wallets. But it is fully supported now
s
15:01
shahar
Hi, where can I find documentation on Boc headers?
specifically, I wonder in which case there would be more than one root cell

(https://github.com/ton-community/ton/blob/84c0562f92aafdc16c59bcf04f4e09d2753eade2/src/boc/boc.ts#L156)
K
15:13
Kira 🇮🇳
In reply to this message
Yes I am from India, and have been involved in various crypto projects
?
17:28
💎 Yang 💎
In reply to this message
So cool
SF
18:58
Slava Fomin
In reply to this message
Hey! What do you mean by "data from tx" exactly?
&2
21:58
&rey 2ne:v
In reply to this message
I'm building timer that works on TON without any external messages so it would be considered reliable 🙂 As well, I hope there will be a lot of users so prices could be lower than for self-hosted timers.
i
21:59
isoscele 💎
In reply to this message
Now I'm curious 👀
&2
22:01
&rey 2ne:v
In reply to this message
I think prices will be greater than 1 TON/h (otherwise someone could schedule a message to 2106 year, and timer would have to work all of this time), but for certain price will be less than 10 TON/h.
i
22:05
isoscele 💎
In reply to this message
Could you explain the idea?
&2
22:06
&rey 2ne:v
In reply to this message
The timer sends message to itself to keep working.
Straightforward implementation uses too much TON, so there are some tricky optimizations, secret until timer releases 😄
i
22:07
isoscele 💎
In reply to this message
Woa! So you auto-proc internal transactions on every blockchain block?
&2
22:09
&rey 2ne:v
In reply to this message
Yeah) But if contract would just send message to itself, it could process a lot of messages during one block.
i
22:09
isoscele 💎
In reply to this message
You can actually work around async messages time to proc multishard messages so you have less fees right?
22:10
That way you could take advantage of time to travel of message in an interesting way 😲
14 October 2022
MO
00:45
Markо Okhman
does anybody know if this explorer has testnet? https://explorer.toncoin.org/
A
00:50
Amin
In reply to this message
I think this should be it:
https://test-explorer.toncoin.org/
Take a look
MO
00:51
Markо Okhman
oh, man, thanks a lot!
i was trying "test", "testnet" subdomains, that feel more common)))
A
00:53
Amin
In reply to this message
you're welcome!
yeah, it's confusing :))
&2
05:17
&rey 2ne:v
In reply to this message
I also have a different idea to reduce fees)
A
14:35
Alexander
Does jetton.live support testnet? If so, could anyone point me to a right url? Couldn't find any info in README :(
i
14:38
isoscele 💎
In reply to this message
You made me realize we can use smart contracts in other interesting ways. Thank you for your prospective !
SH
15:39
Seitaro Higuchi
In reply to this message
You may find this interesting https://github.com/EmelyanenkoK/ton_scheduler
?
17:14
💎 Yang 💎
In reply to this message
Awesome
VK
18:40
Vlad Kruk
Hello everyone, are there any reliable Ton wallets that sync with Telegram that would allow you to connect via API to exchange currency for TON by sending them to certain wallets, with the ability to create a wallet for a new user?
AG
18:57
Alex Golev
In reply to this message
Do you mean 3d-party payment service like this? https://help.crypt.bot/crypto-pay-api
RG
22:06
Ruslan Gabdullin
In reply to this message
If something don’t works with this Docker, feel free to DM me😊
15 October 2022
n
01:19
n3ko_sempai
In reply to this message
I think you have complicated the explanation too much. Maybe what you want is simply to exchange other critptos for ton on telegram. In that case it does exist.
VK
12:38
Vlad Kruk
In reply to this message
I have a product, an online wallet, for content creators. The authors have the opportunity to withdraw money in 7 top cryptocurrencies. We would like to connect also the possibility of tone output. So that we send a request with USD or EUR and user identification data, and in response receive replenishment of the user's account in TON. What is can be?
S
13:06
Silvio
In reply to this message
Send a request to the CoinMarketCap API for the TON price, and then divide the dollar amount by the TON price to get the TON amount.
o
15:05
oxlti.qube
In reply to this message
Very unsecure method to use CMC API, one bug and service will go bankrupt.
Few weeks ago we created the first TON oracle which is currently singlenode (for services it’s a good option to run its own node)
15:06
In reply to this message
https://t.me/tondev_eng/11564

If you need support ask me.
17 October 2022
zz
05:10
zz z
05:11
hello the validator.service can't run,how can i fix
А
09:51
Андрей
In reply to this message
You need to find out why the service is crashing. To do this, look at the logs of the node:
tail -f /var/ton-work/log.thread*
zz
10:03
zz z
In reply to this message
thanks is solved
10:12
How to support index/getTransactionByHash for nodes that i run
RG
12:58
Ruslan Gabdullin
In reply to this message
You should host this service: https://github.com/toncenter/ton-indexer
ST
13:25
Sajjad T
Hi
According to what I read, the Polkadot ecosystem has long wanted to be a blockchain to connect other blockchains, and Toncoin has the same plan.
If you want to have a comparison between these that have the same function and style
Which are the closest competitors to this system?
What are your advantages over others?
Im from Iran
sajjad
o
13:47
oxlti.qube
In reply to this message
The main difference is that TON aims to develop an ecosystem around workchain and masterchain, while Polkadot's goal is to unite blockchains regardless of the hub. for example, the entire TON ecosystem revolves around the main workchain, while the Statemint parachain (analogous to workchain 0) doesnt have a major role in Polkadot ecosystem. Moreover, all developments are for the convenience of building projects on TON, while Polkadot / Cosmos has a goal to create blockchains on their core (Tendermint, Substrate)
RK
13:48
Roman Krutovoy @work
In reply to this message
TON is more than blockchain — it's more about decentralized internet with many services relying on the blockchain. See video here:

https://www.tonspace.co/participate/web3/overview
M
14:40
Matt
In reply to this message
Cool video. I’ve never seen it before 👍
መአ
18:01
መሀመድ አወል
Hi
RK
21:26
Roman Krutovoy @work
Hey guys, I've finished an updated article about transaction fees. I tried to describe concepts as simply as possible.

Will be happy to hear your feedback!

https://www.tonspace.co/develop/smart-contracts/fees
18 October 2022
zz
04:08
zz z
In reply to this message
thanks
OB
17:33
Oleg Baranov
New version of TON golang library 💎 tonutils v1.4.0

1. Added GetBlockchainConfig method
2. Added GetTime method (by @kosrk1)
3. Parse block header and parents (by @kosrk1)
4. Block parsing tags fix (by @kosrk1)
5. AtBlock methods for data getters (by @iam047801)
6. String() method for wallet version (by @iam047801)
7. BoC serialize optimized a bit (by @f_closer)
8. Improvement for block-scan example, scan skipped by master blocks
9. Optional response address for NFT Transfer
10. Deploy NFT collection example - common content fix

https://github.com/xssnick/tonutils-go
19 October 2022
RK
13:40
Roman Krutovoy @work
Survey for TON developers 💫

Developers in the TON ecosystem may experience some problems reading the documentation because it is written in a complex language, often lacking examples or materials on essential parts of the TON blockchain.

The goal for the TON ecosystem is to create next-generation documentation accessible to everyone: both beginners and experienced developers.

To achieve it, we decided to collect feedback from the community. So we kindly ask all members of our community to share their experiences through the survey.

It consists of 10 questions and will take no more than 5 minutes.

Participate in the survey:
👉 https://tondocs-survey.paperform.co/
MF
15:00
Muhammad Fassih
Hi! I am getting this specific error when I am trying to send ton to an address on testnet

error: 'LITE_SERVER_UNKNOWN: cannot apply external message to current state : Failed to unpack account state'

Kindly, someone help me understand what I am doing wrong
15:03
I have added 2 Ton from testnet bot in both the sender and receiver accounts
&2
15:36
&rey 2ne:v
In reply to this message
Have you deployed that contracts?
NK
15:40
Nikita Kuznetsov
Hi all!

I am the developer and maintainer of the OpenMask project. This open-source browser extension is a non-custodial wallet for TON. Not a commercial project.

The basis of the product has already been implemented - Jettons, NFTs, TON Proxy, etc., but there are still a lot of things that need to be done.

The application is written on a modern stack - SPA, Typescript, React 18, react-query in a functional style and uses only public APIs.

I invite all developers who have experience in web3 or want to dive into this area. If you want to join the community and become a contributor to an open-source project, we have created a backlog with tasks that we want to see in our application. Anyone can offer a solution for these problems. We will reward each success contributor with a unique NFT.

The project github: https://github.com/OpenProduct/openmask-extension
and Telegram channel: @OpenProduct

Thank you!
MF
15:49
Muhammad Fassih
In reply to this message
I created both of my wallets from https://wallet.ton.org/?testnet=true.

So, I assumed that they are already deployed on the testnet automatically. For creating tonweb instance, I am using https://testnet.toncenter.com/api/v2/jsonRPC
&2
15:51
&rey 2ne:v
In reply to this message
Wallets are not automatically deployed - their code is unknown until the wallet receives StateInit - usually that happens with an external message asking to transfer TON to some other address.
MF
15:57
Muhammad Fassih
In reply to this message
15:57
I have this in the testnet block explorer. It is not active
15:58
Could you guide me to the documentation to deploy it?
&2
15:59
&rey 2ne:v
In reply to this message
I don't remember well, but you could try await wallet.deploy();
NK
15:59
Nikita Kuznetsov
In reply to this message
You may just send any trancation from it via wallet interface
MF
15:59
Muhammad Fassih
Alright
15:59
Thanks
MF
16:28
Muhammad Fassih
I wasn't able to get it working but it's alright. I just wanted to check how to get hash for my transaction. From what I understand, this way, I will able to get the last transaction hash. Am I correct?


const transaction = await tonweb.getTransactions(address, 1)[0];

const hash = transaction.transaction_id.hash
SF
19:37
Slava Fomin
In reply to this message
Seems like it. But you should remember that only by using address, hash and lt you can uniquely identify a transaction in TON.
t
19:41
talkol
In reply to this message
Are you planning a React Native mobile version of this codebase? I think shifting the efforts to slowly become mobile first is more inline with TON product vision
19:43
I think TON product vision mirrors Telegram’s product vision for user acquisition and Telegram without a doubt is mobile first and desktop second
19:43
I think that’s one of the biggest differentiators from Ethereum
NK
19:44
Nikita Kuznetsov
In reply to this message
Yes, I’m planning to do it

But first of all I would like to find approaches for most useful features

And then turn this approaches to mobile
20 October 2022
DS
09:13
Daniil Sedov
In reply to this message
This is TON blockchain related chat, not eth/solana/cosmos.
D
11:52
De Iōḥānān
Hello, everyone. Can you advise/add to the chats(favorites) where are TON smart contract developers? In Russian lang. I want to get to know the community. 🙂
DS
11:55
Daniil Sedov
In reply to this message
11:55
Also @tonsc_chat but it's not that active
D
11:56
De Iōḥānān
Thanks
AT
13:42
Andrey Tvorozhkov
👋. Long story short - tonight I’ve hackathoned python bindings to TVM, so you can play with it in python any way you want. BTW, it’s scaleble and fast 🙂

If I'm the only one who needs it, that's not a problem. It just looks much better and prettier than tonlibjson for this purpose. If this experiment will be successful, maybe we will write more bindings for other things.

PR: https://github.com/ton-blockchain/ton/pull/494
Jupyter example: https://github.com/disintar/PyTVM/blob/master/tvm-python.ipynb
R
15:50
R1SKY
Question. When having a call on tg and sharing screen through mobile, there is no chance to send message because of the mic icon disturb. How to deal with that?
SF
16:55
Slava Fomin
In reply to this message
I'm sorry. This chat is for TON engineering questions only.
A
22:58
Alexander
Hi, I'm trying to deploy test contract but getting this: "Error interpreting standard preamble file Fift.fif: cannot locate file Fift.fif" Any hints?
23:10
just to clarify, I'm on Windows. FIFTPATH specified
23:11
» set FIFTPATH FIFTPATH=E:\ton\crypto\fift\lib
AT
23:12
Andrey Tvorozhkov
In reply to this message
Try to copy libs files directly to folder we're you run code to see if it work

BTW recommend to use toncli ;)
21 October 2022
H
06:54
Hartmann D.
@lele97786 English please.
A
09:06
Alexander
In reply to this message
Actually I'm using toncli
09:10
In reply to this message
I've tried the following:

1. Copied *.fif to the folder with fift.exe (didn't help)
09:11
2. Copied *.fif to the 'wallet' folder (did help!)
09:11
but
09:11
constant copying just doesn't feel right... Is there better way?
AT
09:15
Andrey Tvorozhkov
In reply to this message
Totally agree with you. I'm not windows user, so I don't know how to fix it. If you will figure out what's wrong, please create PR :)

https://github.com/disintar/toncli/issues/14
A
09:20
Alexander
In reply to this message
Sure, will try to investigate more. And thanks!
T
10:22
TON Society
In reply to this message
Hi, please also utilize our Q&A forum
D
14:59
Deny
Hello, I'm new in TON. I get address with prefix UQ but when I check on tonscan my address changed with prefix EQ. Anyone explain this? Or any article can I read? Thanks.
DS
15:06
Daniil Sedov
In reply to this message
Same address can be represented in several ways with some flags, different workchains, different formats etc

https://ton.org/docs/#/howto/step-by-step?id=_1-smart-contract-addresses
D
15:12
Deny
In reply to this message
thank you. But one more thing. I see on tonkeeper, so many variant of the address like V3R1,V3R2,V4R1,V4R2. What different of this ?
DS
15:13
Daniil Sedov
In reply to this message
these are different versions of wallets.
As you may already know, wallets in TON are also smart contracts. so they can be different.

Newest version is V4R2
D
15:16
Deny
In reply to this message
Could coin to send to any version of address? or just same version?
DS
15:20
Daniil Sedov
In reply to this message
Different versions aren't linked between each other, even if you use same private key
15:22
In reply to this message
You can send coins between them without restrictions, because they're all just smart contracts.
D
15:26
Deny
In reply to this message
It means 1 private key have 4 version of address ?
DS
15:27
Daniil Sedov
In reply to this message
It can have any amount of addresses. New version - new possible address

Also if you look at the smart contract code, you'll see wallet_id parameter which can be used to create several wallets for the same private key
D
15:43
Deny
In reply to this message
Ohh i see, thank you very much
SF
16:52
Slava Fomin
This chat is for TON engineering questions only.
AL
17:08
Ab Light
Ok got it thanks
D
17:11
Deny
I generated address from library, I try to insert mnemonic from lib to wallet.ton.org is invalid mnemonic.

I also try mnemonic from wallet.ton.org to library is invalid too.

Anyone to explain this case? Thank you.
SF
17:14
Slava Fomin
Users with fake profile verification checkmarks will be banned from the chat for deception.
C
19:51
ClebersonJrX
Hi guys, is there any platform where I can pre-order my Jetton to raise initial funds for the project?
DS
19:54
Daniil Sedov
In reply to this message
Maybe ton starter
C
19:56
ClebersonJrX
In reply to this message
I will see about. Thx
AK
19:56
Artemii Kulikov
Hello! Where I can view TON testnet blockchain explorer?
DS
19:56
Daniil Sedov
In reply to this message
AK
21:56
Artemii Kulikov
is there a nvim syntax plugin for FunC or fif? 👀
AK
21:58
Artemii Kulikov
In reply to this message
awesome! thanks 🤩
22 October 2022
D
08:56
Deny
Hello, what happens if state inactive?
MO
10:23
Markо Okhman
Hello guys! just published a Q&A session with Narek Abovyan
MO
10:23
Markо Okhman
M
Mark Okhman on TON 22.10.2022 10:19:16
Morning folks ☕️

Sharing with you the Q&A with Narek Abovyan as a follow-up to the first tutorial

We talked with him about:
- variables and cells
- exceptions,
- external vs internal messages
- development stack

Of course, I've juiced up our Q&A with some real code examples.
I really hope you will enjoy watching it and better understand how TON works.

Please share this with other TONanians who are learning FunC ❤️

https://www.youtube.com/watch?v=1cKR22XhPAA
MO
10:24
Markо Okhman
And of course, some more practical tutorials are coming soon 🙂
I post them initially on https://t.me/markokhmandev
S
11:56
Samourai
Hello.

How can I send Ton coin in batches ? What multi sender tool can I use?
Thanks
11:57
Is there's any user friendly tool for Highload wallets
11:59
Saw this on github please help :

https://github.com/akifoq/highload-wallet
D
12:05
Deny
In reply to this message
S
12:07
Samourai
In reply to this message
Please can you DM ? I tried to send you a DM I couldn’t . I am not really good in codings so I DM. Thank you
12:13
In reply to this message
Please send a DM. Thank you 🙏🏿
D
12:20
Deny
I sent to new address but transcation has been bounce to sender. Please help to avoid bounce to new address. Thank you..
c
12:59
cryshado
In reply to this message
You need to set bounce flag in transfer
S
13:11
Samourai
In reply to this message
Please DM.
D
13:29
Deny
In reply to this message
Could you give me example?
D
13:47
De Iōḥānān
In reply to this message
D
13:54
Deny
In reply to this message
So the flag isn’t in to transfer parameter?
C
17:37
ClebersonJrX
Hello everyone. Can someone help me?

How can I get the public address of someone's wallet using the connect wallet option? Is there any document I can read? Thanks
D
17:40
Deny
Hello, I got error invalid_bag_of_cell , anyone know what error mean? Thanks
Y
20:54
Yakitori
Is there any plan for TON to support Solidity?
20:55
I think forks, like FreeTON/Everscale, did it
t
20:55
talkol
In reply to this message
Not anytime soon
Y
20:55
Yakitori
In reply to this message
Because every time I check FunC, I remind myself how impractical this language is for coding defi apps.
DS
20:56
Daniil Sedov
In reply to this message
Why do you think like that?
Y
21:08
Yakitori
In reply to this message
Because with defi you manage money, so ideally everything should be as explicit as it gets, and easily readable.

FunC is very close to the machine, which may be great for performance, but the code is often quite hard to get from an outsider's view.
21:09
OOP is a great paradigm for defi, for instance, because it's easy to understand - which allows easier auditing / verification by the users.
c
21:10
cryshado
In reply to this message
You can use Everscale solidity in old(current) TON, but you need to understand some features to do this, because Everscale has gone far ahead and updated was TVM in ever
21:11
Ever solidity is really cool
DS
21:14
Daniil Sedov
In reply to this message
What about tact language?
https://tact-lang.org/