10 April 2022
KR
20:09
K R
hmm .. How can I become a validator?
F
20:10
F
In reply to this message
You must have a synchronized node and enough coins to stake. Read more here: https://ton.org/validator
KR
20:12
K R
hmm ... ok i can be only node ((
AM
20:55
Aidan Mattrick
Can anyone share a resource that covers or explain the difference between in_msg and out_msgs values when I run getTransactions API request?
S
21:27
Svetly
Anyone know how to bypass the 10 transaction limit in the
https://ton.sh/api getTransaction query?
AM
21:30
Aidan Mattrick
@smetodiev don't think you can on ton.sh but if you use https://toncenter.com/api/v2/ can go higher
21:30
Same calls/endpoints
S
21:31
Svetly
awesome, thanks!
11 April 2022
w
05:22
whale
Is there are any website I can find the proportion of stake of top wallets?
S
09:00
Step
Is it possible to run usdt trc20, erc20 like contract on ton blockchain?
E
09:22
Emilia
Why doesn't TON have an explorer similar to the other big projects where there is detailed information about the number of accounts, the current and maximum number of transactions, the circulating and total supply, the number of validators/nominators and their stakes, inflation, TVL, etc.?
On network status tonmon.xyz, a lot of data are missing and those present do not seem to be up to date.
JH
09:42
J H
In reply to this message
https://tonscan.org/ Do you mean this?
09:44
or one of these?
E
10:35
Emilia
In reply to this message
None of them provides such information. The best one is tonmon.xyz although the data provided are not complete.
JH
10:36
J H
In reply to this message
I got it, you have a very good suggestion.
10:36
Would you like to build it? or asking someone who has a validator to work with?
E
10:40
Emilia
In reply to this message
Unfortunately, I have neither the time nor the knowledge to do this.
Q
11:17
Quangthai
In reply to this message
https://toncoin.tonscan.io/ I think this one is closest to what you're looking for.
E
11:23
Emilia
In reply to this message
This is the TON crystal blockhain explorer, a fork of the original TON now rebranded as everscale https://everscan.io/.
AP
11:24
Andrey Pfau
In reply to this message
Nope. https://toncoin.tonscan.io/ is for our toncoin
11:24
Tonscan.io (without toncoin) is everscale
Q
11:24
Quangthai
Yes, they are running service for both TON and the everscale. The link I gave you are the correct one.
E
11:27
Emilia
In reply to this message
However, the data (number of total account, transactions, circulating supply) reported are not correct.
AP
11:29
Andrey Pfau
In reply to this message
It's correct
Q
11:30
Quangthai
In reply to this message
What made you say so? The information should be correct because it's fed directly from TON.
E
11:32
Emilia
In reply to this message
If they are correct, there is a discrepancy with the data reported by ton.org and coinmarketcap.
AP
11:32
Andrey Pfau
In reply to this message
What is not correct?
E
11:37
Emilia
In reply to this message
Total number of account: ton.org 401k while the explorer 276k. Circulating supply ton.org and coinmarketcap 1.22 G while the explorer 5 G (total supply). Transactions: ton.org 48.9 M while the explorer 204 M.
VB
11:42
Vasilii Burykin
In reply to this message
This is not correct data.

I'm talking about coinmarketcap
E
11:43
Emilia
In reply to this message
Are you talking about the circulating supply?
VB
11:44
Vasilii Burykin
11:44
In reply to this message
This is data from coinmarketcap
11:45
It just shows wallets wrapped in ethereum
11:45
In reply to this message
As far as I understand, now there are 5kkk coins, but 1.2kkk of them are not lost and alive
Q
11:48
Quangthai
In reply to this message
There was an article about this. Coinmarketcap only counts TON in active wallet. Sorry tried to find that article for you but couldn't see it anywhere again.
E
11:50
Emilia
In reply to this message
The only data I took from coinmarketcap is the circulating supply. The other data are from ton.org.
Also why is explorer not in the list of official explorers here https://ton.app/explorers?
Q
11:56
Quangthai
In reply to this message
It should be there
E
11:58
Emilia
In reply to this message
Right. It should be important to have a consistent data across the various sources.
VB
11:58
Vasilii Burykin
In reply to this message
everyone can create an explorer and not all explorers that show the correct data will be on this tab
12:00
In reply to this message
There are 5kkk Toncoins in total.

1.2kkk active or are on wallets that have been created after holders knew that the test network would be real
E
12:03
Emilia
In reply to this message
VB
12:08
Vasilii Burykin
In reply to this message
where to look?
E
12:08
Emilia
In reply to this message
Circulating supply vs total supply vs max supply
w
12:20
whale
toncoin.tonscan.io this one is much better than tonscan.org😂
S
13:17
Step
In reply to this message
???
AS
13:17
Aleksandr Shepelev
In reply to this message
nope, you need to rewrite it and use ton jetton contracts
13:18
they have similar idea, but different implementation
Q
13:38
Quangthai
Do we have a very basic scripts that runs on TON's testnet for newbies and curious guys to learn about TON programming in general from coding > compiling > run?
AT
13:40
Andrey Tvorozhkov
In reply to this message
Have you checked out toncli quick start guide?
Q
13:40
Quangthai
In reply to this message
I haven't, can I have the link please! Really want to take a look.
13:42
In reply to this message
This is what I'm looking for! Thank you!
MH
15:53
Mohammad Hasani
Hello, About the API documentation, How can i create a new address?
I didn't see any example for creation and send transaction. Could you give me a guidance?
SF
16:08
Slava Fomin
In reply to this message
I would suggest to use JavaScript library for this:
https://github.com/toncenter/tonweb

TON JS Examples
MH
16:10
Mohammad Hasani
In reply to this message
I want to use python and django and there is no python SDK, so if you can guide me through the toncenter api, maybe I can develop the python sdk too.
SF
16:12
Slava Fomin
In reply to this message
That would require a deep knowledge in TON. You should start with the documentation and the whitepappers then.
MH
16:13
Mohammad Hasani
In reply to this message
There is no available api just for creation then? Except js sdk.
SF
16:14
Slava Fomin
One of the options is to write a wrapper around C++ TonLib library. That's how TonCenter is working by the way. You can use its source code for inspiration.
AT
16:16
Andrey Tvorozhkov
In reply to this message
Maybe it's easy to implement with toncli
16:17
It use Python and have many features to interact with TON.

You can use it just as module in your python project
16:17
Also soon we want to use only tonlib dependency instead of lite-client / fift / func
RG
16:21
Ruslan Gabdullin
In reply to this message
You could try this one: https://github.com/kdimentionaltree/tApi
It’s a python part of TonCenter for single liteserver. Example is in sandbox.ipynb
SF
16:22
Slava Fomin
@tvorogme maybe you could write a small newbie guide for python developers? So we could share it with all the new people who's askin'.
AT
16:23
Andrey Tvorozhkov
In reply to this message
Quick start guide with all installation process in Linux / Windows / Mac (m1, intel) is not what's needed?

Any other ideas?
16:24
Advanced docs are very rich in toncli
RG
16:24
Ruslan Gabdullin
In reply to this message
One day I’ll document this one😄
SF
16:25
Slava Fomin
In reply to this message
Some day, some day... 😁
AT
16:26
Andrey Tvorozhkov
In reply to this message
Maybe it's cool to add some jupyter notebooks with example usage not as CLI, but like lib
SF
16:28
Slava Fomin
In reply to this message
I was under impression that toncli is a CLI (what made me think so?) 😁

However, people are looking for python SDK, a library to write their own Python code. If toncli can be used as a library, I would suggest to extract this SDK part into a separate repository or to provide an additional manual from the library perspective.
MH
16:28
Mohammad Hasani
In reply to this message
Is there any documentation for using the cli and runing it?
n
16:29
nocriz
Ton developing environment is very difficult to set up (Took me 6 hours to set it up, and I failed setting it up on my M1 mac and had to use a ubuntu virtual machine online). Maybe the team should consider making some directly available online ton running environment or something like that...
AT
16:29
Andrey Tvorozhkov
In reply to this message
I think this is great idea, will think about it)
16:30
Have you checked out our guide for compiling ton on m1?
n
16:30
nocriz
Of course
16:30
It doesn't work
AT
16:31
Andrey Tvorozhkov
In reply to this message
Hm, all people who try to follow it have success
SF
16:31
Slava Fomin
In reply to this message
Having a full-fledged Python SDK would be a great thing for the TON ecosystem. We could publish it in the official documentation. Maybe @ruslixag would be able to help with this initiative? I'm not a Python developer myself, so I can only help conceptually :)
AT
16:32
Andrey Tvorozhkov
In reply to this message
If you not - please create PR with fixing.
RG
16:33
Ruslan Gabdullin
I will as soon as I have time free for this😁
SF
16:33
Slava Fomin
In reply to this message
Yeah, right after writing the documentation 😁
16:34
In reply to this message
That's not very friendly 😁
AT
16:34
Andrey Tvorozhkov
In reply to this message
😔
16:34
Sorry)
16:35
@acadabus is our dev who create this guide
F
16:35
F
In reply to this message
AT
16:35
Andrey Tvorozhkov
In reply to this message
Guess he can help ^
n
17:10
nocriz
OK thanks. Think I'll create an issue on github
D
17:42
Dario
Hi guys, I would like to let you know that I have created a web dapp that works as a minter for fungible and non-fungible tokens. It also works on testnet, and requires the ton wallet extension for chrome. it is a paid service (even if everything is serverless) and as soon as I release the dex for fungible tokens I will publish the code in clear text and make it free. in any case, if you want to try it, here is the link
mainnet: https://minter.tonox.exchange/
testnet: https://minter.tonox.exchange/?testnet
17:44
(thanks also to slava for help with the wallet)
17:46
also let me know if everything goes wrong
MH
17:46
Mohammad Hasani
In reply to this message
ERROR: Service 'main' failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder431097021/private: no such file or directory
A
17:54
Ascari
Is there a way to increase or set the gas fee?
17:55
I don't believe it is available with the TON wallet and I am not certain how to do it programatically
AT
17:55
Andrey Tvorozhkov
In reply to this message
Gas fee is just config param
17:55
Validators could vote for changing config
A
17:56
Ascari
In reply to this message
What is the property for this? How can I set it?
17:56
I notice some transactions arrive 10 minutes later than others, although they where sent first
17:57
I'd like to speed them up
AT
18:00
Andrey Tvorozhkov
In reply to this message
You actually can't set this param. It's auto calculated from your transaction.
A
18:01
Ascari
🥲 So I can't speed up a transaction
RG
18:01
Ruslan Gabdullin
In reply to this message
Yep, you need to create folder ‘private’ in the root of repo
AT
18:01
Andrey Tvorozhkov
In reply to this message
Why do you need it? All transactions are fast :))
A
18:02
Ascari
In reply to this message
Not for exchanges I need more than 200-500 confirmations sometimes
18:02
It's not fast enough
18:02
for p2p it is
RG
18:03
Ruslan Gabdullin
In reply to this message
Also thanks for report! It could be a bug. I’ll check it
MH
18:04
Mohammad Hasani
In reply to this message
I am so happy that i could find the main TON Dev Chat, I was disappointed :(. Thanks for your quick responses.
AP
18:44
Alexander Petrovets
Hello! I am continue TON blockchain parsing journey and have another question)

I am querying transactions for address (UQDqDHsF9FNi-_GqodxGvgcnOwFcfZXP007OQBbNjIllPVFJ):
https://toncenter.com/api/v2/getTransactions?address=UQDqDHsF9FNi-_GqodxGvgcnOwFcfZXP007OQBbNjIllPVFJ&limit=10&to_lt=0&archival=true

Got first returned transaction unixtime (1639393650) and searching for a block seqno in the basechain:
https://toncenter.com/api/v2/lookupBlock?workchain=0&shard=-9223372036854775808&unixtime=1639393650

Than I found my initial transaction with the same lt and hash as fifth in the block:
https://toncenter.com/api/v2/getBlockTransactions?workchain=0&shard=-9223372036854775808&seqno=21694181

But initial transaction address (base64 - UQDqDHsF9FNi-_GqodxGvgcnOwFcfZXP007OQBbNjIllPVFJ) is not the same as the returned one (hex - 0:ea0c7b05f45362fbf1aaa1dc46be07273b015c7d95cfd34ece4016cd8c89653d). Base64url to hex converting of the first transaction gives me 5100ea0c7b05f45362fbf1aaa1dc46be07273b015c7d95cfd34ece4016cd8c89653d5149, which is similar to returned one, but there are additional 2 bytes of data in the beginning and in the end of the address. Moreover, combination of hex to Base64 encoding of the returned address with /getTransactions method returns me "error": "Incorrect address" and absolutely other address (6gx7BfRTYvvxqqHcRr4HJzsBXH2Vz9NOzkAWzYyJZT0=). I thought that Base64 wallet address string equality check is enough, but it seems that I am wrong. Can you explain me such behaviour, please?
AS
18:47
Aleksandr Shepelev
In reply to this message
this is exchange problem, not ton problem
18:47
exchange programmers just copy-paste TON intergration from some proof of work blockchain integration and enter random number of confirmations :)
A
18:49
Ascari
So there is no way to speed up the rate of confirmations? You are saying that the exchanges are simply asking for too high of a number?
18:50
What is weird is that one transaction will actually finish faster than another transaction that is 10 minutes older
AS
18:50
Aleksandr Shepelev
In reply to this message
correct
18:50
In reply to this message
exchanges sucks
AP
18:50
Andrey Pfau
In reply to this message
in ton blockhain if you have transaction in blockchain its already "confirmed"
SF
18:50
Slava Fomin
In reply to this message
The addresses that you've provided are the same.
AS
18:50
Aleksandr Shepelev
not ton sucks :D
AT
18:51
Andrey Tvorozhkov
In reply to this message
We needed FAQ with top10 questions :))
A
18:51
Ascari
In reply to this message
Are you saying that confirmation numbers do not matter?
SF
18:51
Slava Fomin
In reply to this message
I'm already working on it :)
AP
18:51
Andrey Pfau
In reply to this message
yep
AT
18:51
Andrey Tvorozhkov
All devs must know that 1 raw address has 4 base64 forms
AS
18:51
Aleksandr Shepelev
basically every exchange should count tx after 1 "confirmation". not all do this.
A
18:51
Ascari
I thought it was a way to avoid "double-spending"
AT
18:52
Andrey Tvorozhkov
In reply to this message
Also 1 raw address is valid with / without leading zeroes
A
18:52
Ascari
Exchanges actually hold up TON saying that it is to avoid double-spending: For like 500 confirmations
18:52
Are you saying that's all nonsense?
AS
18:52
Aleksandr Shepelev
In reply to this message
yep
SF
18:53
Slava Fomin
In reply to this message
Actually eight :)
A
18:53
Ascari
Ah geeze, ok I suppose it really is an exchange issue
AS
18:53
Aleksandr Shepelev
but I understand them partially

some one more new blockchain, throwing to some junior middle dev, saying copy-paste integration X. :)

nobody wants to dig into details :)

wait for X confirmations is safe way :)
AT
18:53
Andrey Tvorozhkov
In reply to this message
OK, bounce / not bounce , b64 / b64url
18:53
In reply to this message
Other?
SF
18:54
Slava Fomin
Screenshot_2022-04-11_18-53-35.png
Not included, change data exporting settings to download.
55.9 KB
These are all possible variants of the same address ^
A
18:54
Ascari
In reply to this message
lol yeah I guess I expected more from an exchange though 🤷‍♂️
SF
18:54
Slava Fomin
In reply to this message
test-only flag :)
AT
18:54
Andrey Tvorozhkov
In reply to this message
Ah))
A
18:55
Ascari
Thank you for the information, I really appreciate it
AP
19:01
Alexander Petrovets
Thank you for you answers)
RG
21:14
Ruslan Gabdullin
In reply to this message
Upd. Also you should create private/ton_keystore. I forgot to create it automatically.
12 April 2022
Y
00:47
Yakitori
Hi guys
00:47
Cool chat!
I
01:29
Ivan
Hi
Y
01:49
Yakitori
I'm a solidity dev, I took a look at FunC
01:50
Do we have a tutorial? Defi contracts aren't commented so it's kind of hard to know what's going on.
T
01:50
Tonox DeFi
In reply to this message
You can start with ton.org/docs i guess
IG
04:46
I G
Is there already an on-chain current TON price contract?
04:47
For example, with some off-chain thing pulling the price data from CEXes
Y
04:52
Yakitori
We'd need an oracle for this
04:52
Or a liquidity pair
IG
04:52
I G
yeah, that's what I was thinking
04:52
and with no DEXes implemented rn, it does not seem possible without some centralized third party
04:52
but this thing still blocks quite a bit of defi ideas
Y
04:53
Yakitori
Well we need to build the basic blocks
04:53
I'll look into how we could implement a clone of Uniswap v2
04:53
Could be very nice
IG
04:54
I G
yeah I'm thinking to implement the first native algorithmic stablecoin
Y
04:54
Yakitori
In reply to this message
Then I guess it's easier to use an oracle
IG
04:54
I G
yeah, anyway I'll make third party pyth-like centralized price api to use for now
Y
04:54
Yakitori
Chainlink's model is quite interesting
04:54
But
04:55
You'll need to burn some gas to keep it awake
04:55
In reply to this message
Do you want to team up?
06:01
Deleted Account
Hi everyone. I’m having trouble with my address. Used tonlib-cli to generate key and made a deposit to the address it gave me. The deposit is showing on the explorer but when I import the seed to a mobile wallet it shows a different address and zero balance.
w
06:15
whale
Hi guys, I wanna know more about self-healing, what's its source code path?
SF
06:23
Slava Fomin
In reply to this message
Hey! That's because different wallet software uses different versions of the wallet smart contract. You will need to find out what wallet smart contract version was used to generate your original address.
06:25
Or you can just transfer the coins from the old address to the new one. It's quite cheap.
06:40
Deleted Account
Thank you. The latest version of tonlib-cli using the ‘importkey’ function and my 24 words produces the correct address (same as when I generated it about two months ago). How can I determine this wallet smart contract?
SF
06:59
Slava Fomin
It appears that it's a dynamic configuration. However, it looks like version 2.0 is the default one (I guess it's also named v2R1).
07:02
In reply to this message
Can't you just transfer the coins out of it then?
07:11
Deleted Account
Thank you for your help. I used the cli ‘genkey’ command two months ago and saved the 24 words, public key, and address it produced. I never connected it to a server at the time. I assumed when I needed the TON I could recreate a wallet using the same 24 words, public key and address combination. Is this not the case?
07:14
To be honest I don’t know how to use this tonlib-cli command and cannot find documentation (ie how to connect to a node / error 500 no lite servers)
07:14
Or else I would do as u suggest
SF
07:25
Slava Fomin
Let's see if someone will be able to suggest a course of action for tonlib-cli later today. If not, please ping me again.
07:28
Deleted Account
Ok really appreciate it
JL
09:39
Jianwei Liu
Does anyone buy a contract?
H
09:41
Hartmann D.
In reply to this message
D
10:28
Dario
Hello guys, i was searching for a math lib for func, which work similar to the one from consensys (for solidity). is there already something?
w
10:54
whale
In reply to this message
can anybody answer this question?
A
12:39
Ami
Hi Guys,
I’m trying to run ton validator on testnet. I’m using mytonctrl and upgraded to safer_overlay_plus (upgrade safer_overlay_plus from mytonctrl). It seems that ton was build successfully after upgrade but global config still points to mainnet and not testnet config. I’ve wget testnet config, manually replaced it and executed systemctl restart validator to restart validator but it doesn’t seems to work (process falis to start).
Does anyone know if mytonctrl supports validator on testnet?
F
13:00
F
In reply to this message
For the node to work on the test network, it must be reinstalled using the test configuration file:
sudo bash /usr/src/mytonctrl/scripts/uninstall.sh
sudo bash install.sh -m full -c https://newton-blockchain.github.io/testnet-global.config.json
A
13:00
Ami
Got you, cool I'll try it. Thanks
A
13:38
Ami
@f_closer works thanks! do you know how can I get suffcient ton tokens on testnet to run as validator? https://wallet.ton.org/?testnet=true send only 2 tons
T
13:40
Tonox DeFi
Hello guys, here is a math library for func, maybe it could be useful for you, i will add more functions when i need them

https://github.com/TonoxDeFi/math.func
eJ
13:55
e J
Hi,
Is there anyone related to tonometer_bot here?

I have done what tonometer_bot said.

I have sent 0.2 ton to the transaction address.

But this bot says we havent recived your transaction while it is online and i can see it on tonscan.

Is it scam?
Why the tonometer_bot does not have help center.
MH
16:59
Mohammad Hasani
In reply to this message
Tnx
A
17:16
Ami
Hi Guys, anyone knows how can I get substential amount of Ton coins on testnet to run as validator?
S
17:21
S
In reply to this message
@testgiver_ton_bot maybe it will help you
A
17:22
Ami
Hi @m23str0 , it only send 2 Tons and I need to run as validator
S
17:22
S
In reply to this message
Sorry, I don’t know other solution
A
17:22
Ami
sure, thanks
VK
18:53
Vladimir Kyvalov
Hi everybody! What products do you develop? We’re a product team who wants to solve problems in crypto and we are trying to understand what products are being developed in this network. We see very few products now. No normal dex for traders, no lending protocols and farm protocols. Someone working in this direction?
T
19:01
Tonox DeFi
In reply to this message
Yeah we are working on a dex
VK
19:04
Vladimir Kyvalov
In reply to this message
Can you write me to private messages? Maybe we can discuss how we can help each other
eJ
20:40
e J
Is there anyone here help me with @Toncoin_Monster_Bot
Thanks
S
21:25
Step
Can anybody explain how does wallet subscription work?
笨聪
22:41
笨 聪
Are there any Chinese engineers here
SF
22:41
Slava Fomin
English only, please.
笨聪
22:42
笨 聪
In reply to this message
Good
SF
22:56
Slava Fomin
Watch your tongue, please, and keep it in English.
S
23:26
Ste 🇨🇭
Hello, I would like to share a link for an implementation suggestion of PFP NFTs (Profile Picture Non-Fungible Tokens) on Telegram so that the community will like and make this request more visible. Would it be possible even if slightly off-topic?
23:37
This is the link for a PFP NFT implementation suggestion on Telegram. Click like to give more visibility to the request, thanks.
https://bugs.telegram.org/c/16415
13 April 2022
M
05:42
Miki
I bet telegram didn't add any wallet connecting features to wait for ton coin to develop. Once it is fully developed I'm sure they will add it.
Maybe telegram ads will pay with ton. Who knows 🤷‍♂
w
06:42
whale
how to become a fisherman?
АЛ
07:37
Александр Левицкий
In reply to this message
As i know, it doesn't ready yet
u
11:11
unsoindovo
In reply to this message
POS or DPOS??
u
11:32
unsoindovo
hi @slavafomin !
this data comes from CMC. If POW will end in 2022, how all the coins will be minted?
AS
11:33
Aleksandr Shepelev
In reply to this message
they already minted.

this just means they are on wallets that are not active for now. kinda lost.

and this is outdated data, some of them are recently woke up :)
u
11:35
unsoindovo
In reply to this message
all TON already minted??? I read above TON minting/mining/pow will end on ~ Summer 2022
AS
11:35
Aleksandr Shepelev
In reply to this message
almost all ton
AS
11:35
Alirezza Salimi
Hi
Can everyone send me a link about toncoin tokenomic & distribution??
F
12:05
Fedor
GM sers, mams 🌼

I am trying to figure out is there any infrastructure for NFTs on TON? Like marketplaces, lending platforms etc

Could anyone help with that?🙏
AS
12:12
Aleksandr Shepelev
In reply to this message
F
12:14
Fedor
In reply to this message
Awesome, thanks)
?
14:17
🄻🅈🄰🄼
Hi there, I'm a little confused so what do you think?

The point is at whitepaper, it says toncoin inflation is about 2% yearly and it make sense.
But at this post in channel
https://t.me/toncoin/143
It clearly says inflation is 0.6%.

It's a thing and another thing that's bothering me is at CMC page wrote down Toncoin max supply is 5BL while this two source have another story and the bottom line is that there are no restrictions for max supply and CMC is basically wrong.


Please let me know if I'm missing something.
14:32
ton.org/toncoin
That whitepaper is written for gram.
So are we facing an update?
F
14:38
F
In reply to this message
information from https://ton.org/primer.pdf is prioritized.
Accordingly, inflation is 0.6%

There is no such thing as the max supply, since time is infinite.
One can only say what the total supply will be at a particular point in time.

And yet, questions on economics are hardly development questions, so it’s better to ask such questions in a general chat
14:42
In reply to this message
If you want to try to raise the validator in the test network - write me in private messages.
You must have a synchronized node on the testnet.
Next, we will give you instructions on how to get test coins for validation in testnet.
M
14:47
Moonboy
Hello
14:48
Where do u create ton wallet?
Q
14:50
Quangthai
In reply to this message
A
14:53
Ami
In reply to this message
@f_closer cool thanks, I have sent you a dm
?
14:58
🄻🅈🄰🄼
In reply to this message
My bad, problem was with white paper that's why I found here best, anyway there are POS based tokens with a fixed supply limit while time is infinite for them too right? So it was a possibility.
Um will primer get updates over the time?
w
16:10
whale
Hi, I'd like to know how can I make sure that the shard block my transaction is on has been recorded on masterchain via tonweb?
JH
16:19
J H
In reply to this message
Basically, Ton is a POS base ecosystem, the reason that it can be POW mining, it's because they made a smart contract to make it POW to release TON to the public.
mb
16:22
mohsen barekati
Hi anybody try contest test? Its keep saying get_prev_c4() in tests files is not defined?
n
16:25
nocriz
Is your toncli up to date
mb
16:27
mohsen barekati
I think so, there is no way to understand what is my toncli version
n
16:28
nocriz
reinstall toncli
SF
17:03
Slava Fomin
In reply to this message
Hey, take a look at these examples:
https://github.com/toncenter/examples
H
17:13
Harvey
Curious, how does TON achieve token price to be the same as the POW?
JH
18:24
J H
In reply to this message
cause you need to get it by POW.
19:27
Deleted Account
In reply to this message
Пожалуйста как можно перевести этот сайт
AP
19:28
Andrey Pfau
In reply to this message
Russian language chat:
https://t.me/tondev
E
20:10
Emilia
In reply to this message
I found the results of a past TON contest https://github.com/ton-blockchain/TIPs/issues/43. There are some interesting projects, why are they not used as the official explorer/network status?
J?
23:52
J 📎
I'll keep it short.

I've been involved with crypto community for several years.

Telegram is important because it has a crypto-userbase and an open API.

Releasing content directly thru telegram (video, audio, etc) seems like a potential avenue for engaging the userbase without having them leave the platform. I would like to Integrate my content with TON, perhaps in a way similar to NFT's, allowing users to buy/acquire these NFT's without leaving Telegram.

There are lots of interesting channels with original content. How can this be integrated with TON?

For example, in 2017 I started using voice record to create freestyle raps in some of the communities Ive been in. I have progressed and made higher quality ones, that are relevant culturally to the TG/crypto user, IMO.

I want to integrate the content I already have posted on TG with a bot or some type of app. Could be simple...just like an audio player...or could be more complex, perhaps allowing users to purchase copies of the original track.

All my songs are focused on the "cyber streets" of telegram lol. For example, I have one called the "10 TG Commandments." No one does it like me, I am the TG Bard.
SF
23:56
Slava Fomin
Well, there are a lot of options actually. But I would suggest that "integrating with TON" shouldn't be a goal in itself. You should ask yourself what qualities/functionality are you lacking from your current distribution model and then when you know the answer you can look if TON is the right tool for you.
14 April 2022
J?
00:00
J 📎
In reply to this message
I'm not sure how familiar you are with some of the Bots people have been utilizing to tip TG users in crypto. But they have been around for a while. For example, on the Bitcoin side, Lightning Bot exists. There are also other chains that have allowed users to tip other users in a crypto currency token.

These are cool ideas, but eventually, the user withdraws the crypto off TG platform and then the puck stops there.

With TON, I'm envisioning a possible future where Telegram starts functioning more and more like an Operating System. Where users do not have to leave the TG ecosystem for many of their goals.

For example, when telegram updated the way youtube links function, users were able to watch the links as an embedded clip instead of having to leave the App and move to youtube app to consume the content.
00:07
In the NFT space, the blockchain functions as a sort of timestamp server. When it comes to NFT's, being able to *prove* that any specific NFT is, in fact, "the original" is a very important aspect.

Content posted to Telegram is already timestamped by default. For example, If I originally posted a song or a meme on my personal TG channel sometime in 2019, then even if others copy it and post it as their own, I have some claim to being the original since I posted it first and can show people where.

Vitalik has written on this concept of "legitimacy" before, albiet using Twitter posts as his examples. I believe it can apply to Telegram posts as well: https://vitalik.ca/general/2021/03/23/legitimacy.html

Imagine if I could tokenize an original post or a media post from my channel, incorporating such data as where/when it was originally posted? Imagine if this could somehow evolve into a "marketplace" of sorts where the ideas/content/etc. each user has published on telegram can be monetized or at the very least, organized in a meaningful way utilizing the data already available?
00:16
Let's imagine a marketplace similar to what I just described comes to be. Lets also, just for the sake of argument, imagine that I was the first one to come up with this idea, and that before today, no one had typed or posted about anything similar on TG ever before.

If I could tokenize the previous few messages I sent above, I could possibly have some sort of claim to being a progenitor of this idea right?

Just an example...
ИК
00:20
Игорь Коняхин
I see what you mean in general, although in this specific case I have to note that ideas are not a subject to copyright, you have to manually patent them
J?
00:21
J 📎
In reply to this message
I understand this. But in many ways, copyright is already an antiquated system that varies by locale/country/laws.

The internet doesn't have a governing body. But people respect timestamp as a provable way of designating ownership, to some degree. Its a clout thing that doesn't necessarily have to be legally binding.
SF
00:22
Slava Fomin
Well, I myself don't believe in copyrights, patents and that some individual human can take ownership of some idea. So I wouldn't see any benefits in such use of the blockchain technology. However, some people would. And this idea is very well understood and implemented. So what is your point exactly? :)
J?
00:26
J 📎
Lets move away from thinking about the utility as a way of designating ownership then. Because that is just one small example of what I see as possible.

Lets think of ideas/content along the lines of something that could be stored in a repository and built upon by others.

Content remixes or ideas inspired by previous ideas could be organized on something like a blockchain.

One way to visualize this might look similar to a citation graph of sorts: https://en.m.wikipedia.org/wiki/Citation_graph
00:27
person A posts a beat on Telegram.

Person B takes that beat and raps on top of it and posts it.
Person C takes the same beat and sings on top of it and posts it.
Person D mixes and masters the two as a mashup etc.
00:29
how feasible is something like this? Of course, the initial version would have to be granular and would focus on something small.

I used Music as example because its easily understood that people can remix and come up with their own versions of the original.
SF
00:31
Slava Fomin
In reply to this message
Why do you need blockchain for this? What problem are you trying to solve?
J?
00:34
J 📎
its less about "needing blockchain" and more about needing something that can pull data from TG's api.

That being said, tokenizing allows for future Monetization.

And Blockchain allows for a distributed consensus based collaboration model whereby each user's contributions are credited in some way while also affording each user a degree of relative anonymity. Similar to how Wikipedia functions for editors.
SF
00:36
Slava Fomin
So that funds earned by the final product could be shared among all the creators?
J?
00:37
J 📎
I could be wrong on this point, but I see TON as similar to all other blockchains. What makes it dissimilar and potentially more powerful, is the fact that there are already so many users on Telegram. Tools released are likely to be used if they are built into telegram for seamless utilization.
00:37
In reply to this message
possibly, yeah. if the final ends up having value, the chain of collaboration could be used to divide royalties etc
SF
00:38
Slava Fomin
In reply to this message
Yes, that is one of the greatest advantages of TON as a solution.
00:39
In reply to this message
What's stopping you from not referencing the original authors?
J?
00:39
J 📎
I have been following the TOn project since 2019 or so. I even predicted that all these TG competitions were ways to opensource the project. Then covid hit and I got busy. I didn't realize until yesterday that the TON project was active as it is now
00:40
In reply to this message
consensus by the TG userbase that the right way to collaborate is by utilizing this manner of bookkeeping
00:40
In reply to this message
going back to this
SF
00:41
Slava Fomin
In reply to this message
A good will?
J?
00:42
J 📎
In reply to this message
No, not so much.

More like a "Meta"

If TG offers the ability to collaborate very easily, and maintain credit, I believe people will gravitate towards using it.
00:44
If the toolkit is there, people will expect content creators to utilize the toolkit. It will eventually become a status quo manner of doing things due to the ease of use/data driven utility that comes with it
SF
00:44
Slava Fomin
Could you describe the toolkit in more details then?
J?
00:52
J 📎
I haven't thought about it granularly. But I'd imagine something like the following if I was to describe it using what is already available on telegram:

1.) I want to start a collaborative project so I message a verified TG BOT/APP.

2.) The app lets me categorize my "project" by type, and I can choose to to display my project publicly and allow any user to contribute, or privately, allowing only a select few to contribute.

2a.) Still using music as an example, I select "Music" and then am given a granular ability to "tag" my project with specific "attributes".
ex.) Music -> beat -> hip hop.
2b.) Perhaps I could also incorporate a description of sorts like "this beat is electronic style hip hop beat, 120bpm and includes stems"

3.) You are a rapper, and you want to find some beats to collab on.
3a.) I DM you with the link to the project directly, or...
3b.) You discover it by interfacing with the bot until you find something you would like to collaborate on.

4.) You dl the files, change what you want, and re upload with additional tags or something. Maybe you want someone to mix and master it. You just provide the vocals.

4a.) You post the vocals and designate them as ready to be mixed. Perhaps now a third person comes into the fold.

[...}

5.)
There could then be a "publish" option for example. And perhaps a marketplace where the digital media could be sold for ton. Additionally, at each of the steps 1-5, I could charge a small Ton Fee to those who want to utilize my beats. Each time perhaps kicking back a royalty etc. The economic functions of this would come later from a devops perspective imo. But just thinking out loud here. The main function wouldn't be monetization at first, but simply a well designed interface facilitating collaboration among TG users.
J?
01:12
J 📎
In reply to this message
BTW. thanks for humoring me/engaging with this little back and forth. Our convo is appreciated ❤️

Not sure I understand your second to last sentence, though.

Are you saying that this idea is being implemented elsewhere? If so, that's super cool I'd like to check it out. I'm not surprised by that I've come across similar ideations elsewhere...But I think the integration with TG is key and what is perhaps missing.
SF
01:26
Slava Fomin
In reply to this message
Well that's a fine idea and I think it could be implemented in TG/TON without any serious problems. Maybe dedicated contract developers could give more insight on this though.
i
01:27
isoscele 💎
Hi there. How to easily communicate to a smart contract i deployed? Crafting message or using a normal transaction
T
01:27
Tonox DeFi
In reply to this message
Tonweb is kinda easy
SF
01:27
Slava Fomin
In reply to this message
I was talking about a more general idea of using blockchain for authorship.
i
01:28
isoscele 💎
In reply to this message
I have to use it to test the functionalities of my smart contract. is that the way to go?
T
01:28
Tonox DeFi
In the future i will release a lib to do everything in the web, just like minter.tonox.exchange
01:28
In reply to this message
Yeah sure
SF
01:28
Slava Fomin
In reply to this message
You can look at how various built-in contracts are implemented in TonWeb.
i
01:28
isoscele 💎
Thank you. and finally i found a ton dev community not russian
01:28
It's nice to be here ❤️
SF
01:30
Slava Fomin
I wouldn't call it not Russian though 😁
Most of the knowledgeable and active people here are Russians.
J?
01:30
J 📎
In reply to this message
Sounds good. I'll let you go for now as we've chatted for a while already and I'm sure you are busy. Glad you think its a decent idea though. If you are interested, I can try to come up with a more detailed description etc. Although Im not a coder (though I would like to learn) I have as of late been trying to understand Devops and think im pretty decent conveyer of information. anyways perhaps we can continue talks about this later if there is interest. Like I mentioned, I'd like to be able to contribute to TON if I can, as I'm passionate about the potential of Telegram in many ways
i
01:31
isoscele 💎
In reply to this message
No problem! I was just referring to the fact that the official ton dev (ENG) was full of russian messages
SF
01:33
Slava Fomin
In reply to this message
I would suggest to write your ideas in a more formal way. You can then post it here and look for devs who would like to help you with this. We now also have a fund that could be contacted for financial support.
01:34
In reply to this message
That's just bad moderation I guess :)
J?
01:37
J 📎
In reply to this message
Yeah I saw the fund's website yesterday and would like to get in contact perhaps. Like you say, though, I'd first want to be able to more formally hash out the idea.

Do you know of any resources/examples I can refer to as a model for this formal layout?
SF
01:39
Slava Fomin
In reply to this message
Sorry, I don't have any good examples on my mind. However, the key would be to make it as clear and concise as possible. Visuals will also help, e.g. you could create some schemes and collaborate with the designer on UI of your marketplace/bot.
J?
01:39
J 📎
In reply to this message
got it, that clears it up enough for me. thx
i
01:41
isoscele 💎
I'm testing tonweb on node with the example but the example contains async functions and it says "SyntaxError: await is only valid in async function". Am i doing smth wrong?
SF
01:42
Slava Fomin
In reply to this message
You will need to know the JavaScript on a decent level if you are going to use the TonWeb.
ИК
01:43
Игорь Коняхин
Make functions async:
`async function ...`
SF
01:43
Slava Fomin
What examples are you talking about?
01:43
In reply to this message
That's a dangerous advice :)
ИК
01:44
Игорь Коняхин
In reply to this message
Note, though, that (at a basic level) you'll need to "await" all of the calls to your function
i
01:47
isoscele 💎
In reply to this message
I fixed it by myself but i meant the example alone is not working. I needed to add personally the handling of the async stuff
01:47
Anyway thx for direction! :)
SF
01:53
Slava Fomin
In reply to this message
What example are you talking about? Can you point me to the problem directly?
i
01:54
isoscele 💎
copying and paste this in a raw .js gives me the async warning
SF
01:55
Slava Fomin
Yeah, I see. That's because global awaits are not supported in CommonJS. You will need to wrap it in async function.
01:55
// This will do the trick
(async () => {
await doSomethnig();
})();
i
01:57
isoscele 💎
That worked too! Thx!
SF
01:57
Slava Fomin
In reply to this message
These examples are not meant to be just copied and pasted directly. It's just a rough idea of how to use the TonWeb. We will be rewriting all the documentation in the near future.
i
02:21
isoscele 💎
I have a generated keypair. How to import the secretKey in code? I tried passing it as a string (hex version) but didnt work
SF
02:24
Slava Fomin
Secret key should be passed as Uint8Array.
02:25
nacl will give you the keys in the correct format already.
02:29
You can also do the following:

const secretKey = TonWeb.utils.hexToBytes('YOUR HEX');
const keyPair = TonWeb.utils.nacl.sign.keyPair.fromSecretKey(secretKey);
ИК
02:54
Игорь Коняхин
In reply to this message
That's not true
Node.js supports global await, but you might need to update it and enable new features
SF
02:57
Slava Fomin
In reply to this message
Yes, it is only supported in ESM modules. So your file must have an .mjs extension and it must be compiled to ESM. It is rarely used in practice, so I've generalized.
i
03:12
isoscele 💎
How to switch to testnet tonweb? Am i forced to get an api key for https://testnet.toncenter.com/api/v2/jsonRPC?
SF
03:13
Slava Fomin
In reply to this message
You will need to set proper TonCenter URL when you initialize the TonWeb provider.
i
03:14
isoscele 💎
Ok Done. Default is mainnet. I was getting too confused haha
i
03:38
isoscele 💎
In reply to this message
Looks like const secretKey = TonWeb.utils.hexToBytes('F2049F029029E092F90EF90290EF2F2E0F209'); gives me a Error: bad secret key size
SF
04:01
Slava Fomin
In reply to this message
Private key must have 64 bytes or 128 chars in HEX format.
04:04
Your HEX-string is incorrect in general, because it has odd number of chars.
i
04:37
isoscele 💎
In reply to this message
I replaced it with random chars to hide it xd
ИК
04:43
Игорь Коняхин
Don't worry
People here are all super honest
You can post your private keys here no problem
i
04:45
isoscele 💎
It's still a testnet thing so ye, who cares
04:46
const secretKey = TonWeb.utils.hexToBytes('229715B35FE31CD0EC2DFCCEFDB381C2F9E6B284BE36D7D12B3933AD26E7B540');
const keyPair = TonWeb.utils.nacl.sign.keyPair.fromSecretKey(secretKey);
ИК
04:47
Игорь Коняхин
Just be sure it is not the same private key you use on the mainnet
i
04:48
isoscele 💎
nah it's not
D
05:12
DD
In reply to this message
)())))))
h
06:24
haiyang
hi,does ton support evm compatible?
i
06:55
isoscele 💎
In reply to this message
I don't think so since EVM is sync while TVM is async
w
07:05
whale
AP
08:22
Andrey Pfau
In reply to this message
It's for everscale, not ton
w
08:23
whale
everscale and ton have the same vm, right?
AP
08:23
Andrey Pfau
In reply to this message
Nope, it's has different instructions
w
08:24
whale
got it
J
12:47
Jason
hi guys, how to run full node with out validator, because i want to integrate with out system, is it need to run
sudo bash install.sh -m full
?
М
15:58
Михаил
Hi guys
T
16:16
Tonox DeFi
In reply to this message
As i could remember, that's just a "solidity-like" language to work with tvm-like powdered Blockchains
16:56
how should i deploy this?
MS
18:35
Matthew Stone
Hi there!
I’m a third year student at computer science and I would like to be a part of TON community.
SF
18:36
Slava Fomin
In reply to this message
Welcome )
MS
18:39
Matthew Stone
In reply to this message
Hi Slava,
I would like to get more experience as a programmer in blockchain. What should I start with?
J
18:40
Jack
In reply to this message
can someone answer please
AM
18:45
Alex Madway
фуф.
ну и чатик.
а разработчики нужны? :)
AS
18:46
Aleksandr Shepelev
In reply to this message
https://t.me/tondev - russian speaking chat
AM
18:46
Alex Madway
ty!
18:47
Deleted Account
Hi everyone,
A couple months ago I created a private key using ‘tonlib-cli genkey’ and made a paper backup of the mnemonic words, public key and address. Now the block explorer shows a positive balance at the address but trying to recreate this wallet on a lite client via mnemonic references another address with zero balance.

If I enter my mnemonic in tonlib-cli importkey it still produces the original address so I don’t think I made a mistake in writing the 24 words or address.

I also don’t know how to connect tonlib-cli to a node to try accessing the address via cli instead of lite client. I get error 500: no lite server and I can’t find any documentation on telling tonlib-cli to connect to nodes. Would appreciate any tips on how to proceed. Many thanks!
SF
18:47
Slava Fomin
In reply to this message
You should start with the documentation section on the website.
MS
18:48
Matthew Stone
In reply to this message
Slava, thank you for your advice!
I will write here after I learn the documentation.
J
22:13
Jack
In reply to this message
guys why no one help
15 April 2022
i
00:14
isoscele 💎
How to runmethod a getfunction via tonweb? I want to send a transaction to someone and in order to do so i have to know the seqno. I assume i first have to ask the recipient his seqno. Right? How to do so?
Y
04:37
Yamil
Hi, is really necesary it have a internet connection 1gb/s, to become validator ?
s
10:55
shakou
10:55
Hello, where can I get the address of the tester's smart contract?
T
11:10
TON technical overview
In reply to this message
It doesn't work in testnet for now, but there is @testgiver_ton_bot
s
11:39
shakou
In reply to this message
I know!!! thanks!!!
s
12:17
shakou
12:17
May I ask what caused the error?
12:23
15:50
Deleted Account
In reply to this message
Reposting my question in case someone can help. Many thanks.
SF
15:52
Slava Fomin
In reply to this message
I will help you a bit later today.
16 April 2022
i
01:35
isoscele 💎
Hello! I have a question: I craft a transaction via tonweb, I attach there SENDER seqno using wallet.methods.seqno().call(); . Then i send the transaction to a standard wallet. It works well. In the code of a standard wallet (recipient), it checks the seqno sent from the sender with the local seqno(msg_seqno == stored_seqno). My question is: How could be storedseqno and msg_seqno the same if, the sender attached his own seqno and the recipient checks the SENDER seqno with his own stored_seqno? Shouldn't the transaction include RECIPIENT seqno in order to this to work well? I'm asking this because the seqno of my contract increases when I send a transaction, not when i receive one. And then the wallet receives, it doesnt increase the seqno. (Im watching the seqno on the explorer test-dot-tonwhales) Where can I read how this works? Is there a documentation or explaination of this kind of stuff?
01:36
D
01:45
Dario
In reply to this message
Sorry for the italian, i know him
SF
01:46
Slava Fomin
In reply to this message
No excuses )
D
01:47
Dario
In reply to this message
Okay ahah
M
06:12
M
Hello
06:12
How can i activate my wallet
CZ
10:35
Chak Zefir
In reply to this message
Just top it up
13:30
In reply to this message
it says "inactive" in explorer? Send something from it.
14:07
Deleted Account
Hi everyone. Does anyone know if multiple addresses correspond to a 24-word mnemonic or if this is a 1:1 relationship between them?
SF
14:09
Slava Fomin
In reply to this message
One mnemonic could correspond to an unlimited number of addresses.
14:26
Deleted Account
Thanks, which client do you use?
SF
14:27
Slava Fomin
In reply to this message
What do you mean by client?
14:27
Deleted Account
The software that you use to for example sign a transaction
SF
14:28
Slava Fomin
In reply to this message
That would depend on my goals :)
O
15:46
Omid
hello
15:46
How to communicate between web and cryptobot
15:47
I want to pay for my product from the site through a Telegram Inc. robot ton
15:48
Is this possible?
15:49
Thanks
SF
16:03
Slava Fomin
In reply to this message
What is Telegram Inc. robot ton?
O
16:05
Omid
In reply to this message
I mean crypto bot
16:06
I want to connect my website to Telegram to pay with ton tokens
SF
16:07
Slava Fomin
In reply to this message
Try writing to their support service.
16:08
They have API by the way.
O
16:08
Omid
In reply to this message
🙏
16:09
In reply to this message
I did not find a sample code done as an example
16:10
In reply to this message
Are you a programmer?
SF
16:13
Slava Fomin
In reply to this message
Learning to be one :)
D
18:42
Dario
In reply to this message
Hi Slava, im getting this error with tonweb
18:43
tonweb/src/boc/Cell.js:347
const prefix = serializedBoc.slice(0, 4);
^

TypeError: serializedBoc.slice is not a function
18:43
Im just calling cell.oneFromBoc
SF
18:44
Slava Fomin
Can you please provide a BOC string? Also, are you absolutely sure that it's correct?
D
18:45
Dario
In reply to this message
well... im pretty sure its correct
SF
18:45
Slava Fomin
TonWeb has a few bugs in the BOC realm, we are planning to fix them in the next update.
D
18:45
Dario
:(
SF
18:45
Slava Fomin
Can you please provide a BOC string?
D
18:46
Dario
sure
18:46
In reply to this message
check pm
18:47
but help me here, maybe it can be useful to others
D
19:05
Dario
In reply to this message
looks like the problem were in my code. jettonWalletCodeHex should be a string, not a parsed boc (in new TonWeb.token.ft.JettonMinter()
SF
19:05
Slava Fomin
In reply to this message
We've pinpointed the problem and resolved it. TonWeb was working correctly.
The short story is — always use TypeScript for JS development and you will avoid a lot of hard-to-catch issues.
D
19:05
Dario
In reply to this message
btw its kinda confusing
SF
19:06
Slava Fomin
In reply to this message
What is? )
19:07
no nvm
19:07
my fault
SF
19:07
Slava Fomin
You mean inconsistencies in the API?
D
19:08
Dario
In reply to this message
nah not really, im not making a jettonwallet instance
19:08
its okay as it is
SF
19:09
Slava Fomin
In reply to this message
We are going to improve it dramatically in the version 2.0. But it will take time.
D
22:47
Dario
In reply to this message
btw i found another issue: the contract is deployed correctly but data is empty
22:48
i dont know if its mine fault or tonweb
SF
22:55
Slava Fomin
The official Jetton contracts are working with TonWeb correctly. Considering your previous trivial mistake I would assume, that you are doing something wrong. Try to debug your code more deeply and study how official Jetton contracts are working in TonWeb to find the difference.
D
23:15
Dario
found the problem: do not use global vars
SF
23:16
Slava Fomin
In reply to this message
:)
WA
23:46
Witer33 Aaªº°°°
Best way to integrate payments with Ton in a Telegram bot?
SF
23:54
Slava Fomin
In reply to this message
Well, TonWeb of course! :)
23:55
In reply to this message
Jokes aside, that will heavily depend on a lot of conditions and requirements.
17 April 2022
WA
00:00
Witer33 Aaªº°°°
In reply to this message
I'll check it, but what do you think about telepay? Saw it on the Ton website in services list
SF
00:00
Slava Fomin
In reply to this message
Never heard of it.
WA
00:14
Witer33 Aaªº°°°
In reply to this message
If I wanted to check if my address received a payment with a specific message what would the best method be? Is getTransactions ok?
SF
00:15
Slava Fomin
In reply to this message
Yes, this would be a recommended approach.
WA
00:16
Witer33 Aaªº°°°
In reply to this message
But everytime I'm requesting for all the transactions, isn't this a bit inefficient?
SF
00:17
Slava Fomin
In reply to this message
@Witer333 these examples would have everything you need ^
D
00:17
Dario
In reply to this message
start the search by last lt and last hash
SF
00:17
Slava Fomin
In reply to this message
If you have one wallet, that's OK. If you have multiple wallets, you would be better scanning the blocks.
WA
00:21
Witer33 Aaªº°°°
In reply to this message
I see
00:21
Is there a toncenter implementation for Python?
SF
00:23
Slava Fomin
In reply to this message
^
i
19:52
isoscele 💎
Is subwallet_id the same as workchain_id?
ИК
19:59
Игорь Коняхин
In reply to this message
No
subwallet_id is the property of the contract to be able to create several wallets with the same key pair
D
20:04
Dario
In reply to this message
I never understood this choice. Why you cant just hash the priv key
ИК
20:07
Игорь Коняхин
In reply to this message
I don't understand what you don't understand:)
The main (and only(?) goal) of subwallet ids is to make it possible to create multiple wallets with a single key pair. How would you achieve it differently?
D
20:09
Dario
In reply to this message
First wallet => random bytes
Second wallet => first 32 byte of hash(first wallet private key)
And so on
ИК
20:09
Игорь Коняхин
random bytes ... where
D
20:10
Dario
I mean, the seed
AT
20:10
Andrey Tvorozhkov
In reply to this message
It's not quite true
ИК
20:11
Игорь Коняхин
In reply to this message
address in TON == hash(code + initial state)
If initial state doesn't include any extra info (like subwallet id), than for the same "code + public key" combination you'll get the same address (and no multiple wallets)
AT
20:11
Andrey Tvorozhkov
You may use one keypair thrue several wallet versions, each version of wallet will have 0 subwallet
ИК
20:13
Игорь Коняхин
In reply to this message
Yes, different code => different address
But that is insecure, because signed transaction for one of such wallets will also be a correct signed transaction for another one of such wallets (provided we can make their "seqno"s match)
D
20:14
Dario
In reply to this message
Yeah, but thats not what i mean

I will make an example
AT
20:16
Andrey Tvorozhkov
In reply to this message
Lol, great idea, need to scan for such cases all blockchain, guess will find some buggy wallets
20:18
But it's quite hard, it's needed message to be valid too, but I think there is no much chance
D
21:43
Dario
In reply to this message
im finally at home so.. @nns2009 in a contract you save a Ed25519 public key derivated from a private key (just some random bytes). so you can hash it x times (the private key) to get an actual sub wallet (you will get another private key)
21:43
without storing different int (wallet_id) but just pushing contracts with different pubkey
21:44
thats what i mean
21:45
so, deterministic subwallet by hashing the "first" private key => each contract will have a different data (public key will change)
21:51
i dont like the idea that a wallet has a shared pub key for the reason that @tvorogme said

honestly the whole idea of subwallet_id sucks
AT
21:53
Andrey Tvorozhkov
:)
WA
22:08
Witer33 Aaªº°°°
https://github.com/witer33/toncenter

I'm working on this Toncenter API wrap for Python, what do you think?
ИК
22:33
Игорь Коняхин
In reply to this message
Does any random 256 bits constitute a valid Ed25519 private key?
22:33
In reply to this message
Can you link me that reason?
I was reading all of the chat lately, but don't remember it
D
22:34
Dario
In reply to this message
yes (actually, its used as a seed)

so you can use sha256 to generate another private key (for example)
ИК
22:39
Игорь Коняхин
What's the problem with subwallet ids?
D
22:40
Dario
useless -> you share your public key among differents wallets -> someone can use this method to change a wallet but this can lead to double spending (in very specific cases)
22:41
but mostly, you are using the same public key
WA
22:52
Witer33 Aaªº°°°
I saw getBlockTransactions returns only short transactions, without the amount of TON. Whenever I need to check multiple wallets should I send multiple getTransactions requests for every address (if I find a tx with that address in the block)?
eJ
23:41
e J
Is there anyone that has information about getgems.io

I need some one who had practically done nft in that platform
23:42
In reply to this message
I dont need the acount of suport team
SF
23:43
Slava Fomin
In reply to this message
You can actually fetch a single transaction by specifying it's ID on the API request to getTransactions()
WA
23:45
Witer33 Aaªº°°°
In reply to this message
Yes but the ratelimit remains the same
23:46
😅
SF
23:46
Slava Fomin
You can always put them in the queue for gradual processing.
23:48
Or you can run your own TonCenter instance.
18 April 2022
i
01:17
isoscele 💎
is this a good approx of what happens when we send a simple transaction using v3?
AS
06:22
Artem S
Hello. I found an interesting behavior of wallet clients. I tried to create wallet via TonHub, TonKeeper and wallet.ton.org. TonHub and TonKeeper generated the same address, but the wallet.ton.org gave me other address when using the same mnemonic phrase. Can someone explain why?
SF
06:29
Slava Fomin
In reply to this message
This quickly becomes a question #1 :)
AS
06:29
Artem S
:) Is it in FAQ?
06:30
Maybe different version of the wallet is used?
AS
06:47
Artem S
In reply to this message
Can you explain why it happens?
SF
08:09
Slava Fomin
Sorry, I was distracted. The reason for this is that address depends on the wallet contract version being used.
08:09
Also, one address could be represented in various formats.
AS
08:18
Artem S
In reply to this message
Thank you, it seems that wallet.ton.org uses v3R2, and TonHub uses v4. Is it safe to use v4?
SF
08:23
Slava Fomin
In reply to this message
v4 allows you to install plugins, so it could be a doorway for security issues if used wrong. If you don't need the advanced features you should better use v3.
AS
08:27
Artem S
Okay, thank you.
09:30
In reply to this message
Be careful using web wallet there was recently a site wallet-ton.org showing the wallet and stealing passwords then emptying accounts. A web wallet is a very hot wallet in my view. We need some better security features for it.
AS
09:31
Artem S
In reply to this message
Oh, thanks I'll consider that
09:33
In reply to this message
Safest would be MacOS or Linux or mobile TONcoin v3 wallets in my view.
AS
09:35
Artem S
Tonhub and tonkeeper?
JH
09:37
J H
In reply to this message
what do you guys think of these, do those safe?
09:37
In reply to this message
This is a serious issue in many cases where eg TONkeeper wallet is used again on another device or reinstalled prior to taking a new subscription the version will be 3 again and the user thinks all their coin have been lost.
JH
09:37
J H
In reply to this message
omg, that's a very serious issue
09:38
In reply to this message
No they’re not safe because there are not sufficient UI UX safety features. It’s a long story but for now still to TONcoin wallet on mobiles.
AS
09:38
Artem S
In reply to this message
It seems tonkeeper uses v4. Because it generates the same address as tonhub. Good thing is tonhub detects old versions.
JH
09:39
J H
In reply to this message
geeeez, I'm still using tonkeeper, omg I must switch it now.
AS
09:39
Artem S
In reply to this message
U mean we should use this app
09:40
In reply to this message
They both do. But anyone other than experts better stick to TONcoin. V3. No you’re not going to easily lose your coins in TONkeeper it’s more of UX issues. Tonhub yes more risk to actually lose coins because of buttons.
JH
09:40
J H
In reply to this message
I used to use this one, I know it's official, but it's a bit slow and buggy, thus I switched.
AS
09:40
Artem S
Isn't it the same as wallet.ton.org?
JH
09:42
J H
In reply to this message
Thanks for the clarification, cause I recommended almost all my family and friends to use tonkeeper.
AS
09:42
Artem S
In reply to this message
I have a constant issue with tonkeeper. If unused for a long time after reopening the app it hangs on the starting screen. I have to kill it and restart it.
09:42
In reply to this message
Maybe do some research. TON site didn’t have any educational material on wallets but I don’t want to hog this dev chat. Read previous advice above should be enough.
09:43
In reply to this message
They should be ok
AS
09:43
Artem S
In reply to this message
Okay, thanks
09:44
In reply to this message
They may just have panic situations as explained earlier. TONcoin wallet doesn’t look so sexy but at least the developers haven’t messed it up yet :D
zz
09:56
zz z
hello Why do transfers to Inactive's address sometimes get called back
SF
09:57
Slava Fomin
In reply to this message
You will need to clear the bounce-flag if you are sending to uninitialized account.
zz
09:59
zz z
In reply to this message
how can i do,Is there any API
SF
10:00
Slava Fomin
In reply to this message
How are you doing it now?
zz
10:01
zz z
In reply to this message
Call API /v2/sendBoc as usual
SF
10:02
Slava Fomin
Are you using TonWeb?
zz
10:02
zz z
no, It's a node that builds itself
10:03
it can transfers to active's address
10:03
transfers to Inactive's address sometimes get called back
SF
10:03
Slava Fomin
I have no experience with it.
10:03
In reply to this message
Sometimes? But not always?
zz
10:03
zz z
always
SF
10:04
Slava Fomin
Try to generate the destination address with the bounce flag off.
zz
10:07
zz z
In reply to this message
Do you mean to use this address as the destination address
10:08
SF
10:09
Slava Fomin
You need non-bounceable address as destination.
10:09
If the destination account is not initialized.
zz
10:12
zz z
ok i try it thanks
I
11:14
Inokent 💎
Is it hard to develop smart-contact, if i was working only with python telegram bots :D???
SF
11:16
Slava Fomin
In reply to this message
It will require a TON of effort :)
I
11:17
Inokent 💎
In reply to this message
Xd
AS
11:38
Artem S
Can someone explain why there are two repos for TON blockchain:
https://github.com/newton-blockchain/ton and https://github.com/ton-foundation/ton?
SF
11:40
Slava Fomin
In reply to this message
AS
11:44
Artem S
but what is ton-foundation then?
11:44
Nominator contract source code is hosted there. And there are links from ton.org which lead to the github of the ton-foundation...
11:46
Also https://tondev.org/ there is a link to this chat. There is some kind of confusion. Because it seems that DTF and newton are the same people.
SF
11:51
Slava Fomin
In reply to this message
Can you show me the link on ton.org?
AS
11:52
Artem S
image_2022-04-18_15-52-19.png
Not included, change data exporting settings to download.
25.1 KB
11:52
image_2022-04-18_15-52-19.png
Not included, change data exporting settings to download.
30.6 KB
11:52
U have to follow link on tonwhales. So it's not a direct link.
SF
11:52
Slava Fomin
The repository that you've mentioned belongs to Ton Whales (a third-party) and is not related to the TON Foundation.
AS
11:53
Artem S
so github account "ton-foundation" is owned by tonwhales?
AT
11:53
Andrey Tvorozhkov
In reply to this message
Yep, quite right
SF
11:53
Slava Fomin
TON Foundation is an organization behind TON. Ton Whales for some reason just used the name to register their own organization on GitHub.
AT
11:54
Andrey Tvorozhkov
In reply to this message
🙃😔🤔
AS
11:56
Artem S
It leads to a confusion, because there is a link to tonwhales.com from ton.org. I saw that the nominators contract source code is hosted on the "ton-foundation" github account, which made me think that it's the real TON Foundation.
11:57
BTW few days ago it (the account) was named "tonwhales" (if I do not mistake anything).
SF
11:59
Slava Fomin
What can I say? The actions of some people are hard to understand 🤷🏻‍♂️
AS
12:01
Artem S
Okay, thanks
n
12:08
nocriz
Anyone know discussion platform for blockchain security?
T
12:11
TON technical overview
In reply to this message
To be correct, tonwhales are organizing community with the name "decentralized ton foundation" and registered ton-foundation nickname on github for this purpose.
AS
12:13
Artem S
Okay, so DTF was initiated by tonwhales?
AT
12:13
Andrey Tvorozhkov
In reply to this message
+
AS
12:14
Artem S
I noticed that main contributor (tolya-yanot) is also contributing to "ton" hosted on "ton-foundation" account and newton account. So there are people from original TON Foundation contributing to DTF?
AT
12:16
Andrey Tvorozhkov
In reply to this message
😂, it's not correct. This is just fork of original repo
AS
12:17
Artem S
oh, i see, but why it wasn't forked via github?
T
12:17
TON technical overview
In reply to this message
No, for some reason ton repository was copied with tolya-yanot's (ano others) commits instead of forking.
DTF doesn't include TF members
AS
12:17
Artem S
Okay, thank you for the information.
SF
14:00
Slava Fomin
This chat is for development questions, not for mining.
zz
15:07
zz z
In reply to this message
hi, I've tried it and it still can't be sent
SF
15:09
Slava Fomin
In reply to this message
Then I would suggest you to create an issue with detailed explanation of your problem.
zz
15:11
zz z
In reply to this message
Are forwarding inactive addresses and forwarding active addresses signed differently
15:11
I think it might be the signature
DG
16:51
DPZ Ghost
Hi everyone😶‍🌫️😇
17:06
Can someone tell me the connection between ton and telegram? Are you one and the same?
SF
17:07
Slava Fomin
In reply to this message
Only development questions please.
DG
17:09
DPZ Ghost
This is a dev question in connection with does Ton have custom minting, smart contracts, etc. and is it actually telegram blockchain you’re building on?
SF
17:12
Slava Fomin
TON was invented by Dr. Durov at Telegram and was later open-sourced. This is the one and only TON.
DG
17:21
DPZ Ghost
In reply to this message
Just to be clear this https://ton.org/ and this chat group is the right place
SF
17:21
Slava Fomin
In reply to this message
Yes
DG
17:28
DPZ Ghost
This dev team can upgrade telegram as well because telegram is also open sourced or their separate entities on same blockchain? Or neither?
SF
17:30
Slava Fomin
In reply to this message
I don't get the question. Telegram messenger has nothing to do with TON blockchain. There are some integrations made by the enthusiasts, but that's pretty much all.
17:35
In reply to this message
They aren’t connected. Telegram is a messenger on servers in the cloud. It’s not open source. It’s developers aren’t known to us. TON is a blockchain open source with many developers known to us. The only connection is that originally TON was created by telegram before giving up ownership and ceased all involvement and TON went open source. You can find all this information at ton.org please study materials there. This chat is for developers questions about TON not Telegram.
I
18:03
Imthe
why do ppl use io instead .com
18:04
夼先生
Any one know about when will TON end mining?in two or three month?
I
18:04
Imthe
around this time
18:07
夼先生
😀
T
19:40
Tóki
Hello!

I have no programming/software developing experience, but I have become interested in TON and FunC and I am just investigating and exploring this world

I imagen it is a bit of a learning curve, but where should I start? Should I get familiar with another language before learning FunC? If yes, which one?
eJ
19:45
e J
Start with
C# or python or C
But if you want tostart from scrach go throgh C language
T
19:46
Tóki
Thank you!
D
19:57
Dario
@slavafomin is there an api to close the wallet window?
19:57
like window.ton.close()
T
20:11
Tonox DeFi
T
Tonox DeFi 18.04.2022 20:11:17
News:
- New utility library for FunC: utils.func
- Updated math library for FunC: math.func
- Updated Tonox Minter, now you can also mint liquidity for a token
- New token source code with capped liquidity
SF
20:16
Slava Fomin
In reply to this message
I don't know about that, sorry )
ИК
20:42
Игорь Коняхин
In reply to this message
FunC/TON are probably too out of reach of you are not familiar with programming. But don't bother with pure C, choose something more fun like Web and JavaScript or GameDev, Unity and C#
eJ
21:02
e J
In reply to this message
👍
T
21:04
Tóki
In reply to this message
Спасибо большой! (I love and speak some russian so I could’t help it haha 😅)

I have already started diving into C, and I really appreciate all of the advice and suggestions

Thank you guys!
C
22:44
Costa Gamer
hi friends ,. ton coin in maintenance?
22:48
In reply to this message
19 April 2022
i
00:21
isoscele 💎
In reply to this message
What do you mean?
i
06:15
isoscele 💎
How to add a comment to a transaction via send_raw_message? Do i have someway to write it into the body?
ИК
06:18
Игорь Коняхин
In reply to this message
msg_body (last line) should be:
0x00000000 + comment_in_hex


Alternatively, remove store_slice(msg_body) and store comment directly:
.store_uint(0, 32)
.store_slice(comment)
06:18
Alternatively - I mean "produces the same outcoming message with a different code"
i
06:21
isoscele 💎
Ok thank you. Just to be sure, the header of messages has always same format and ends before msg_body. Right?
ИК
06:28
Игорь Коняхин
Yes, although the previous line:
.store_uint(0, 1)

can also be considered a part of message body, because you might store the body as a cell instead:
.store_uint(1, 1)
.store_ref(msg_body_cell)
AS
12:03
Artem S
Hello, where can I find information about the validator fines and round duration. It's not in the config (https://ton.org/global-config.json) and I haven't found any exact numbers in the whitepaper either.
T
12:14
TON technical overview
In reply to this message
AS
12:17
Artem S
In reply to this message
Thank you, what about validation and election round duration?
T
12:19
TON technical overview
In reply to this message
Check config param 15
AS
12:20
Artem S
Thx
12:23
In reply to this message
One more question is there a similar config for the mainnet?
VB
12:28
Vasilii Burykin
In reply to this message
English speaking TON Developer Community Chat.

Ручат: @tondev.
КК
12:29
Кирилл Кирилл
In reply to this message
Es help work ton
H
13:15
Hartmann D.
In reply to this message
Спасибо. Thank you.
AS
13:23
Artem S
In reply to this message
Is there a guide how to use this explorer? I can't understand why these values are used for GET params: shard, seqno, roothash and filehash.
13:34
In reply to this message
I got it. It is the blockchain config for the specified block.
T
13:34
TON technical overview
In reply to this message
+
AS
13:34
Artem S
Who sets the config params? Validators?
T
13:35
TON technical overview
In reply to this message
Yes, to change config params validators need to vote for new params
AS
13:36
Artem S
In reply to this message
Thank you. New params may be proposed by any validator?
T
13:48
TON technical overview
In reply to this message
They may be proposed by anyone, just need to pay the price for storage.
AS
13:49
Artem S
Okay, thank you
WA
14:34
Witer33 Aaªº°°°
I got an issue with getTransactions endpoint of Toncenter (testnet).
using the lt of the most recent transaction as the lt parameter, and the hash of the most recent transaction as the hash parameter, it should return all the transactions after this tx, instead it's returning all the transactions, including older transactions.
14:36
should I open an issue on GH?
T
14:45
TON technical overview
In reply to this message
You mean that it returns transaction which is older than specified? Or that list of transactions also includes after one?
Both behaviours are intentional, but not well documented
WA
14:48
Witer33 Aaªº°°°
In reply to this message
What's the point of lt and hash params if the API still returns older txs?
14:48
it should return only newer ones
edit: apparently it returns only older ones, then why on DOCS it says "Logical time of transaction to start with, must be sent with hash."
RG
15:02
Ruslan Gabdullin
In reply to this message
Here is one which describe this problem: https://github.com/toncenter/ton-http-api/issues/18
But it is written in Russian
WA
15:05
Witer33 Aaªº°°°
In reply to this message
thx, I opened another issue btw
RG
15:06
Ruslan Gabdullin
Looks like currently it could not be fixed because this will break services which use this method with current behaviour
WA
15:24
Witer33 Aaªº°°°
In reply to this message
I see, thx
i
17:23
isoscele 💎
Why ton.org/docs is dark mode on smartphone while on desktop it is full white and can't be changed? It destroys my eyes everytime 😂
SF
17:26
Slava Fomin
In reply to this message
Because reading TON docs is just too easy in dark mode :)
P
17:45
Pluto
Is there any active wallet or
Underdevelopment project to support trading in Indian currency ( INR).
SF
18:33
Slava Fomin
In reply to this message
This is not a development question. You can use any exchange that supports TON to trade. E.g. OKX.
i
18:48
isoscele 💎
Some fast questions to this header of wallet-v3.fif:
1) Does the last 3 bits 100 of the first slice stand for addr_extern?
2) Why are there only 2 bits after "0 gram" instead of the classic 107 zeros? Where is stored created_at, created_lt, etc in this case?
VE
20:54
Vitor Emanoel
Good afternoon, yesterday I made a withdrawal of the ton coin to my wallet on ftx, it turns out that the amount has not arrived until today and I already checked the address and there is nothing wrong!
20:55
does anyone know how to solve?
TP
20:56
TEP Punloeu
In reply to this message
Did u include the mark ?
SF
20:57
Slava Fomin
In reply to this message
Hello! This chat is only for development questions. Try to ask in the general chat.
TP
20:59
TEP Punloeu
In reply to this message
Ok
T
20:59
TON technical overview
In reply to this message
No, you are looking at the wrong constructor int_msg_info.
Instead you should check ext_in_msg_info:
https://github.com/ton-blockchain/ton/blob/master/crypto/block/block.tlb#L127

So 1000100 stands for 10 -tag 00 - addr_none 100 part of the addr_std
VE
21:02
Vitor Emanoel
In reply to this message
what is the general chat link?
SF
21:03
Slava Fomin
In reply to this message
21:30
Deleted Account
hi guys, can someone explain, what data is stored inside slice at the input?
i
22:13
isoscele 💎
In reply to this message
Oh i see! I still dont get the last 100 part. U referring to addr_std$10 ?
T
22:14
TON technical overview
In reply to this message
10 - addr_std tag, addional 0 - is from Maybe Anycast. zero means that there is no anycast (check Maybe definition)
A
23:15
Andrew
Hello, any admins in here?
20 April 2022
07:31
Hi
ЮГ
08:34
Юрий Лактионов Гусев Калининградской
Good morning
AS
10:30
Artem S
image_2022-04-20_14-30-21.png
Not included, change data exporting settings to download.
38.2 KB
Can someone tell what is y = 2?
T
10:39
TON technical overview
In reply to this message
It is a typo, there should be mode
AS
10:51
Artem S
Oh, okay. Can you explain how Bit +2, Bit + 4, Bit + 8 works. How can can we distinguish let's say mode = 0 from mode = 0 + 2?
AS
11:21
Artem S
Is store_coins a synonym for the store_grams?
T
11:50
TON technical overview
In reply to this message
Yes
11:50
In reply to this message
Thanks
AS
11:54
Artem S
In reply to this message
Thank you
AS
12:59
Artem S
What is the default smart-contract data?
12:59
If it wasn't set using set_data
AP
13:06
Andrew Python
In reply to this message
storage data is set at the deployment stage
AS
13:35
Artem S
Thx
13:40
What does "vanity contract" means? See deployment section https://github.com/ton-foundation/ton-nominators
13:52
In reply to this message
They are updating to TON ticker from TONCOIN coins will be back after
AP
13:58
Andrew Python
In reply to this message
https://github.com/ton-foundation/vanity-contract
This is a way to pick up a vanity address)
like a EQCkR1cGmnsE45N4K0otPl5EnxnRakmGqeJUNua5fkWhales (ends in Whales)
AS
14:01
Artem S
In reply to this message
Thank you
14:04
In reply to this message
Is there any documentation how to use it?
AP
14:07
Andrew Python
In reply to this message
It seems not.
AS
14:07
Artem S
Why vanity contract is required for the nominators contracts? Why can't we use regular address?
AP
14:10
Andrew Python
In reply to this message
Perhaps because in the nominators contract is no "randomizer" of addresses as a public key.
AS
14:12
Artem S
In reply to this message
I didn't get your explanation. Can you explain it more precisely?
D
14:14
Dario
In reply to this message
A vanity address is just a regular address, but they made a brute force to generate a lot of keypairs until they get an address that end with whales
AS
14:15
Artem S
In reply to this message
Yep, I was thinking the same way. It seems to me that you can use any address for the contract.
D
14:15
Dario
In reply to this message
Yes sure
AS
14:15
Artem S
Thank you
PP
16:04
PABLO PRIETO
Sorry, newbie here. What is TON account?. I got an api key and have a wallet, but I'm trying to test the API and don't know what to put. Thanks in advance.
SF
16:18
Slava Fomin
In reply to this message
TON account is just a more general term for a contract instance. E.g. your wallet is an account. Addresses are used to uniquely identify the accounts.
SF
17:20
Slava Fomin
Please keep the conversation in English
17:20
Russian chat is available here: @tondev
КК
17:22
Кирилл Кирилл
Hello everyone, help me get a tone or earn it, where to write codes, how can I get it through tasks, tell me, teach me.
SF
17:23
Slava Fomin
In reply to this message
ton.org has a learn section. This would be a great place to start.
D
17:53
Dario
btw tondev broke with runGetMethod and tvm.Slice in the stack
(on testnet, where the patch should be implemented)
DV
18:01
Dan Volkov
In reply to this message
What error code?
18:01
And how to reproduce?
D
18:02
Dario
In reply to this message
gateway error

Error: response status is 504
18:03
In reply to this message
curl -X 'POST' \
'https://testnet.toncenter.com/api/v2/runGetMethod' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"address": "EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N",
"method": "get_wallet_address",
"stack": [
[
"tvm.Slice", {"data":{"b64":"te6ccsEBAQEAJAAAAEOAEHv6qlzG5TaOX5eZGIvXmM0i4EqxbR2OpPw3SAdB5jUQkykYFg=="}}
]
]
}'
18:03
pretty sure that im serializing the address wrong, but i did not expect that this can break tvm_valuetypes (?)
DV
18:03
Dan Volkov
In reply to this message
tvm.Slice accepts string with serialized base64 boc, not json
18:04
In reply to this message
Yea, tvm_valuetypes is not resistant to wrong payloads
D
18:04
Dario
In reply to this message
still this need to be fixed (?)
18:05
In reply to this message
wait
DV
18:05
Dan Volkov
You probably need to replace tvm.Slice with simple “slice”
18:05
And also json should be stringified
18:05
And it should have “len” field in data
D
18:06
Dario
In reply to this message
why a nested stringfied json
DV
18:06
Dan Volkov
In reply to this message
¯\_(ツ)_/¯
AS
18:10
Artem S
What is an "adnl_addr" in elector contract? Is it IP address of validator node?
D
18:28
Dario
In reply to this message
done, thanks seems to work
DV
18:29
Dan Volkov
In reply to this message
It is exactly ADNL address of machine in network, not IP
SG
18:38
Serge Grigorenko
In reply to this message
I made a PR for tonweb https://github.com/toncenter/tonweb/pull/45/files today. I think you can get an idea out of it how tvm.Slice should be passed.
D
18:40
Dario
In reply to this message
oh nice, i was about to make one by myself. thanks, i hope they will patch mainnet soon too
SG
18:42
Serge Grigorenko
Yes, they have been aware of it already. Hopefully they will make it in the nearest time as this thing is very important for the jetton flow.
AS
18:44
Artem S
In reply to this message
Where can I read more about the ADNL address? How actual routing is performed, by that I mean how IP address of machine is detected by ADNL address.
N
19:22
Noël
is
continue_sending

implemented or will I have to do myself?
IK
19:32
Ilya Koz
Could somebody help me with installing Lite Client to Mac M1 chip?
19:34
Most errors are : does not contain a CMakeLists.txt file.
DV
19:35
Dan Volkov
In reply to this message
AS
19:36
Artem S
In reply to this message
Thank you
21 April 2022
T
00:21
Tonox DeFi
T
Tonox DeFi 21.04.2022 00:19:51
News:

Released the first utility token: XTON.
A wrapped Toncoin token, which can be traded on his own swap. There is also a testnet version.
This token will be used for trading pairs on the upcoming Tonox Dex.
Here you can find the source code.

Note: this contract has not been audited (yet), nor formally verified. Use at your own risk.
TF
01:36
Tom Ford
What programming language are you guys deving?
AS
04:10
Artem S
Hello. Am I right that mytonctrl is using locally stored private key to send stakes? It means that it acts as a hot wallet. IMHO, it is a high risk to store so much coins in a hot wallet. Is there any way to use a contract to hold all the money and use mytonctrl to send messages to that contract and the contract will send stakes to the elector?
SF
04:11
Slava Fomin
In reply to this message
The wallet IS a contract :)
AS
04:13
Artem S
In reply to this message
Yes, but you can move all money from it using a move coins command. And it can be done by using local pk. I don't want that that.
04:13
I would like to be able to move coins using some secure wallet.
04:13
Which is not controlled by mytonctrl.
04:14
In short, I would like to use custom contract in mytonctrl instead of the wallet generated by default.
SF
04:15
Slava Fomin
I guess you will need to write a very specific custom contract if you would like to have various access levels and multiple keys.
AS
04:17
Artem S
I understand that. Currently I'm worried that mytonctrl stores private key locally which can be used to withdraw all the money. If a server gets compromised and private key is stolen, you will lose all the money. Am I right?
SF
04:20
Slava Fomin
I'm afraid I will need to leave this question to a people well versed in validators. I don't want to speculate.
04:21
But your assumption sounds reasonable.
AS
04:21
Artem S
Okay, thank you for your efforts
SF
04:26
Slava Fomin
You could also look into the nominators implementation. There should be some security measures, like funds delegation. This could set you on the right track.
AS
04:30
Artem S
In reply to this message
I examined their contract. They use controller contract (which is not published) to perform all stake operations, and only owner (not published) contract can perform critical operations. But I do not know if they are using mytonctrl to run the actual node or just a regular full node, which should act as a validator if it finds its public key in the elector lists.
04:31
If there is someone from whales corp. Maybe, he could give an explanation.
04:32
In my opinion those contracts should be publicly available, but for some reason they are not.
SF
04:34
Slava Fomin
I was under the impression that their solution was open sourced. Well, too bad.
AS
04:34
Artem S
In reply to this message
It is, partly.
04:35
Only the pool and proxy contracts are published. Maybe controller and owner are just a regular wallets (too me it seems quite true) that's why they were not published.
DW
04:36
Daniella Wilson
In reply to this message
👋
SF
04:37
Slava Fomin
In any case I would appreciate it if you would share your findings in the future. That is a good question.
AS
04:38
Artem S
In reply to this message
Okay, no problem
DW
04:39
Daniella Wilson
Hello everyone
zz
05:11
zz z
hi Is this the right address?
05:12
DW
05:14
Daniella Wilson
Hello
S
05:39
Step
@slavafomin can you direct me to example tonweb code of wallet subscription processing?
s
05:43
s
I wanted to know that now, if I want, currency ton To the address that Memo What should I do if I deposit?


like the
Address:
EQA0KjWeODV8CDloEp_d3fBJ71xHMVv77ydQWjVr-fAtZSqw
Memo :
YGSSa1UEJZj

I want to deposit in this currency, what should I do? Can your money changer deposit money to this address ?! Since I just entered the address, the currency did not reach the destination, how should I deposit money to this address?
AS
06:28
Artem S
In reply to this message
@slavafomin is it possible to pin this message and next 2 after it?
A
08:52
Antons
Can anyone suggest TON smart contract development tools like Hardhat and Ganache?
08:58
Deleted Account
Hello, may I know why my TON full node sync speed so slow, after 1 day the database only 0.05GB

Mytoncore status: working
Local validator status: working
Local validator out of sync: 1650520294 s
Local validator database size: 0.05 Gb

Anyone have this problem before?
BN
09:33
Bill No
I'm sorry, but I just want to ask one question.
09:33
In the process of converting ton coins through https://ton.org/bridge/, the gas pee was set low. My transaction has been canceled, can I get a refund?
A
09:42
Antons
In reply to this message
If your transaction has been cancelled, you won't be charged
09:43
TON COIN evaporated after the transaction was canceled.
F
09:48
F
In reply to this message
BN
09:51
Bill No
In reply to this message
thank you!!
AR
09:54
Aeen Rahimpour
hi there is there any problem for buy and sell for Toncoin in exchanges?
09:54
Dear valued customer,

Thank you for contacting us. Firstly, we are sorry to hear that you are facing with difficulty in accessing your TONCOIN balance.

Pertaining to the query, please be informed that TONCOIN token is having migration from TONCOIN to TON token which has taken place on 20th April 2022. All activities related to this token will be suspended (such as deposit/withdrawal and trading) and your asset balance will not be shown since the real market price cannot be retrieved during the migration.

However, please do not worry as the asset valuation will be back to normal once the migration has been completed. In the meantime, we are unable to provide a specific timeframe for the completion but we will surely make an announcement once everything has been completed and stable. As for the migration news, we advice you to read our article that has been published for further clarification

this msg came from OkeyEX
09:55
and this is for coinEX
AR
10:17
Aeen Rahimpour
any help?
10:17
please
10:17
10:18
10:18
H
10:25
Hartmann D.
In reply to this message
Hi. This is chat for developers. Please use next time other chats for such a question.

You can find the answer right here https://t.me/toncoin/390
AR
10:29
Aeen Rahimpour
In reply to this message
thank you my friend🌹🌹
H
10:29
Hartmann D.
In reply to this message
Always welcome 👌
H
11:17
Head In IT
Hello!
Who can help with a question? How to publish a smart contract on the testnet?
A
11:46
Arshia
A
Arshia 21.04.2022 11:37:25
hi , i use Ton to BSC bridge and it’s Stick in 4/9 confirmation !
what should i do
A
11:48
Arshia
i really need help
11:48
In reply to this message
H
11:48
Hartmann D.
In reply to this message
Just wait
A
11:49
Arshia
In reply to this message
it’s been about 1H

do you any idea how much should i wait?
H
11:51
Hartmann D.
In reply to this message
No, I don't know how much, unfortunately but the issue is known, so please just wait.
A
11:52
Arshia
In reply to this message
is there any chance to lose my money?
H
11:52
Hartmann D.
In reply to this message
No, your money are safe.
A
11:52
Arshia
In reply to this message
thanks
SF
13:54
Slava Fomin
In reply to this message
There are technical tests here, maybe it could help you:

https://github.com/toncenter/tonweb/blob/master/src/test-wallet4.js
VM
14:14
Vardan Meliksetyan
Hi dear dev community, I work with Ton, and trying to create a wallet from code. I also have https://toncenter.com/api/v2/ and its postman version. But I can find request path how to creat wallet. From where I can find doc or info about it. Thx.
SF
14:19
Slava Fomin
In reply to this message
Hey! The TonCenter API only provides low-level features. You will need a library to create a wallet code. One such library is TonWeb for JavaScript.
VM
14:22
Vardan Meliksetyan
In reply to this message
Great, will check thx.
AS
14:29
Artem S
I would like to repeat my question:
AS
14:29
Artem S
SF
Slava Fomin 21.04.2022 04:26:39
You could also look into the nominators implementation. There should be some security measures, like funds delegation. This could set you on the right track.
AS
14:29
Artem S
AS
Artem S 21.04.2022 04:30:35
In reply to this message
I examined their contract. They use controller contract (which is not published) to perform all stake operations, and only owner (not published) contract can perform critical operations. But I do not know if they are using mytonctrl to run the actual node or just a regular full node, which should act as a validator if it finds its public key in the elector lists.
14:29
If there is someone from whales corp. Maybe, he could give an explanation.
14:29
In my opinion those contracts should be publicly available, but for some reason they are not.
VM
14:29
Vardan Meliksetyan
In reply to this message
One more question, I have api key it work. But where to get secretKey?
14:32
In reply to this message
SF
15:22
Slava Fomin
In reply to this message
You will need to generate a key pair from a random seed.
15:23
import TonWeb from 'tonweb';

const keyPair = TonWeb.utils.nacl.sign.keyPair.fromSeed(/** seed */);
const { publicKey, secretKey } = keyPair;
PM
15:24
Phosfor Man
Hello everybody . Got a question! Is it possible to write smart contract for renting nft, for example its sending on other wallet ,but those who rent cant sell it , only send it back ?
SF
15:25
Slava Fomin
In reply to this message
@dvlkv hey! Can you chime in please?
T
15:26
Tonox DeFi
In reply to this message
Sure, just create a proxy contract which will be the owner of the nft
DV
15:26
Dan Volkov
In reply to this message
Source code of our nominators pool is available here.
PM
15:28
Phosfor Man
In reply to this message
Yep, but if this is gamefi nft (Skin for example), not sure that those who rented will be allow to the game with a proxy contranct nft or not?
DV
15:29
Dan Volkov
In reply to this message
We are using mytonctrl, like a regular validators
T
15:31
Tonox DeFi
In reply to this message
Yeah, you need to care also about this logic.

Or you can create a custom nft token with this logic which "fake" the ownership if its rented
15:31
But you cant use official ntfs contracts, you have to write your own (and make sure its a standard one)
PM
15:33
Phosfor Man
In reply to this message
Uff strange thing)
15:33
Thank you mate
T
15:33
Tonox DeFi
Nothing dude
AS
16:00
Artem S
In reply to this message
But mytonctrl stakes using local wallet balance... Did you change that part?
А
16:01
Андрей
Hi guys. What is the easiest way to prove TON-wallet ownership?
Almost all cryptowallets have “sign message” functionallity to sing text using private key, but I wasn’t able to find such thing in TON cryptowallets. Maybe it will be added in the future?
P.S. Example of using “sing message” to prove wallet ownership: https://www.youtube.com/watch?v=Zanbc1KYLiw
AS
16:02
Artem S
In reply to this message
It's just a regular cryptography. You can easily sign any message if you have private key or public key and known algorithm. It is not related to blockchain.
SF
16:06
Slava Fomin
In reply to this message
Send some unique predefined message from the wallet using transfer.
А
16:07
Андрей
In reply to this message
I know it, but I would like to find user-friendly way to do it (e.g. sign a message using the UI and send the signature to the web service you want to verify ownership of)
SF
16:09
Slava Fomin
In reply to this message
The public key must be shared somehow for this to work.
А
16:09
Андрей
In reply to this message
sounds 👍
I’ll check it out, thanks
16:10
In reply to this message
Is there problem in sharing your public key to some web-service?
T
16:11
Tonox DeFi
In reply to this message
const signature = await window.ton.send(
'ton_rawSign',
[{
data: 'RAWDATA'
}]
);
16:11
This is how you can sign message via ton web wallet
AS
16:15
Artem S
In reply to this message
Ofcourse
SF
16:42
Slava Fomin
In reply to this message
And even if you know the public key, it is not that trivial to verify if it corresponds to the specific account.
AS
16:43
Artem S
In reply to this message
It's true
16:45
With ethereum wallets we used some sophisticated mechanism to derive public address from signed message.
s
17:25
smbydk
Hi everyone! Could someone help me find out how to locate every NFT which is owned by specific address via API? Is it even possible? I never worked with blockchains before so I lack a lot of technical knowledge there.

Thanks in advance!
AS
17:28
Aleksandr Shepelev
In reply to this message
not possible via blockchain and there is no API that allows to do it for now
17:29
basically to solve this problem someone should index every block, find out which nfts are minted and add them to some local index.

and make api for it for example or use this data later

you cannot simply ask blockchain
17:32
there is also second option that can partially solve problem.

you can check all data about collection and nfts inside if you know collection address

so you could index popular collections or ask user to provide address for collection if they own some nft and want to see it in your service
s
18:00
smbydk
In reply to this message
Thanks for detailed answer! I appreciate it.
S
18:43
Step
In reply to this message
this will auto deduct 1 ton from wallet automatically every 30 seconds for 2minutes?
H
18:49
Head In IT
HelloWho help me with smart contract?
M
19:29
Mosu
Hello,i want to trade toncoin/usdt on okx,but they told me to wait for the migration from toncoin to tontoken.What should i do?
SF
19:33
Slava Fomin
In reply to this message
This chat is only for development questions.
M
19:34
Mosu
Aa ok sorry
22 April 2022
zz
05:40
zz z
hi Given the transaction hash of out, can we know the corresponding transaction hash of in @slavafomin
DC
05:56
Daniel Chung
whats the minimum amount of token needed to run a validator?
06:08
is it still 10k?
06:14
i remember reading on the website stating that the to run a validator needed a minimum of 10k TON and the rest of the token can be from the nominators ?
AS
06:17
Aleksandr Shepelev
In reply to this message
yes, but there is no magic in the world. You need to attract these nominators somehow, nobody will just give you the rest of tokens. So I would say that you still need full load of tokens (300k or so) to run it, only after that people could come.

also you need to deploy nominators contract
DC
06:21
Daniel Chung
In reply to this message
Ah okay, let me do more research on it. So just having 10k token is not enough to start a validator i suppose? hardware aside
06:21
thanks for answering my questions btw :)
06:22
Deleted Account
Anyone try build ton node byself?
AS
06:23
Aleksandr Shepelev
In reply to this message
🤷‍♂️ I guess you could start but you will not win any elections
A
10:07
Asu
Hi all, can anyone please share some resources/docs on how to create NFT collection on TON?
AI
10:38
Alex Ign
Hello dear community. Maybe someone know how will work TON storage wich announcing in 2022 q4
SF
14:25
Slava Fomin
In reply to this message
You can start one in testnet without capital.
AS
14:27
Aleksandr Shepelev
In reply to this message
only in private net I guess?
14:28
because even in testnest you need testcoins and it is much harder to find them than usual tons
i
14:30
isoscele 💎
In reply to this message
Is there a way to certificate that the smart contract in mainnet is the same of testnet? Same code I mean
DC
14:30
Daniel Chung
hmmm I would love to run a production node eventually
14:31
still figuring out how or if it is even possible to get those nominators to join ahahahaha
D
14:32
Dario
In reply to this message
actualy if you are able to raise a full node and you can prove it, you just need ask to @f_closer and he will send you the toncoin needed for a node (in testnet)
14:33
In reply to this message
same address
i
14:36
isoscele 💎
In reply to this message
Well since testnet is another Blockchain, can't I configure on the mainnet a smart contract A and on testnet the smart contract B on same address but different net? 2 times sendfile. One time I do it on liteclient testnet and one time on liteclient mainnet but with same keypair
SF
14:49
Slava Fomin
In reply to this message
I guess it should work.
I
14:52
Inokent 💎
In reply to this message
Send money from testnet to main :D
SF
14:53
Slava Fomin
In reply to this message
There must be a very expensive bridge for that :)
i
14:54
isoscele 💎
In reply to this message
I was thinking of a way to certificate that 2 address (potentially on different nets) have same code
14:55
Is there anything already around?
14:55
Like hash of the entire code to be returned as a get function of the contract or idk
15:01
Same code, same data, same address
AP
15:10
Andrew Python
In reply to this message
Can you upload contract code to verifier?
https://tonwhales.com/tools/verify
D
15:11
Dario
In reply to this message
sure
i
15:12
isoscele 💎
In reply to this message
Yes but the fact that 2 smart contracts have same address doesn't imply they have same code or data right?
15:15
Same dude will handle them cause same keypair but the fact that they have same code and data is not something necessarily true
D
15:18
Dario
In reply to this message
well you need to use this code to verify the contract
https://github.com/TonoxDeFi/XTON/blob/main/build/builded.func
15:19
Code hash
FzP3n0fSSih6OjK52QY4r6xbZ5cKrEIV8TeDIRWSi+o=
AP
15:20
Andrew Python
In reply to this message
+
B
15:26
Berk
Hello there ı ve been mining ton coin , been holding on macostonwallet but cant send to my ftx ton adress
15:27
I ve triedy yesterday to send small amount of it but they all gone
SF
15:40
Slava Fomin
In reply to this message
Are you talking about hash collisions? )
15:43
TON address is mostly a hash of the state init, which consists of the contract code and data. Therefore address represents the code of the contract and could be used to verify it.
VT
17:27
Vladimir Tamara Patiño
Hi, some days ago I sent a PR to add support for OpenBSD/adJ to ton: https://github.com/newton-blockchain/ton/pull/85
T
17:30
TON technical overview
In reply to this message
Hello, Vladimir. We will consider your PR, however since it is not high priority it can take some time. Thank you for your patience!
VT
17:33
Vladimir Tamara Patiño
Thank you.
s
19:28
smbydk
Hi everyone! Could somebody help me to find TON deep link structure? I want to create a QR code which can be used in TON Standard Wallet to automatically fulfill blank fields.

Thanks in advance!
19:31
I found a deeplink structure in docs. If someone would ever need it - that's how it looks:
ton://transfer/<wallet_address>?amount=<amount_in_nano>&text=<uuid>
s
19:47
smbydk
In reply to this message
The link still behaves very unexpectedly in Tonkeeper and doesn't add amount to Standard Wallet 🙁
А
19:49
Абас
/здесь по русски пишут?
s
19:52
smbydk
In reply to this message
https://t.me/tondev for Russian dev chat 🙂
H
19:53
Hunter
I had a failed transaction using the bridge, is there a way to either retry the transaction or get my Ton coin back?
A
20:08
Arvin
hello everybody
20:09
how create token jetton in toncoin network?
H
20:37
Hunter
Does anyone know if the ETH bridge returns TON back to your wallet if the contract transaction fails on the ETH side?
SF
20:44
Slava Fomin
In reply to this message
Contact the @ton_help_bot
H
20:48
Hunter
In reply to this message
Thank you for the info.
i
22:48
isoscele 💎
In reply to this message
So watching the ton address (the one we send money to) we can understand what type of contract it is? 😱
DW
22:57
Daniella Wilson
In reply to this message
Hello
23 April 2022
GH
00:41
Gabor Hajdu
Hey guys. Somebody can help me why i dont see in de TonBoot my hasrate from de minner?
GH
00:57
Gabor Hajdu
Maybe iam not in the good place i see now. Support can i find somewhere?
AS
01:15
Artem S
In reply to this message
😮
1. Does it mean that a contract does not have a private key?
2. Will it's address change in case of source code update?
3. Is it possible to update storage data via set_code or only source code will be updated?
SF
02:04
Slava Fomin
In reply to this message
1. Public key is part of the data, so contract is tied to your private key and the address depend on it as well.

I'm not too sure about the other two points, so I won't speculate. The contract developers will be able to answer it better.
AS
02:04
Artem S
In reply to this message
Oh, i see
D
02:26
Dario
In reply to this message
2. Nope
3. No, to update "storage" you need to use set_data
AS
02:27
Artem S
In reply to this message
Thank you
D
02:28
Dario
In reply to this message
Also dont think too much about private/public keys. Thats how wallet works because there are primitives to check signatures, but in fact you can do anything, you can even accept message externally just by some condition
AS
02:29
Artem S
In reply to this message
👍
i
03:00
isoscele 💎
So one of the checks that happen when the owner interacts with the smartcontract is the signature check:
TVM loads the signature from the in_msg (512 bit) and compares it with the encrypted (with public_key of smart contract) of the hash of the message arrived minus the first 512 bit.
If the signature equals the encrypt(hash(in_msg[512:])) the check is passed. Right?
A
03:51
Arvin
In reply to this message
?
SF
04:10
Slava Fomin
In reply to this message
u
14:23
username
Hi guys
Could you help me with these basic questions?
What is ton os and tonoscli? (https://github.com/tonlabs/tonos-cli)
toncli made for same purpose? (https://github.com/disintar/toncli)

Are there more jetone examples except of this one? (https://github.com/KoteCoin/token-contract)
O
14:44
Omid
How to connect to the telegram robot and make payment?
AS
14:46
Aleksandr Shepelev
In reply to this message
ton os and tonos cli made for everscale - another blockchain (that is also based on telegram initial source code)
u
14:49
username
Thanks
Didn’t know about everscale

is there cli for ton network?
AS
14:51
Aleksandr Shepelev
ton cli is a tool to simplify smart-contract development

what do you mean by cli for ton network?

there is https://github.com/ton-blockchain/mytonctrl maybe, but didnt get what you want exactly
U
15:37
USSR Pays
give me smart-contract jettons toncoin please
SF
15:38
Slava Fomin
In reply to this message
I don't understand what do you want. Could you explain better?
P
15:38
Purple
In reply to this message
If you mean dex, no one will give you the code now. Teams are working on it
U
15:39
USSR Pays
In reply to this message
I need a code to run my 21,000,000 tokens on the toncoin blockchain.
15:42
In reply to this message
thank you
SF
17:14
Slava Fomin
In reply to this message
Hey. This group is for TON development questions. You will find plenty of great groups related to Telegram bot development.
VM
17:15
Vardan Meliksetyan
In reply to this message
Ok thx
SF
17:15
Slava Fomin
In reply to this message
This one is particularly good:
https://t.me/grammyjs
Anibal Suarez invited Anibal Suarez
AR
21:19
Aleksei Rutkovskii
In reply to this message
Have you found an answer to your question?
A
21:28
Alex
Hello, how can you load the balance of the smart contract?
VM
23:16
Vardan Meliksetyan
Good day dear community. I have a question, are there an opportunity to get from api ton to euro/usd exchange rates?
https://toncenter.com/api/v2/
ИК
23:20
Игорь Коняхин
In reply to this message
You should probably look for specific exchange API, not toncenter API
VM
23:21
Vardan Meliksetyan
In reply to this message
Any good example ?
ИК
23:21
Игорь Коняхин
No, I am not well versed in exchanges
VM
23:21
Vardan Meliksetyan
In reply to this message
Thx
SF
24 April 2022
A
00:09
Alex
How can you convert the func code to HEX to use it in js?
03:13
Deleted Account
Did anyone success on building full node with this repo?

https://github.com/ton-blockchain/mytonctrl
03:14
I can’t sync to the network. After follow the instructions.
zz
04:30
zz z
hello. how can i get transaction hash of in by transaction hash of out @slavafomin
zz
05:09
zz z
Can you provide RPC for this? Browser queries now seem to be manual to see quantity and time, and address to compare
Exchange maintenance costs are a little high, manual query if it is a long time ago records have to turn over for a long time
See API should not have this service, or is there any way to turn itself
H
07:06
Hero
hello
07:09
Ive transfer all my ton from telegram to my ton wallet but its not show there in wallet what should I do
??
13:37
🫀Ovцa00X 💰
Hi, is it any guide about FunC language?
AP
13:38
Andrew Python
In reply to this message
O
13:59
Omid
In reply to this message
no
13:59
@foile/crypto-pay-api
14:03
@foile/crypto-pay-api

npm i @foile/crypto-pay-api

This library does not run at all.
I do not know why he makes a mistake
I tested in vscode environment.
14:03
WA
14:03
Witer33 Aaªº°°°
In reply to this message
I recommend using https://github.com/witer33/toncenter with the PaymentReceiver
14:04
Here's an example bot that uses this library, @ProxyRollerBot. Send /pay to generate a fake invoice on the testnet.
O
14:08
Omid
In reply to this message
This is in Python. Not an example of react or php?
14:09
In reply to this message
const { CryptoPay } = require('@foile/crypto-pay-api');
WA
14:09
Witer33 Aaªº°°°
In reply to this message
Python is good for telegram bots
AP
14:12
Andrey Pfau
In reply to this message
AS
14:27
Aleksandr Shepelev
In reply to this message
this chat not about cryptobot api development, please move to cryptobot api support chat.

feel free to ask question about ton development here
O
14:32
Omid
In reply to this message
Please provide the channel ID?
AS
14:33
Aleksandr Shepelev
In reply to this message
T
14:36
Tonox DeFi
In reply to this message
I honestly do not suggest to use crypto api, for two reasons: first, the fees are huge, second its not worth it because the user must use a centralized wallet (even if its a good service), but we already have a fast and low fees blockchain. To receive a payment just generate a random string that identify an user and scan the wallet using getTransactions api from toncenter
14:38
In reply to this message
If you want to make payments, there are libs for js (tonweb or tonmadelinejs), go or even php using madelinephp
O
14:46
Omid
In reply to this message
Thank you very much for your explanation.
C
17:18
Christopher
Afternoon. I see toncoin is going through a coin migration. How do we migrate toncoin being held in wallet?
VM
17:18
Vardan Meliksetyan
Dear community, I have a question, are there any api response, where "shorter wallet address " I can take and show in my app?
M
18:13
Mahmoud
hi
i send toncoin from @wallet to coinex
but faild😭
please help me
SF
18:39
Slava Fomin
In reply to this message
This chat is only for development questions. Please contact the support of the services involved.
18:39
In reply to this message
Hey. What migration are you talking about?
18:40
In reply to this message
What is "shorter wallet address"?
C
18:41
Christopher
In reply to this message
See on OKX toncoin or OKX is going through some coin migration
AS
18:42
Aleksandr Shepelev
In reply to this message
your coins in your wallet don't need to be migrated, nothing changed everywhere but inside okex
C
18:42
Christopher
In reply to this message
Really? That's great news
SF
18:46
Slava Fomin
In reply to this message
They are just changing the TON symbol on OKX. It doesn't affect anything in TON itself.
C
18:48
Christopher
Thank you so much for that information!
L
18:52
Luna
Why not try ftx
M
18:56
Mahmoud
In reply to this message
please give me link
VM
18:57
Vardan Meliksetyan
In reply to this message
Thx for respone. It hasn't. I will orgnise an othet way, will show ID from local system.
ИК
19:18
Игорь Коняхин
Anyone has TON Windows binaries?
They are not possible to download anymore:
https://github.com/newton-blockchain/ton/actions/runs/1713804021
B
19:26
Bael
Greetings guys, I think it is not the right place but I do not know where to ask, I am trying to make a deposit in the OKX exchange but it tells me that the network does not work, I have looked in FTX for example and it uses the ERC20 network, is there another exchange that can use with the Toncoin network?
SF
19:28
Slava Fomin
In reply to this message
You are right. This is the wrong place to ask. Please use the general TON chat.
B
19:30
Bael
In reply to this message
The other two official channels are blocked from writing, which one are you referring to?
SF
19:37
Slava Fomin
In reply to this message
19:37
Question: it seems to usually take around 15 seconds for a TON transaction payment from one wallet address to another. I understood from ton.org/analysis that this should take less than 6 seconds? Why does it take ca. 15 seconds? And is this a quite fixed duration, even if the number of transactions goes up 100 times the current number per second, it will remain at 15 seconds or be longer? I measure the time from when I hit send on the wallet, to when it arrives at a constantly refreshing blockchain explorer page for destination wallet.
SF
19:39
Slava Fomin
In reply to this message
It takes around 5 seconds for each block to be mined in TON. However, your transaction must find its way to the block using the TON network, a network of nodes. Like any network it doesn't work instantly. And there a nodes that work better than the others. So it explains the duration.
19:41
In reply to this message
Is there any comparison to other cryptocurrency networks, in other words, is TON still faster than all of them given the above?
19:42
The nodes may also depend on my location. If I am in the DPRK for example, and go via a VPN to Japan, then it may be slower than sending between two wallets in Germany, is that correct?
SF
19:43
Slava Fomin
In reply to this message
I'm not aware of such comparison. And it won't be very fair even if it existed, because the network conditions could change drastically very often.
19:44
In reply to this message
I'm not an expert in TON networking, but I would guess that it would depend on your location relative to the location of other TON nodes, especially the validators.
19:48
This brings to another question, decentralisation: we have no way to know for sure, I guess, the physical locations of validators. Assuming there are more in NAM, EU, URS, but none of few in most of Africa, Myanmar, Laos, etc, so if any of those countries close their internet or throttle it to the world wide pipes (as has happened on occasions even in developed countries such as Egypt, Thailand, etc), what effects would this have on TON transactions? Can they still in fact take place, or does it require a validator within reach? 2) Would the introduction of TON Web somehow improve upon those censorship possibilities? If anyone has any ideas, it would be appreciated, as it is a question I've been asked a few times already.
SF
19:50
Slava Fomin
In reply to this message
That would depend on the entry point. When sending the transaction you still need to connect to at least one node or a proxy server like TonCenter. If your Internet is blocked you won't be able to reach the nodes, besides using the VPN.
19:51
Nodes are just servers with their IPs and stuff.
19:53
In reply to this message
Is there some way that those of us who are in such locations, which are subject to such closing of internet pipes (and the population at large is really not much affected by it as they mostly only use national services), can do without being validators, to help mitigate or improve that situation? I.E. operation of a node would be doable with less resources? If this information is in the known documentation, just refer me to read it again with this in mind))
19:54
I imagine that TON Proxy may be a big help in this regard when it comes out?
SF
19:56
Slava Fomin
In reply to this message
I would guess that setting up a node with the good communication channels, e.g. good VPN connection (or multiple back-up connections) would help. But still, I'm not an expert in this subject.
A
20:29
Alex
is there a way to close Ton Wallet extension from code?
25 April 2022
B
04:47
Brand
Updated Explorer "YourTON"

https://youton.org/explorer/address/EQC5VTeQo1K7T0fWJvdiymrjJTUAXVhk3RsZoxzehh0qU4Yo

Now it shows on the main course and in general it has become functional, tomorrow they will comb it in general, it will be cute, there is a dark / light theme and multilingualism is present 🥰
JJ
06:00
Jeff Jeff Wade (husband)
OKX and CoinEX closed TON deposits until TON migration completes. Do we know when that will happen?
06:01
oh, just read the recent chat on this. Will check out the other channels
A
07:07
Antons
In TON blockchain, are there any token standards like in EVM blockchains, like ERC20, ERC721, ERC1155, and so on?
AS
07:33
Artem S
In whitepaper it is declared that "the global set of validators is
elected once each month (actually, every 2^19 masterchain blocks)." But as I understand validators are currently elected for 65536 seconds (config 15). Am I correct? Why this period is so small compared to what initially was planned?
AS
07:52
Artem S
Where can I find detailed description of all config params?
a
09:03
amirali
Will ibc transferring add to TON 💎💎 ?
MS
09:27
Mikhail Salkov
Hi, where can I see an example of a contract with the set_code method?
d
12:24
doni
In reply to this message
elector contract
12:25
Does anyone know or have an example how can i store a static address in func,
Im thinking about using the asm command, but Im not sure what is the syntax for a const slice

int gas_consumption() asm "10000000 PUSHINT";
it would be

slice myaddr() asm "Ef8E9kxq-_890Q2LpnB3kKyWcNVA83qUSLAze6pqWpKsrB5K' $>smca 2drop Addr";
is it possible ?
T
13:11
Tonox DeFi
In reply to this message
var code = message~load_ref();

set_code(code);
ИК
14:57
Игорь Коняхин
In reply to this message
x{0055bb} PUSHSLICE
AT
16:06
Andrey Tvorozhkov
👋🏻 We want to continue the development of toncli :)

We want to build an open improvement process. To do this, we have write out all the planned tasks in the board and we will keep it up to date.

If you want to get involved in the work, you can take any of the outstanding issues.

Or help with advice in those issues in which work is currently underway:

- Improve func tests (many thanks to @bminaiev for showing interest with help in this task) - here you can discuss a new tests format (running several identical messages, one function for everything (without prepare separation, ...))

- Add test-utils with rich predefined functions for tests (thanks a lot @cerberuzzz for showing interest with the help in this task) - here you can write what predefined functions you want (parsing c5, ...)

Also, many thanks to the Ton Foundation for supporting toncli :)
A
16:14
Ali
Hi
Is this contract address correct?
Does Toncoin has bnb contract?
I
16:15
Inokent 💎
In reply to this message
I
16:37
I
Is there a TON testnet explorer people like to use?
AT
16:47
Andrey Tvorozhkov
In reply to this message
test.tonwhales.com is top1 for development right now

Also testnet.ton.cx / test-explorer.toncoin.org are good
T
16:49
Tonic
perfect!
16:50
And is there a working Testnet faucet? Having trouble with @testgiver_ton_bot
AT
16:51
Andrey Tvorozhkov
In reply to this message
Give a wallet address, will send some
T
16:51
Tonic
Not a scalable faucet solution 🙂
AT
16:51
Andrey Tvorozhkov
In reply to this message
😂
16:51
It's true)
T
17:08
TON technical overview
In reply to this message
I heard it is migrating to new version atm, should work soon
VM
19:49
Vardan Meliksetyan
Dear developers, I have a question. Has Ton JavaScript SDK an opportunity send webhook or callback to my server www.server.com/success, when transaction successful/fail/pending done to my wallet. Thx.
SF
19:50
Slava Fomin
In reply to this message
No, you will have to poll for it right now.
VM
19:51
Vardan Meliksetyan
In reply to this message
Ok, so I have now only 1 way, make request myself and check transaction status. Am I right?
SF
19:52
Slava Fomin
In reply to this message
Yes
A
21:15
Alex
What is this Error -> Exit Code: 9: Cell underflow
ИК
21:26
Игорь Коняхин
It means you read more data from the cell than there is available
T
21:32
TON technical overview
In reply to this message
KW
22:18
Konstantin W
Does anyone know where to find an example of creating an NFT? Where can i read about it for TON ?
KW
22:19
Konstantin W
thanks!
oR
22:43
oliver R
👋
22:52
Hello. Just to clarify the situation .... After the end of mining POW (38), will I still be able to stake my coins and have a potential profit of about 10%? I use a TONHUB wallet for android with the possibility of staking. ? Many thanks.
VM
23:13
Vardan Meliksetyan
Dear devs, I have any other question.
Which api request returns QR code(wallet address)? I must use QR code or redirect url to open app with given wallet address, data?
SF
23:22
Slava Fomin
In reply to this message
I don't think that such API exists. You can easily generate QR-codes yourself. Just use the TON URL protocol.
VM
23:25
Vardan Meliksetyan
In reply to this message
Ok thx l, tomorrow will try that way.
23:26
In reply to this message
Are there any good example?
SF
23:35
Slava Fomin
ton://transfer/<wallet_address>?amount=<amount_in_nano>
VM
23:38
Vardan Meliksetyan
In reply to this message
Thx
26 April 2022
A
03:04
ASR
Hi, I used TON bridge to send TON to TON (ERC20) in changelly. For gas fee, i used metamask and that contract is stuck. If I cancel that, how will I get back my original Toncoin I sent to TonBridge from my TonWallet ?
T
07:21
TON technical overview
In reply to this message
This is development chat, contact @ton_help_bot
NJ
09:49
Nelson Junior
Hi,
My bot toncoin don't work more, frozen values.
Please help me
16:15
Deleted Account
Hi, wanna ask questions regarding validator nodes. So when someone becomes a validator node, the staking will come into affect in the next election, right? If it tries to unstake, it will also take into effect in the next election? Also, how long is one election?
16:45
Hi
16:49
Who can help with smart contracts?
I did not understand how to publish smart contracts.
??
20:35
🫀Ovцa00X 💰
Hi is it any guides about FunC besides documentation, and do I understand correctly that smart contracts develops on FunC?
o
20:37
outluch
In reply to this message
google: ton func docs
??
20:38
🫀Ovцa00X 💰
In reply to this message
I know about docks, I asked you about any other way to learn about FunC
o
20:39
outluch
ah sorry, understood you. I am in same position - I think we should read smart contracts written by others. Github etc
e
21:36
elektra_wizard
Any courses on FunC programming Language?
ИК
21:43
Игорь Коняхин
In reply to this message
No
Basically just: https://ton.org/docs/#/
And some whitepapers
e
21:47
elektra_wizard
In reply to this message
OK thank you
RN
23:31
Roman Navrotskyi
Hello, I have a problem. I sent money from Tonkeeper to Metamask via CoinBridge but it's stuck somewhere. I Specified when sending the amount with a commission.