27 April 2022
FD
06:30
Full Stack Dev
what is difference between string_hash and slice_hash in func?
06:32
Any requirements to call string_hash?
Yesterday, I saw it worked correctly. but I can't calculate sha256 in smart contract using string_hash today.
Please help me.
09:44
Is there any reason NOT to use v3 addresses to receive coin? They will work just as well receiving?
T
09:46
TON technical overview
In reply to this message
There is no strings (as a type) in TVM and in funC as well
09:47
and then what is it?
T
09:49
TON technical overview
In reply to this message
Any wallet will work as it is programmed regardless of anything else. The only thing that may change is that some software may not support some versions. But there is no signs that v3 will not be supported
09:54
In reply to this message
I indeed misread your message. Store_hash will hash bytes stored in slice.
So if you store less than 128 byte bytestring into slice and use sha256u in TVM you should get the same result as hashing this bytestring with sha256 hash
09:59
In reply to this message
As I thought. The reason I ask is the OKX migration TONCOIN-TON debacle. Finally after a week we can withdraw. Withdrew as usual to usual v3 address. Never before any problems. This time Received 3 emails confirmed withdrawal approved and not pending. Half hour later still not on blockchain. The help page in such cases says to contact the receiving blockchain. The only difference was I used single letter comment but TON doesn’t require comment anyway. I suspect OKX system is somehow at fault.
11:39
In reply to this message
Using the OKX transaction link, to browse with explorer.toncoin.org it comes up with [Error : 602 : no account workchain id] -- what's with that?
11:43
In reply to this message
Though it does that with all past previous successful withdrawals, so it is probably OKX system giving a wrong transaction browser link
O
11:57
Omid
Is there a json library for making nft and token? I work with php
12:07
Someone wrote nft, I need help
SA
13:09
Sinax Ahmadi
hello every body. I withdraw some TON coin from OKex to my TONKEEPER wallet but my TONs does not received to my wallet. in OKex in TXID show link below Error : 602 : no account workchain id .
13:10
who can help me?
T
13:13
Tonox DeFi
In reply to this message
Thats the address of okx exchange, not yours. In any case, this isn't the right place to.ask
13:13
In reply to this message
The same problem. I think the OKX migration isn’t complete and is very faulty. Keep in touch directly maybe we can create an OKX “victim” support group lol
T
13:13
Tonox DeFi
Go to okx support
13:14
In reply to this message
Defi is defi-nitely the way to go))
T
13:14
Tonox DeFi
In reply to this message
Yeah, we need a dex on ton asap
13:15
In reply to this message
We really do. Is anyone working on that?
T
13:15
Tonox DeFi
In reply to this message
Yes, i am for example
W
13:21
Wrong💎
In reply to this message
OKX's official announcement says withdrawals will resume on April 29th, still need to wait two days
SA
13:23
Sinax Ahmadi
In reply to this message
ohh, thank you for your support.
O
20:51
Omid
qw.PNG
Not included, change data exporting settings to download.
25.4 KB
20:52
What are these two addresses in this function?

collectionContentUri: 'http://localhost:63342/nft-marketplace/my_collection.json',
nftItemContentBaseUri: 'http://localhost:63342/nft-marketplace/',
VM
23:30
Vardan Meliksetyan
Dear Ton dev community. We have 2 way to use ton wallet

1. deposits-multi-wallet
Here we will look at how to accept deposits. Each user will have their own deposit address.

2. deposits-single-wallet
Here we will look at how to accept deposits to a single wallet.

I have 2 questions.
A. For which task we can use 1st or 2nd way and why(pluses and minuses )?
B. And how much fees we must pay for 1 & 2.

Thx
28 April 2022
SW
06:03
Sheng-Tang Wong
Hi guys, I am new to TON. I am wondering why TON team develop a whole new virtual machine and language for the ecosystem instead of using such as WASM runtime, which allows developer to develop smart contract in any other modern languages?
L
06:43
LPHG1
resulting in millions of transactions per second.

does this had benchmark or test?
06:45
i want know per chain can handle how many transactions per second.
07:50
Deleted Account
did anyone success on building full node or validator node with "MyTonCtrl"?
AS
07:51
Artem S
In reply to this message
90% of nodes use mytonctrl
07:52
Deleted Account
@dlartagnan Sir, did you built one of them?
07:52
Deleted Account
In reply to this message
Because it’s always the same soup, telegram devs prefers to build protocols by theirselves instead of using existing ones.

For example with the cryptography model used to encrypt messages
07:52
Deleted Account
I was stuck at the sync part, I feel its cant even start to sync to the network
07:53
1 node with Ubuntu 20, ran around 1 week, DB size only 0.32Gb
07:53
All ports are open, firewall didn't running.
AS
07:54
Artem S
In reply to this message
That's sad I can't help there. Maybe it depends on where your node is located?
07:55
Deleted Account
My nodes located at US area.
07:55
Currently Ton only support which area?
AS
07:55
Artem S
It should work globally
07:56
Deleted Account
I'm also curious
07:57
keep gettin this error message
getnextkey: [Error : 651 : not inited]
07:57
and this

[download-state.cpp:232][!downloadstatereq(-1,8000000000000000,19935509)] failed to download state : [Error : 651 : state not found]
AS
07:58
Artem S
In reply to this message
🤷‍♂️
07:59
Deleted Account
😭
AS
07:59
Artem S
I'm just a regular dev, I think you should ask someone who runs node in the US
07:59
Deleted Account
Did ton have discord community group?
AS
08:00
Artem S
IDK
H
08:06
Hartmann D.
In reply to this message
No, we don't.
T
09:46
TON technical overview
In reply to this message
Both approaches are suitable for deposits.
The difference is in who will bear the burden of complexity:
1) When you have one deposit address and distinguish users by comment, you need to
a) ask users to use only wallets which can generate transfers with comments (so no deposits from general DAPPs)
b) it is more difficult for user to check that money arrived (for instance, when using deposit address as donation address: other people will deposit to it)
c) dealing with user's mistakes (no memo, etc)
but
d) you just check transactions only on one address and manage funds on it
2) When you have individual deposit address for each user
a) User may deposit to his address the way he wants
b) Easy to check whole history of deposits
but
c) deposit system should keep eye on many addresses and manage transfers separately which is more difficult
N
09:59
Nicholas Tee
Hi everyone, my transaction at the bridge failed for BSC.
10:00
How do i retrieve my coins back
H
10:28
Hartmann D.
In reply to this message
This is the chat for the dev talks only. Please address your issue to the @ton_help_bot. Thank you.
N
10:37
Nicholas Tee
Ok tq
SW
10:44
Sheng-Tang Wong
In reply to this message
Okay, but what's the advantage of TVM as a smart contract platform comparing to other smart contract platforms such as EVM or WASM?
VM
11:39
Vardan Meliksetyan
We have 2 way to use ton wallet

1. deposits-multi-wallet
Here we will look at how to accept deposits. Each user will have their own deposit address.

2. deposits-single-wallet
Here we will look at how to accept deposits to a single wallet.

I have 2 questions.
A. For which task we can use 1st or 2nd way and why(pluses and minuses )?
B. And how much fees we must pay for 1 & 2.

Thx
T
11:44
TON technical overview
In reply to this message
TON uses special way of data structure for storing everything called Cells. Such structures are handy for sharding, data deduplication, pruning and creating proofs of existence.
TVM is virtual machine that is especially friendly for Cells organization of code and data.
S
12:05
Siqi@InfStones
@abslzero @slavafomin Hey there, is it possible that we could talk in DM, wanna bring up a collaboration proposal.
H
12:07
Hartmann D.
In reply to this message
Hi. You can send your proposal to @ton_help_bot. The guys will redirect it to the right person.
S
12:07
Siqi@InfStones
In reply to this message
Great thx!
H
12:10
Hartmann D.
In reply to this message
You are welcome.
SW
12:52
Sheng-Tang Wong
In reply to this message
Got it! Thanks. I'll look into how TON work.
d
13:05
doni
Question of how to pass Address to the rpc server using tonweb client

thats the example JS
let res = await tonweb.call(address, "get_wallet_address", [["cell", address]]);

the func code (JettonMinter.fc)
slice get_wallet_address(slice owner_address) method_id

So how do i serliaze the address properly
Should i use Cell.bits.writeAddress ?

and should i use "cell_slice" instead of cell ?
let res = await tonweb.call(address, "get_wallet_address", [["cell_slice", address]]);

Thanks !
13:59
Deleted Account
In reply to this message
I don’t know man, TON white paper is like 300 pages
RA
14:50
Roman Antonov
Hello everyone ! Is there is some way to remove unused smart-contract from testnet/mainnet in reason to reduce bloating of the network ?
T
14:51
Tonox DeFi
In reply to this message
send_raw_message() with 160 as mode

its kinda useless because the blockchain store everything in any case
RA
16:41
Roman Antonov
I'm pretty newbie, so sorry if my questions will confuse. Questions about past contest.

1. There is playground repository task-1-playground with tests/example.fc tests code.
String #48 is always FAIL.
throw_if(101, ds~load_uint(64) != 10); ;; check if counter has been changed
But the counter is changes with internal message function (checked by total~dump()). I miss something, or just tests not proper written ?
https://github.com/disintar/task-1-playground/blob/master/tests/example.fc

2. Can i use this tests for each 1-5 tasks, or i must create my test for each task, because logic are totally different ?

I know that contest is finished, but i'm still interesting to up my skills before next one. 🤓
d
16:53
doni
Does Anyone know how to serlize a slice when using toncenetr api ?

for example ?
let res = await tonweb.call(address, "get_wallet_address", [["slice", address]]);

how address param should be serlaized
T
VM
18:35
Vardan Meliksetyan
Hi all, my question is:
I create from code lot of wallets for our wallet & "Contract Type" is "unknown contract". But I noticed, what some of has "wallet v4 r2", "Wallet V3". Thx
OB
19:02
Oleg Baranov
Hi guys, i have released golang lib for interacting TON - fully native ADNL and lite clientt implementation
https://github.com/xssnick/tonutils-go

Currently implemented cell+boc, interaction with contract get methods, master block information get. Its in active development now and im planning to implemeent more featuures soon. If you have somee ideas what to implement, please let me know :)

It supports connection with multiple lite servers in the same time, have queries balancing and concurrent safe.
T
19:10
Tonox DeFi
In reply to this message
if you want, you can try to make a simple proxy server, and then compile the lib for wasm so it can be used for dapps
19:10
it would be a true liteclient in the browser
OB
19:13
Oleg Baranov
In reply to this message
Interesting idea, ty :) Isn’t web lite client exists already?
T
19:14
Tonox DeFi
In reply to this message
Tonweb isnt a real "lite-client", every cryptographic proof is done on the server, so data are untrusted
19:14
I will forward some interesting (i hope) stuff i wrote a couple of days ago
19:16
"maybe you can add another p2p layer over webrtc, so each peer "act" as lite server or just propagate packets to other peer

we would have a lightning network over webrtc"
29 April 2022
1
01:37
1
Hi,guys )
I am noob in technical things, but I need to speak with someone who can in simple words explain me what language should be use to create apps with Ton
A
02:52
Alex
How can you take out balance from marketplace smart contract?
나영
09:34
나 영오
I didn't even apply for withdrawal.
Moved to another wallet.
What happened?
??
10:30
🫀Ovцa00X 💰
Hi, is FunC and C++ ton api perform the same function?
AP
10:32
Andrey Pfau
In reply to this message
FunC - TVM specific programming language for smart contracts
Z
12:24
Zed
Hi, do you know where the application for the smart contract is for validators and getting nominators?
DK
13:30
Dan Kamilov
Hi guys! Do you have some info about Smart contracts on TON?
T
14:00
TON technical overview
In reply to this message
We do have some info about smart contract in TON on https://ton.org/docs/#/ (there is whole section there)
FD
15:27
Full Stack Dev
How to deploy NFT from my smart contract?
I understand I should send message to nft collection contract using send_raw_message, but I can't find any correct message format.
Please help me.
15:27
My code is here.
15:28
I think the message is incorrect.
15:29
Transactions seem to have no errors
15:29
But new NFT is not minted
Z
16:02
Zed
Does anyone know when the nominators smart contract will be done?
T
16:09
TON technical overview
In reply to this message
It is not yet released (under review for now)
Z
16:09
Zed
In reply to this message
Thank you
T
16:10
Tonox DeFi
In reply to this message
yeah but since its public i think its a good study case
N
16:25
Nikita
Hello! Are there ton scans with open api at the moment?
A
17:06
Ali
In reply to this message
N
17:07
Nikita
Ty, but unfortunately there is not what I need among them, then I need to create my own
A
17:08
Ali
In reply to this message
why not
FD
17:29
Full Stack Dev
How to represent addr_none in javascript while using tonweb library
SF
17:30
Slava Fomin
In reply to this message
You will probably need to call writeAddress() with undefined value.
SF
20:00
Slava Fomin
This English chat is only for development questions.
30 April 2022
S
01:50
Serhii
Hello, where i can find testnets on TON?
A
04:24
Azzambaihaqi
What is TON?
AP
04:30
Andrey Pfau
In reply to this message
A
04:47
Azzambaihaqi
In reply to this message
Thanks
AP
10:06
Andrey Pfau
I
IntelliJ TON Development 30.04.2022 09:58:35
Release 0.8.0 now on JetBrains Marketplace

What’s New?
Impure functions smart-inspections (#17)
TON-specific words in spellchecker dictionary (#16)
Fixed:
Ternary expression statements (#15)
Code suggestions don't show after . (dot) (#13)
DE
10:54
Dimon Ergiev
how much space is needed for a full node
T
10:57
Tonox DeFi
In reply to this message
2tb ssd at least
Z
11:00
Zed
hi, i am trying to set up a full validator and I get this error:
11:00
make[1]: *** [CMakeFiles/Makefile2:7077: crypto/CMakeFiles/fift.dir/rule] Error 2
make: *** [Makefile:1882: fift] Error 2
11:01
any ideas on how to fix, also i see that there is a toninstaller.sh, but no referrence to it in the notes..
D
11:06
Dario
By the way, i would like to point out that the func complier doesn't do any kind of type checking. For example, this is valid;

var stuff = begin_cell()
.write_uint(5,3);

stuff = stuff.write_uint(5,3)
.end_cell();

Should i open an issue?
12:16
Deleted Account
will the Ton be listed in any exchange?
12:21
Deleted Account
In reply to this message
it is already on small and big exchanges, what specific exchanger are you asking for?
AP
12:26
Andrey Pfau
In reply to this message
12:53
Deleted Account
I am just work for UEEx exchange, we have a lot of Chinese customers. Our p2p with chinese yuan is also very good. I am looking for TON expert for cooperate.
Z
13:19
Zed
Mytonctrl status shows validator status= -1
How to fix?
13:35
Deleted Account
How to mine?
В
16:21
Влад
Good afternoon, I would like to pass on information about people posing as developers and offering to participate in a fraudulent financial scheme on behalf of the TON community.
Can you tell me where this can be done?
VT
19:30
Vladimir Tamara Patiño
Is there a channel in english for mining TON? I have tried in the Russian one, but some minutes after joining, I was expelled (already twice).
J
22:58
Joe
Hi guys, Where can i get info about creating a token on TON Blockchain?
T
23:01
Tonox DeFi
In reply to this message
You can use minter.tonox.exchange


Otherwise, there some some resources in tonweb repo and in ton-blockchain repos.

Also, feel free to check here,
github.com/tonoxdefi
J
23:04
Joe
Thanks I'm on it
DE
23:04
Dimon Ergiev
In reply to this message
Thanks
1 May 2022
JH
08:09
J H
In reply to this message
Seriously, it's already on FTX, OKX, gate.io. those are all the top 10 exchange in the world, you really ought to be doing more homework, like google toncoin on coinmaketcap?
p
08:41
po
Hello
p
09:00
po
Is there English chat channel ?
I
09:05
Inokent 💎
In reply to this message
DE
10:26
Dimon Ergiev
Please tell me where to mine in solo, only toncoin ?
I searched on the chat, but did not find an answer.
Thank you for attention!
p
10:49
po
How to mint NFT by contract? ( not using service to mint )
Or Is there way to mint 10000 NFT cheap?
A
15:04
Alex
How do you use .boc file of smart contract?
K
15:05
Kyrie
hey there
15:06
hey mate, you are Sam I think
15:06
In reply to this message
may i know you are the admin or official guys ?
15:08
sure, good to see you here
15:08
who can i contact if i got marketing issue on $toncoin?
15:09
abt the listing
A
15:32
Alex
How do you hardcode a address inside a contract?
@
15:55
@spicynet support
hi I want tot add domain for validator. What is <site-adnl-addr> ?
15:55
how can I withdraw from validator wallet?
О
16:02
Олег
In reply to this message
18:41
Deleted Account
hi
18:42
image_2022-05-01_18-42-00.png
Not included, change data exporting settings to download.
125.8 KB
let res = new TonWeb.token.jetton.JettonWallet(tonweb.provider, {
ownerAddress: new TonWeb.Address(address),
jettonAddress: new TonWeb.Address(address2)
});
res = await res.getData();
What -13 error code?
jp
18:43
jrg pal pas
Not error 13
19:06
Deleted Account
In reply to this message
?
T
19:09
TON technical overview
In reply to this message
Contract is not deployed
19:26
Deleted Account
In reply to this message
deployed, i am checking on tonscan
A
20:10
Alex
Does any1 knows how to hardcode an address in smart contract?
GL
20:19
George Linkoln
In reply to this message
Ton Listed at crypto bot and on BestChange
d
20:21
doni
In reply to this message
So the address is a hash of the stateInit the code ,

so basicly if you change the initial sotrage of the contract , you are changing the future address of the contract,
but contract address is deterministic ( and its knowen before you deploy)
A
20:35
Alex
In reply to this message
i mean how do you specify an address inside a contract is this working? slice address() asm "EQCo-bMVwKFDCfWJxFAaePND8k6ZfX9Awvzm9NFzbZc8AVCi PUSHSLICE"
d
20:36
doni
you want hardcode an address? as a constant ?

or pass it to the storage as an argument ?
A
20:37
Alex
constant
A
22:15
Alex
In reply to this message
Do you know how?
2 May 2022
MM
03:38
Money Machine
hello I want to know how much you pay for each mhs (toncoin) today
A
06:27
And you dont mi
Hi. I need developer smartcontract
d
07:10
doni
In reply to this message
you can pass the address to the sotrage , as part of the initializations of the contract
Z
11:05
Zed
Hi, does anyone know when the nominators function for people wanting to become validators but don't have enough ton become live?
A
11:14
Alex
In reply to this message
Its what i did 👍
12:41
™©0®€™
tons of substitutes for eth mining, please extend the mining of tons, I support tons
12:44
ton dev please extend mining
AP
12:45
Andrey Pfau
In reply to this message
No.
12:45
™©0®€™
In reply to this message
Yes la
AG
12:49
Alex Golev
In reply to this message
if you support tons, you can't support mining
M
13:21
MYK
Turkey group
N
14:30
Nikita
Which server is needed to deploy a full lightweight TON node, both for the testnet and for mainnet?
14:32
And will it be necessary to expand HDD size in future from growth of blocks?
PB
14:36
Pi3 Block
Any good start tuto to dev a telegram bot with SmartContract interaction ?
14:36
Or is documentation the best way for the moment ?
14:37
🙏
H
15:32
HappyDrop
In reply to this message
For what?
FD
16:12
Full Stack Dev
Can I send NFT item to addr_none?
D
16:49
Dario
Are there any public ton-http-api instance for the testnet? i'm using the toncenter one but it is broken, the rungetmethod does not work anymore with slices
SF
16:51
Slava Fomin
In reply to this message
Are you sure that the problem is with TC?
D
16:52
Dario
In reply to this message
yes, i got stack: [ [ 'num', '0x0' ] ],
every time (just like before the patch)
16:52
and yesterday everything worked (?)
r
17:29
roki
Hi
17:29
How can check ton balance?
CZ
18:19
Chak Zefir
In reply to this message
r
18:21
roki
@chak_zefir can with telegram bot channel?
CZ
18:22
Chak Zefir
In reply to this message
Depends on which wallet do you use. However, you could write your own bot and integrate it with HTTP API
J
18:48
John
hello, good afternoon, I have a problem when viewing the mining power in the telegram bot, in the miner it says that it is mining without problems but it does not show me the balance, it always says 0. What could be the problem? Thanks in advance
SF
18:52
Slava Fomin
In reply to this message
I'm sorry. This chat is only for development questions.
J
18:53
John
Oh, okay sorry
RG
19:07
Ruslan Gabdullin
In reply to this message
Another way is to call similar method from the Python library: https://pypi.org/project/pytonlib/
SF
19:14
Slava Fomin
In reply to this message
The name is pushka 👍🏻
RD
20:07
Roman Deev
P
Polus Ecosystem Announcements 02.05.2022 20:05:49
IMPROVED JETTON SMART CONTRACT 📃

Friends and colleagues! It has long been no secret to many of you that the BITON team has done a lot of work on DEX and the token standard.

Soon we will show you the MVP DEX, but even now our team is ready to present you something new - a modified minter of tokens with ICO 🎉

We have carried out a complete refactoring of the source code of the token minter and added ICO functionality to it. And, of course, our standard works perfectly and is fully compatible with the original one. 🙌🏻

Q: So what did you do? 🧐
A: Firstly, a complete refactoring of the code. The code has become much clearer and more readable!
Secondly, we have limited the mint of new tokens.

Now a little bit about the ICO functionality and its impact:

- the ability to purchase tokens by sending TONs directly to the smart contract;
- we’ve fixed a bug with old wallets that indicated that there was a comment for transaction even if was none;
- added limits for ICO time and number of tokens;
- the ability to withdraw coins by the creator from the ICO minter;
- fifth scripts for testnet & mainnet deploy.

Our repository is always at your service: https://github.com/BITONdev/btn-token-smc

Stay tuned. 🤪
SF
20:54
Slava Fomin
In reply to this message
I'm sorry, but this chat is only for development questions.
20:55
I've think I have been off this planet for some decades, and now returned to find that almost every young person thinks the world owes them, everyone is a slave, no please, no thank you. Few put in any effort to even do basic research, or to check history of a chat, or what the chat is for. I say this in general. So, @slavafomin greatest of respects for your help to the community, your great patience! Feel free to delete this off topic message.
SF
20:56
Slava Fomin
In reply to this message
Thank you for your kind words. OpenSource is hard, but it worth it :)
T
21:36
TON is for pussies
M
Ministry of $KOTE 🐈 02.05.2022 21:34:05
Where's The DEX?

While the community has its eyes on NFTs 🦩, the fight for dominance on the DEX market had already begun ⚔️.

Decentralized exchanges are a must-have mechanism for any chain – demonstrating hundreds of $millions in trading volume. This May, there'll be more than a few jettons 🪙 that need to be traded, and more than a few DEXes that will handle it.

We're aware of three DEXes in active development 🏗 by three teams: BITON, Tegro, and Tonox. The first one promises to drop an MVP in a matter of days, the second one announced its plans just recently, while the third one had already begun mainnet trading (yet with poor design and only one jetton on the list – its own token).

Unlike CEXes, decentralized platforms will make it easier for projects to get their jettons out there. Running a DEX will also open a whole new world of opportunities like liquidity pools 🩱, governance 👑, staking, lend/borrow – everything to make DeFi possible on TON. And the competition for the no.1 DEX title gets stronger every day as we watch it 👀
DB
21:44
Dmitriy Bukhvalov
Hello, confused with TON networks. Can I use this python binding to access toncoin sdk or it only for everscale?
https://github.com/move-ton/ton-client-py
T
21:51
Tonox DeFi
In reply to this message
a small clarification: WTON is not a dex, it is simply a swap to tokenize the native ton currency, toncoin.

the currency of the dex will be called tox
21:52
so, there is no dex on mainnet, yet
P
21:53
Pee
Is there any site that lists all tokens currently on mainnet?? Are there even any tokens?
SF
21:53
Slava Fomin
In reply to this message
You should probably avoid anything that says everscale in it.
21:53
At least if you have no experience to make such judgement yourself.
T
21:55
Tonox DeFi
In reply to this message
no, for now some token appaered on the blockchain but they are just ripoff of official smart contracts and they are not even suitable for dexs (for example, you shouldnt issue the entire supply via an ico)
21:55
soon you will be able to trade tokens on tonox.exchange
P
22:02
Pee
In reply to this message
So if I get you correctly, there no known token on main net
T
22:03
Tonox DeFi
In reply to this message
there are some, like WTON

https://tonscan.org/address/EQAK5EkHMiBDFnE_aURwVGCzJV8UO4HgN0P_t-GesaAa1jdB

(here you can find the source code)
A
23:50
Andrew
Hi everyone!
Can anyone suggest, how to check via ton api if the wallet is owner of some nft. I saw this possibility on tonscan, but don't find any method to check it by api.Thank you in advance
3 May 2022
??
02:03
🫀Ovцa00X 💰
I read about FunC syntax, variables types, but I still not understand how to make smart contracts, how to receive transactions, messages
SF
02:04
Slava Fomin
In reply to this message
Welcome to the club 😁
AT
02:08
Andrey Tvorozhkov
In reply to this message
😂
02:09
In reply to this message
Try to start with toncli quick start guide
??
02:09
🫀Ovцa00X 💰
In reply to this message
Thanks
M
05:06
Monster media
Hi is there a tutorial how to create your own token on the TON blockchain ?

Can this newly created token be peck to the Toncoins value or its own value?
06:47
Deleted Account
Market cap is a mystery
R
07:56
Russell💰
Hi, Does anyone knows how to adjust gas fee when transfer?
07:57
I found the gas fee is very high when I use tonkeeper to do a transfer
JH
08:36
J H
0.0056 ton, I think it's alright, compare to 0.1 eth. or erc20
08:38
it's about 1 cent USD?
R
09:00
Russell💰
It's higher than FTX withdraw gas fee
09:00
Like 5 times
09:00
For ETH, the user has rights to adjust gas fee
09:01
I don't see there is an option in Tonkeeper
AS
09:02
Aleksandr Shepelev
In reply to this message
it is not possible
09:02
In reply to this message
tonkeeper shows fee incorrectly on preview, they show 0.03
09:03
in fact, fees are about 0.005 or so
R
09:05
Russell💰
09:05
So I believe there is a way to adjust gas fee when do a transfer
AS
09:08
Aleksandr Shepelev
In reply to this message
no, ts just shows not full data
R
09:09
Russell💰
In reply to this message
? It's a data in the chain.
09:09
Tonscan
AS
09:09
Aleksandr Shepelev
when transaction is incoming, tonscan doesn't show fees spent on sending
09:10
just check same transaction, but on another address
09:10
you will see same ~0.005
R
09:11
Russell💰
I see
09:11
So the tonscan display has issue?
AS
09:12
Aleksandr Shepelev
In reply to this message
well it is not an issue. it is how ton works. there is no "TRANSACTION". every transaction is two messages
09:12
one is out, one is in
09:12
so total fee is fee for out message + fee for in message
09:13
and when you look on address which is received tx, you see only one part
R
11:43
Russell💰
Does anyone knows when Ledger will support TON?
11:45
I found there is a source code in github but no official application in Ledger
P
16:12
Parwaiz
Hi, is there someone to instruct me for opening account with TON and the way of usage
D
18:57
Dario
@tvorogme im getting error: undefined function invoke_method, defining a global function of unknown typewith toncli, ive updated the tool, what could be the issue?
AT
21:05
Andrey Tvorozhkov
In reply to this message
And what command you try to run?
D
21:09
Dario
In reply to this message
toncli run_tests
AT
21:11
Andrey Tvorozhkov
In reply to this message
Maybe you can PM you code / share repo, I need more information
21:12
Also contributors totally rewrite all tests process and it will be very cool soon :))
D
21:13
Dario
In reply to this message
Yeah, i saw it, im trying to use the "new " version of tests
21:14
check pm
4 May 2022
09:45
Deleted Account
is this eth fork? just like avalanche?
AS
09:46
Aleksandr Shepelev
In reply to this message
nope, another layer 1 blockchain with different architecture
09:46
Deleted Account
what language are u using?
09:48
is this blockchain support solidity
AS
09:48
Aleksandr Shepelev
In reply to this message
no, there is separate language to develop smart contracts
09:48
Deleted Account
what language sir
AS
09:48
Aleksandr Shepelev
In reply to this message
funC
09:49
Deleted Account
c++ ?
AS
09:50
Aleksandr Shepelev
In reply to this message
09:52
In reply to this message
09:52
Deleted Account
when released sir?
09:53
is it stealt launch or presale
CZ
10:59
Chak Zefir
In reply to this message
Please avoid blah-blah talks in here. This channel is for dev communications and assistance in tough questions.

Start with https://ton.org. People were working hard to make sure it has all the materials you need and they structured in the right way to eat.

If you would still have questions after reading through the main docs and website drop them to community https://ton.org/community/
Any other questions related to developing DApps/Smart contracts could be adressed into this chat.

Keep it clean. Thank you.
S
11:38
Skybirdbits
In every blockchain we need to create a node inside our server
Is it possible connect to the block directly to do something like get balances and transfer deposits directly by client?
(Connect to the network directly without server to do these tasks)
M
14:16
Mr. B
Hi guys, is it possible to reach any help here related to validator installation (I've got issue with Local validator out of sync value), would appreciate this help much.
VM
21:14
Vardan Meliksetyan
Hi community, I have a special question.
I have main 1 wallet and lot of for example 20k sub-wallets.

My main issue, is to track when one of this sub-wallets get transaction. There isn't ready webhook, callback function to do it. Are there any good idea or solution?
SF
21:22
Slava Fomin
In reply to this message
VM
21:31
Vardan Meliksetyan
In reply to this message
Thx will check one more time )
5 May 2022
VM
00:41
Vardan Meliksetyan
In reply to this message
Can you advise me, how right to open this url in telegram. It does not work. ton://transfer/${user.wallet_address}?amount=1&text=${uuidv4()}
SF
01:33
Slava Fomin
In reply to this message
What do you mean by "to open in Telegram"?
U
01:44
USSR Pays
there are people here who know how to make games and tie them to a toncoin,
SF
01:54
Slava Fomin
In reply to this message
If you would like to post a project/vacancy, please do it properly.
01:57
In reply to this message
I don't think so.
01:58
In reply to this message
This chat will be your best option right now.
02:01
In reply to this message
This chat is for developers only.
A
02:02
ARAZ
In reply to this message
Thank you for the way.
S
03:39
Skybirdbits
In reply to this message
Could somebody guide me?
05:17
≧◡≦
Hi
S
05:47
Siqi@InfStones
Hey guys, does anyone know how to separate the signing key from the rewards key in TON staking?
05:48
@slavafomin @abslzero Could u kindly help?
SF
05:50
Slava Fomin
In reply to this message
Hey! Sorry, but it's not my area of expertise at the moment. I hope someone more involved with the subject will help.
S
05:54
Siqi@InfStones
In reply to this message
Okayy thx. Could u help with some ambiguities about the staking metrics? The docs don't seem clear enough~
06:35
Deleted Account
@slavafomin @abslzero Hi both, just have a list of questions regarding the staking matrics as im doing the research, could you please kindly answer those? Thanks🤝🤝

1. What's the lockup duration of TON staking? How long do I need to lock my TON tokens for staking?
2. When will my stake take effect after staking? Will it start to generate rewards from the next election cycle and how many hours would it take?
3. When will it take to withdraw my previously staked TON?
4. Do I need to claim the staking rewards manually or the rewards will be distributed automatically?
5. Is there a maximum amount restriction for TON staking?
K
09:00
Kang
Hi guys, does anyone know how to figure out the decimal scale for ton balance from getBalance?
VM
14:46
Vardan Meliksetyan
Hi guys, I would like to ask, how much size is ton blockchain size?

https://github.com/neodiX42/MyLocalTon/blob/main/screens/MyLocalTon-alpha-demo.gif
JN
15:30
John Navas
hello guys, I just entered the chat, help me with the link for the configuration of my Wallet bot here in Telegram
VM
16:50
Vardan Meliksetyan
In reply to this message
Welcome, what kind of help do you need?
JN
16:54
John Navas
Thanks, I found all the information on the official page of The open network
D
17:00
Developer
Hello guys is ton.app working for u?
VP
17:03
Vladimir Plotvinov
In reply to this message
502
D
17:05
Developer
In reply to this message
Yup
17:39
≧◡≦
Hi
k
17:54
kane
Is the official website broken now?
S
19:34
Siqi@InfStones
In reply to this message
Hey guys could anyone kindly help with this?
安俊
19:38
安田 俊樹
In reply to this message
It's back rn
19:39
Might just be a temporary site updates or fix
V
20:34
Vova
hello, I'm trying to automate the payment in my bot, can you tell me how to access the api correctly? Do I need to separately launch a function that will parse transactions after a period of time, or is there another way?
SF
20:42
Slava Fomin
You should query the Blockchain for data regarding your transactions. Are you using a single address or multiple addresses for payments?
V
20:45
Vova
I use one address. now I get a json file from the api/v2 link every 30 seconds, but sometimes I get an error about frequent requests. I also ran into the problem of simultaneously launching the bot and the parsing function
SF
20:47
Slava Fomin
You should start your own TonCenter instance in your infrastructure. The public server has strict RPS limits.
20:49
What kind of errors do you have with the bot?
V
20:50
Vova
In reply to this message
I found the TON API BOT bot, they gave me some kind of key, but I didn’t understand why
20:51
In reply to this message
There are no problems with the bot, there is only ignorance of how to simultaneously launch the bot and an endless loop in which parsing will take place (this is my 1 bot, I'm currently learning)
SF
20:53
Slava Fomin
I would suggest you to run a payment confirmation routine as a separate process. This approach will be more scalable.
20:54
Look for microservice architecture and horizontal scalability.
V
20:55
Vova
In reply to this message
understood thanks
20:56
In reply to this message
and where to go so that you can make more requests?
20:59
If you are just starting you can use the public TonCenter with the API key.
V
21:01
Vova
thanks, I'll try now
S
23:31
Skybirdbits
How should I create a ton wallet without node requirement just connect to the network directly?
6 May 2022
su
03:13
sorry for u
In reply to this message
same question
t
03:56
talkol
Hi fellow smart contract developers. It took me a long time to figure out FunC and get a decent development environment with automated tests and a deployment script.

I ended up creating a starter project - a template with all the boilerplate of how to get a good form project going:

https://github.com/ton-defi-org/tonstarter-contracts

Take a look and star this repo if you find it useful. Feedback welcome in issues.
AS
09:14
Artem S
In reply to this message
Really good job!
AS
10:09
Artem S
In reply to this message
I think it would be good to create separate package for deploy and test helpers, and install them as dependencies for this starter template. Also I've noticed that it is not cross-platform. Maybe you should get rid off the bash scripts? Also, fift executables should be distributed from official repo.
A
10:40
Armen
Could you guys advise what if I have 350k of TON, to whom I should write to get a validator approved?
KM
10:55
Kirill Malev
Can I use FunC to solve https://projecteuler.net/ tasks ?
t
10:55
talkol
In reply to this message
Isn’t it permissionless? I don’t think you need to tell anyone, if you have stake you participate
KM
10:56
Kirill Malev
i.e. is there a console application for that?
10:56
In reply to this message
thank you for sharing that!
t
10:58
talkol
In reply to this message
Yes, I definitely plan to make the build and deploy scripts separate libraries after collecting some feedback on building and deploying complex projects. The project should be cross platform, the bash is only to support Glitch online IDE.

I don’t have a Windows machine and I’ll be happy if somebody can tell me if everything is working there
AS
10:58
Artem S
In reply to this message
mytonctrl
KM
10:58
Kirill Malev
In reply to this message
thx
t
10:59
talkol
Distributing fift executables is difficult from the official repo since they’re missing many architectures (like Mac M1 and Ubunutu 16). So I had to create my alternatives, but I provide links to the official too if somebody prefers to take from there
AS
10:59
Artem S
In reply to this message
- It will break on postinstall 100%
- deploy:testnet will also break
t
11:00
talkol
In reply to this message
Good point! what breaks deploy testnet?
11:00
The paths?
AS
11:00
Artem S
In reply to this message
There is no export command in windows
t
11:01
talkol
It’s a shame I can’t run Windows on docker, will be so much easier to test. I’ll get a laptop from a friend and make sure it’s cross platform
AS
11:01
Artem S
image_2022-05-06_15-01-29.png
Not included, change data exporting settings to download.
8.3 KB
in powershell you can set ENV variables using $env:VARIABLE = 1
11:01
In reply to this message
You can run windows using VM.
11:02
In reply to this message
t
11:03
talkol
In reply to this message
All the bash stuff is just for Glitch it doesn’t need to run at all on Windows, I’ll fix it no worries
AS
11:04
Artem S
In reply to this message
👍
T
12:55
TON technical overview
In reply to this message
t
12:56
talkol
In reply to this message
Oh thank you kind sir! Will improve further according to feedback!
JH
12:57
J H
Hi,Does anyone know what happened to the validator this morning?
t
12:58
talkol
I’m planning to complete two other starter projects that will go side by side. One for a web client in React and one for a telegram bot that interacts with the contract.
JH
13:00
J H
I've taken the screenshot from tonwhale this morning and saw the POS minting went really wrong.
13:00
Now is getting back to normal, but it's still pending, does anyone knows what happened?
13:06
I just got a scammer who texted me, omg....
13:06
someone from this Dev chat.
S
13:38
Skybirdbits
In reply to this message
They're everywhere
JH
13:45
J H
In reply to this message
ya, you are right, I just checked his name in this chat, he ran away, but he properly would use another account. 😮‍💨
S
13:55
Skybirdbits
In reply to this message
One of them was a phisher I presented him an empty account he blocked me 🥺
SF
14:30
Slava Fomin
Please keep the conversation to the development subject.
JH
14:51
J H
In reply to this message
Yes, how about the validator issue?
SF
15:08
Slava Fomin
Could you explain the issue in more details?
S
15:08
Skybirdbits
In reply to this message
Please give me some tips on how should I connect to a block without server requirement and node setting up
JH
15:11
J H
In reply to this message
The validators went wrong in this morning, all the POS minting became only half of what it should have.
15:11
In reply to this message
Here is the screenshot I took this morning.
S
15:11
Skybirdbits
In reply to this message
@slavafomin
is it possible to connect directly for getting balance and sending deposit at all?
JH
15:13
J H
I even checked a validator address, they had the same issue.
15:14
In reply to this message
Now it's back to normal, but may I ask what happened to the validators this morning?
SF
15:18
Slava Fomin
I'm not aware of that. You should better ask this question to the pool owners I guess.
S
15:19
Skybirdbits
In reply to this message
What about me?
JH
15:22
J H
In reply to this message
the weird thing is, it happened to 2 different staking pool and a validator.
15:24
if it only happened to a single staking pool, I would definitely think it's the pool owner's problem, that make sense, I'm not really look for trouble or anything, I'm just trouble shooting, hoping to improve the ton community.
15:27
sorry, cause it contents personal info. I must delete that message above.
VM
15:45
Vardan Meliksetyan
Hi, I have a question about this link
ton://transfer/<wallet_address>?amount=<amount_in_nano>&text=<uuid>

What does it means "amount_in_nano" for example 1 ton, how to convert 1ton to amount_in_nano?
SF
15:46
Slava Fomin
In reply to this message
Thank you for bringing this up. Actually, there was a network condition today, that happens every 3 days by design. All the nodes sync Blockchain state periodically by creating a persistent state in the filesystem. This process takes a lot of system resources, namely RAM. So the servers, with less RAM than optimal could freeze during this period. That what happend with the validators that you've mentioned. We are working on a permanent solution that will help to mitigate the problem. But the validators will need to increase the amount of available RAM if they want to avoid this issue during this time.
T
15:50
Tonox DeFi
In reply to this message
as you can see here, you need to multiply 1 with 1000000000
SF
15:50
Slava Fomin
In reply to this message
You just need to multiple 1 by 10^9.
15:51
Also, make sure that you use an appropriate data type that can handle big numbers.
JH
16:44
J H
In reply to this message
Thanks, that's perfectly explained everything,
7 May 2022
l
08:38
left
I have a question about how the front end connects to the smart contract and how to call the function method of the smart contract? Is there a demo?
SF
10:28
Slava Fomin
In reply to this message
Hey! TON web wallet would be a good example of such application.
10:31
It uses a TonWeb, a library that has a lot of functionality to interact with the Blockchain and the contracts.
l
10:40
left
In reply to this message
ye, I have used TonWeb.But I don't know if I connect successfully with the contract.
10:40
In reply to this message
10:44
In reply to this message
web3.js can call the contract method through the methods attribute, but I found through the source code that TonWen created a Contract object, and the methods attribute returned an empty object. So how should I call the function method of the smart contract?
SF
11:08
Slava Fomin
In reply to this message
I would suggest you to look at the contract implementations shipped with the TonWeb. There are a lot of examples. You will need to implement the Contract yourself and add the required methods to it.
11:09
Use the existing classes as a reference.
l
11:10
left
In reply to this message
this?
11:14
In reply to this message
So I can't directly call the methods of the contract like web3.js, and can only add the required methods through extend?
n
12:43
null
Hello World!
l
12:49
left
In reply to this message
i need this demo😂
12:50
Deleted Account
how to transfer NFT from one account to another? pls help... using lib on python
AP
13:30
Andrey Pfau
In reply to this message
It's for Ethereum
AP
13:32
Andrew Python
In reply to this message
What's the difference? 😄
AP
13:33
Andrey Pfau
In reply to this message
l
13:53
left
In reply to this message
hi,How should I call the smart contract method? Is there a hello world Demo?
s
14:30
shakou
14:30
Why is the data not synchronized?
I
16:08
Ivan
In reply to this message
testnet/testnetAPI have some problems...
A
16:24
Antons
Guys, be careful of scammers like this:
A
16:24
Antons
Deleted Account 07.05.2022 16:21:14
Unregistered and unvalidated TON are defenseless during stock market crashing
SF
18:49
Slava Fomin
In reply to this message
The idea is to extend the Contract class and to implement the specific behavior of your contract, yes.
l
18:53
left
In reply to this message
sorry。 Do you have a Demo on Github? Or simple ways to invoke smart contracts like Hello World are demo. I don't know exactly how to operate, thank you😂🙏
SF
18:57
Slava Fomin
In reply to this message
We don't have such contrived examples, but the repository contains implementation for various smart contracts. You should look at them and use them as a reference.
19:01
There is a TypeScript version of the codebase, which could be easier to read.
l
19:05
left
In reply to this message
Yes, I looked at that wallet, but it doesn't feel like what I want.
19:10
In reply to this message
Yes, I have read the code. But according to the source code, the methods property is an empty object.
19:10
SF
20:14
Slava Fomin
If you just need to invoke a contract get-method then you need to call this:
https://github.com/slavafomin/tonweb/blob/typescripted/src/http-provider/http-provider.ts#L266
20:15
In reply to this message
Consider the Contract as an abstract class. It must be implemented properly, before it can be used. You will need to define your own methods in your sub-class.
SA
20:23
Siamak Ahmadkhial
Hi
20:24
I had a question I can ask
SA
20:41
Siamak Ahmadkhial
I transferred some currency with toncoin wallet. Now the destination exchange wants the txid code. Where can I find this code?
SF
21:34
Slava Fomin
In reply to this message
You should better contact the support of the exchange in question. Also, this chat is only for development questions.
21:35
It's very uncommon for TON services to use TXID as transfer identification.
SA
21:35
Siamak Ahmadkhial
Please leave the URL of the site you posted again
8 May 2022
RS
00:34
Rozsafny Safran
Hi All, I just transfered TON to bridge, via smart contract. however nothing happened. after a while when nothing was happening, not even refresh of the page helped. So I hit cancel, however now it seems the coins are lost or will they be returned to original address?
SF
00:36
Slava Fomin
In reply to this message
Hello, please contact the @ton_help_bot. Also, this chat is only for development questions.
RS
00:37
Rozsafny Safran
sry my bad, sorry for interrupting.
SF
00:37
Slava Fomin
In reply to this message
No problem )
A
01:05
Alex
is there any doing a DEX for TON tokens?
t
01:53
talkol
In reply to this message
01:55
In reply to this message
https://github.com/ton-defi-org/tonstarter-contracts

There’s an example of how to call methods in the post deploy test (in build/main.deploy.ts)
SF
01:58
Slava Fomin
In reply to this message
starat? 😅
AT
02:00
Andrey Tvorozhkov
In reply to this message
🙈
22:57
Technical question if I may? After the “TONCOIN to TON migration” (or fiasco) OKX is doing 200 confirmations for deposits and 500 for withdrawals. This seems crazy? I thought Ton blockchain didn’t require this? If I’m right please confirm? Then if so Foundation would need to take this up with OKX on behalf of community. It would explain why withdrawals are taking days. Or is this normal and/or some technical reason for this?
SF
23:32
Slava Fomin
In reply to this message
You are right. TON doesn't require confirmations. I guess it's just a management decision.
9 May 2022
t
02:16
talkol
In reply to this message
Fixed, it’s now fully cross platform (tested on Mac, Windows, Linux)
T
06:12
Thiago
🚀🚀🚀🚀
l
11:39
left
code,address,wc, what do they represent?
11:40
Is address the address representing the smart contract?
SF
11:54
Slava Fomin
In reply to this message
It would be easier to study the source code in the TypeScript:
https://github.com/slavafomin/tonweb/blob/typescripted/src/contract/contract.ts#L49

It has better documentation and is more readable.
11:56
And I would suggest looking at the usage of the class in the sub-classes it would be easier to understand.
l
11:57
left
In reply to this message
ye, thank u, bro. i am studying. but I haven't learned how to use it yet.
11:59
this is my code, but there is an error.
12:00
12:01
Any ideas in layman's language what this means? It occurs from time to time in MacOS Wallet. Will this be a permanent error for that wallet address? What caused it? Is there historic data missing? What effects does it have? It's not a UX friendly message ))
SF
12:01
Slava Fomin
Don't import symbols using deep paths. The library is designed to import symbols only from its root.
12:03
In reply to this message
Are you trying to read old transactions?
12:04
In reply to this message
Also, if you are making a wallet contract, there is a Wallet class that could suit you better.
12:05
In reply to this message
The wallet would be as it always has a history, I'm just using Wallet as any normal user. When I scroll back sometimes all the history is there, sometimes not, like right now, it only goes back a month, is this the error? But then sometimes it must be working? The error shows up quite often, maybe once a day or more in normal usage.
12:07
In reply to this message
I quit the wallet, started it again, and all history is there without any error message. Whatever causes this error is not UX friendly and would cause users concern.
l
12:07
left
In reply to this message
no,My colleague and I are learning to call the methods in the smart contract he publishes
NY
12:08
Nong Yi
i want to ask when ton cant not allow to pow to get?
12:09
In reply to this message
About 1 month I think
NY
12:09
Nong Yi
in junly or june
SF
12:10
Slava Fomin
In reply to this message
I totally agree with you. But that's how the web wallet is implemented right now.
12:10
In reply to this message
NY
12:10
Nong Yi
it is unfortunately
12:10
i want to pow to get ton
SF
12:12
Slava Fomin
I'm sorry, but this chat is only for development questions.
12:14
In reply to this message
Try other chats listed at https://ton.app/chats
FD
12:35
Full Stack Dev
FetchError: request to https://testnet.toncenter.com/api/v2/jsonRPC failed, reason: getaddrinfo EAI_AGAIN testnet.toncenter.com
12:35
I've just got this error.
12:35
What's this?
SF
12:38
Slava Fomin
Check your network connectivity.
FD
13:00
Full Stack Dev
No issues
l
14:03
left
In reply to this message
this is my code。 I use the method of extends and then call the call method to use the balance method of the smart contract. right?
14:04
What address does this.getAddress() get? I see that it is not the address of this smart contract.
VM
14:19
Vardan Meliksetyan
Hi, I would like to ask how I can convert or get wallet address human readable format. Not this one.

Got transaction at 0:407bda3e06f9d8f61f04520f1a963a51778a9e1e66464880c6c98a816fd6e087

I use this example
deposits-multi-wallet.js example
SF
14:20
Slava Fomin
In reply to this message
Use the Address.toString method.
d
14:22
doni
In reply to this message
I also see issues with RPC
14:24
Does anyone know a way to get more coins on testnet besides the 2 ton limit every hour using the faucet bot ?
VM
14:24
Vardan Meliksetyan
In reply to this message
for (const shortTx of shortTransactions) {
console.log('Got transaction at ' + shortTx.account.toString());
}

Got transaction at 0:633fb2745de8be631343a8500814d17a3c52c021fdadd78bf83baa782fb7509b

Result is the same.
M
15:20
Mike
Hi!
1/ Do I get it right that thanks to TON Proxy once I deploy a dApp on the masterchain no one will know what location (IP) was used to deploy it and what IP is used to access it?
2/ There is no common mempool thx to sharding, right? So how TON will endure the same type of attack that led to shut-down of Solana for a few hours?
3/ That’s a great idea to loan TON to attract new validators. How many validators joined the network since the start of the nominators program?
15:22
In reply to this message
K
18:32
Kaio_toxik
Hello exerybody/ Please tell me if this NFT will be send to this wallet EQDwiPWO-OXiLZPxh-scCTDdQolRC5bArqscnXw4xxrH7ipd? And is it nessesery to press "Stop deploying" button when (***) appears? ———————————————————————————————— [Deployer] STARTED
[Deployer] Deploying new collection
[Deployer] Collection deployed
[Deployer] deployNft error Error: [Deployer] Collection balance deposit error
[Deployer] deployNft error Error: [Deployer] Collection balance deposit error
[Deployer] deployNft error Error: [Deployer] Collection balance deposit error
[Deployer] deployNft error Error: [Deployer] Collection balance deposit error
[Deployer] NFT deploy started 0 EQDwiPWO-OXiLZPxh-scCTDdQolRC5bArqscnXw4xxrH7ipd
[Deployer] NFT deployed 0
[Deployer] NFT deploy started 1 EQDwiPWO-OXiLZPxh-scCTDdQolRC5bArqscnXw4xxrH7ipd
[Deployer] NFT deployed 1
[Deployer] NFT deploy started 2 EQDwiPWO-OXiLZPxh-scCTDdQolRC5bArqscnXw4xxrH7ipd
[Deployer] NFT deployed 2
[Deployer] NFT deploy started 3 EQDwiPWO-OXiLZPxh-scCTDdQolRC5bArqscnXw4xxrH7ipd
[Deployer] NFT deployed 3
[Deployer] NFT deploy started 4 EQDwiPWO-OXiLZPxh-scCTDdQolRC5bArqscnXw4xxrH7ipd
[Deployer] NFT deployed 4
[Deployer] Got no more nfts to deploy 5 (***)
Deployer stopped —————————————————————————————————————————- and what are this errors? ———————————————————————————————- https://explorer.tonnft.tools/collection/EQCYqcsQ35XCalSJQ0eDc8DGc129yBmrWhfQ3DZfd4LTon-7 ————————————————————- im trying to deploy them with tondiamonds.ton-nft-deployer
K
19:28
Kaio_toxik
Thank you all very much. I hope you get as much responsiveness when you need it.😁
SF
19:32
Slava Fomin
In reply to this message
Use the toString() arguments to change the address format.
VM
19:35
Vardan Meliksetyan
In reply to this message
Ok, thx any example or idea?
SF
19:36
Slava Fomin
What format of address do you need?
19:38
const address = new Address('0:633fb2745de8be631343a8500814d17a3c52c021fdadd78bf83baa782fb7509b');

// This would be the most common format: user-friendly, URL-safe and with bounceable flag set.
console.log(address.toString(true, true, true));
VT
20:46
Vladimir Tamara Patiño
Hi. Last week I could run a miner on adJ/OpenBSD. There is a asciinema to watch at https://asciinema.org/a/dh8yxO2NTqQGqnNOfhN4cVTKq (I cannot watch it with chrome but with firefox)
20:46
I began to send PR of the changes required, starting with https://github.com/igroman787/mypylib/pull/6
20:47
However I still don't have any feedback. Is there a better chat to announce this?
SF
20:53
Slava Fomin
In reply to this message
Hello, thank you for the PR! The team is generally very busy, so it could take some time before it could be merged.
VT
20:55
Vladimir Tamara Patiño
Thank you. I don't have expensive hardware, although I have decent internet connection (200MB). I guess with some help I could setup a collator node for a validator. Where could I propose this?
SF
21:00
Slava Fomin
In reply to this message
All proposals could be directed to a relevant GitHub repository or to the @ton_help_bot.
s
22:02
sl8r
Hi all
22:02
Can anyone help me with one question I have?
22:02
I’ve wrapped some toncoins todays and sent them to my MetaMask wallet but they never came
22:03
Is there any way to check what is wrong?
SF
22:04
Slava Fomin
In reply to this message
s
22:05
sl8r
In reply to this message
Thank you!
VM
23:39
Vardan Meliksetyan
for (const shortTx of shortTransactions) {
console.log('Got transaction at ' + JSON.stringify(shortTx).toString(2) );
}

Got transaction at {"@type":"blocks.shortTxId","mode":135,"account":"-1:3333333333333333333333333333333333333333333333333333333333333333","lt":"27780490000007","hash":"k9ck10b3dkbILjT1X0wexRavvWWprTjqJvZUdPnWNuY="}
balance: 247509236.98892355

Can someone advise how to convert right shortx.account to normal wallet address?
10 May 2022
SF
01:18
Slava Fomin
Sorry, this chat is for English-speaking developers only.
sg
04:43
shijiang guo
I see that there are many versions of TON wallets, such as Wallet V3 (r2), is there any difference between them?
l
04:55
left
In reply to this message
I also want to know.
05:47
Deleted Account
Ok
t
10:13
talkol
In reply to this message
Do you know where the other wallet source codes is? I tried to look in https://github.com/newton-blockchain/ton/tree/master/crypto/smartcont but I don't see them all there, only V3R2
l
10:18
left
In reply to this message
this?
t
10:19
talkol
IMO the JavaScript classes are the client side that interacts with the contracts, we need the FunC source (.fc files)
M
11:18
Mike
In reply to this message
@slavafomin could you please help me
T
12:28
Tonox DeFi
In reply to this message
1 use cloudflare i guess
sg
16:59
shijiang guo
The Hash generated by Ton’s offline signature is different each time. Is there a time limit for this transaction?
16:59
const tx_ret = await wallet.methods.transfer({
secretKey,
toAddress: to,
amount: TonWeb.
utils.toNano(amount),
seqno: sequence,
payload: memo,
sendMode: mod,
}).getQuery()
const txHash = await tx_ret.hash()
const boc = await tx_ret.toBoc(false)
const txMsg= {
"hash": TonWeb.
utils.bytesToBase64(txHash),
"tx": TonWeb.
utils.bytesToBase64(boc)
}
17:00
And it is also inconsistent with the Hash generated by the broadcast transaction
17:01
17:04
Who knows why this is, or how to make the Hash calculated by myself consistent with the Hash generated by the broadcast transaction
VB
17:07
Vasilii Burykin
In reply to this message
is seqno different, or not?
SF
17:12
Slava Fomin
In reply to this message
What you are getting is the hash of the external message. It changes every time, because the content of the message changes as well (it has an expiration date, which changes based on your system clock).
17:13
The message and the transaction are two related, but different concepts. And I'm not sure if it's even possible to pre-calculate the transaction hash.
17:14
Why do you need it?
sg
17:37
shijiang guo
I need to precompute Hash, because Ton main chain broadcast will not return Hash
T
17:38
Tonox DeFi
In reply to this message
You can't, just stream the transaction and query outgoing transaction for that address
sg
17:38
shijiang guo
According to what you said, I just need to change the time in the tonweb project to my own time and pass it in.
17:39
Because the calculated Hash is correct when seqnum is equal to 0, but not correct when seqnum not equal to 0
T
17:39
Tonox DeFi
What
sg
17:39
shijiang guo
createSigningMessage(seqno) {
seqno = seqno || 0;
const message = new Cell();
message.bits.writeUint(this.options.walletId, 32);
if (seqno === 0) {
// message.bits.writeInt(-1, 32);// todo: dont work
for (let i = 0; i < 32; i++) {
message.bits.writeBit(1);
}
} else {
const date = new Date();
const timestamp = Math.floor(date.getTime() / 1e3);
message.bits.writeUint(timestamp + 60, 32);
}
message.bits.writeUint(seqno, 32);
return message;
}
SF
17:39
Slava Fomin
In reply to this message
When seqno = 0 TTL is not used.
sg
17:40
shijiang guo
This function
SF
17:40
Slava Fomin
What are you trying to do?
17:40
What is the final goal?
sg
17:41
shijiang guo
I fork the tonweb project and change it myself, I feel that the design of the tonweb project is a bit inflexible
SF
17:42
Slava Fomin
In reply to this message
What have you changed?
sg
17:42
shijiang guo
I want to precompute Hash, consistent with on-chain Hash
SF
17:42
Slava Fomin
In reply to this message
You are not answering my questions.
17:43
In reply to this message
^
sg
17:46
shijiang guo
In reply to this message
haven't changed
17:47
just want to do it
17:48
Our wallet needs to pre-calculate the function of Hash. At present, the tonweb project cannot realize this function.
SF
17:51
Slava Fomin
Okay, good luck with that... = /
sg
17:51
shijiang guo
OK
SF
18:29
Slava Fomin
In reply to this message
^
N
21:04
Nikita
Hm, why is the seed phrase (mnemonic) that is generated by TON libraries (tonweb-mnemonic as example) and wallets not compatible with seed phrases in other blockchains?
t
22:01
talkol
In reply to this message
If I remember correctly, the timestamp of the transaction appears on the transaction. The wallets also support a time-out of when the transaction of signed vs when it was processed, so the timestamp must be there to support it
11 May 2022
sg
04:23
shijiang guo
In reply to this message
It should be possible to increase this time, now it seems that it has timed out in one minute.
KM
17:50
Kirill Malev
how do I install clang for M1 ?
17:50
this approach fails with

CMake Error at /opt/homebrew/Cellar/cmake/3.23.1/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler

"/Library/Developer/CommandLineTools/usr/bin/clang"

is not able to compile a simple test program.
17:50
but:

✗ clang -v                                                                     11.05.22 19:49
Apple clang version 13.0.0 (clang-1300.0.27.3)
Target: arm64-apple-darwin21.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
KM
18:13
Kirill Malev
```CC="clang -mcpu=apple-a14" CXX="clang++ -mcpu=apple-a14" cmake .. -DCMAKE_BUILD_TYPE=Release -DTON_ARCH= -Wno-dev -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3 -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/```
18:13
this helped
12 May 2022
l
12:44
left
hi, all. Who has a complete project demo about smart contracts and front-end calls.
12:47
i need help. please。😭
t
13:01
talkol
In reply to this message
I made a project for this purpose exactly:

https://github.com/ton-defi-org/tonstarter-contracts

It has a sample smart contract, a cross platform compilation script, a general purpose deploy script and an after deploy test that sends the contract messages through your wallet and calls getters to see it actually works.
13:02
The last part should give you a working example of client code that communicates with your contract after it’s on chain
13:03
I am now working on a complementary client in React that shows how to build a full frontend, I will post it here once I finish
13:03
But the first project is definitely a good start
13:04
Clients are tricky because the main way to communicate with a non-custodial wallet (like TonHub mobile app) is through deep links
l
13:05
left
thank u very very much.
13:06
starred ~ respect 😁
t
13:06
talkol
💪💪 if you have improvement ideas please open issue
l
13:08
left
In reply to this message
ye~
t
13:12
talkol
In reply to this message
This is the part that shows how to communicate with your contract after it’s on-chain:

https://github.com/ton-defi-org/tonstarter-contracts/blob/main/build/main.deploy.ts#L19
l
13:14
left
👌
13:17
In reply to this message
can i please add ur TG as a contact?
t
13:18
talkol
sure
l
13:19
left
In reply to this message
We're not two-way contacts yet, so I can't send you a separate message
t
13:23
talkol
By the way, I think there’s too much knowledge getting lost in these chats. Don’t we want to put questions is places like stackoverflow.com so future devs will find them?
T
14:08
TON Realm
looks like stackoverflow #ton (https://stackoverflow.com/questions/tagged/ton) tag has ~16 posts and mostly related to FreeTON (Everscale). We could propose to update this and start using it for TON. Conversely, we could rally behind a proposal to create a new stackexchange site dedicated to TON (for example: https://ethereum.stackexchange.com/). This is more work as enough community members need to post questions/answers. Any feedback welcome.
KM
14:10
Kirill Malev
In reply to this message
Great idea
14:10
And that will help to build reputation as well
H
15:48
Hartmann D.
Thanks, guys
K
20:37
Kari
dear administrations, please tell me who are your investors?
t
21:07
talkol
In reply to this message
I cleared all the FreeTon/Solidity stuff from the stackoverflow “ton” tag and renamed it all to “everscale”
21:07
https://stackoverflow.com/questions/tagged/ton

is ours! Let’s start using it!
21:09
In reply to this message
This chat is for development questions.
SF
22:24
Slava Fomin
In reply to this message
That's pretty cool, I'm going to subscribe 👍
t
22:26
talkol
Moderators, I propose that we make a new habit: if somebody asks a question, encourage them to ask in https://stackoverflow.com/questions/tagged/ton and then somebody from the chat can answer there.. this will keep everything
OB
22:34
Oleg Baranov
In reply to this message
New version of TON golang library has arrived!
Added support of get account. Now you can get full account information, balance, stored data cells, stats and etc.

https://github.com/xssnick/tonutils-go#account-info
13 May 2022
CZ
00:11
Chak Zefir
In reply to this message
This chat for dev questions only. Please address transfer issues to @ton_help_bot
l
05:24
left
hi, guys,What are these two?
sg
10:51
shijiang guo
in_fwd_fee:
storage_fee:
gas_fee:fwd_fee:
10:52
What are these fees for?
10:52
Who Can help explain
10:54
In reply to this message
Please put questions into one single message, and be patient. There are 322 people online, likely busy, and every chat message gives and extra pop up or notification, it's impolite. Kindly edit your message to be one, and delete superfluous comments.
VP
10:55
Vladimir Plotvinov
In reply to this message
Try to read this article - https://ton.org/docs/#/smart-contracts/fees
IB
10:57
Ilya Bulychev
Hi all, I’m new here and want to become a TON developer from zero knowledge

Is it ok to learn in this way: JavaScript - Solidity - Typescript - Ton documentation

Or it should be another way?
l
11:33
left
hi, guys, i have a problem. What is the relationship between Ton and Tonwhales?
IB
11:41
Ilya Bulychev
In reply to this message
tonwhales is a project built on ton network, don't think they have more in common
l
11:41
left
ok cool thanks
K
11:44
Kang
Hi guys, I have a problem when call api sendBoc. The result has message "LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted" with code: 500. Can someone help explain 😭?
l
12:51
left
In reply to this message
What are these two?
SF
13:18
Slava Fomin
In reply to this message
Hey! Are you using public TonCenter server?
13:19
In reply to this message
Hey! You don't need to know Solidity in order to work with TON. It can help of course, but you can skip this step.
IB
13:19
Ilya Bulychev
In reply to this message
Tnx
SF
13:20
Slava Fomin
In reply to this message
TON has it's own VM called TVM and it's own programming languages, that are not related to EVM or Solidity.
13:21
You should also read the documentation and study the white papers.
13:22
JavaScript (TypeScript) is a very good choice to work with TON. However, you should know that it's possible with other languages as well.
K
13:36
Kang
In reply to this message
No sir, I'm using testnet.
SF
13:37
Slava Fomin
In reply to this message
K
13:38
Kang
In reply to this message
Ops, sorry. Yah, I'm using public TonCenter
SF
14:24
Slava Fomin
In reply to this message
This is a client error. Either your account is not initialized, you are sending more coins that you have or you are using incorrect private key.
SF
14:59
Slava Fomin
In reply to this message
I've updated the tag description.
T
15:06
TON Realm
In reply to this message
"Programming questions about The Open Network (TON) blockchain platform and smart-contract development."

"The Open Network (TON) is a layer-1 blockchain that deploys PoS and BFT consensus to create and secure the network. Originally conceived by the Telegram team to enable mass adoption, it boasts ultra-fast transactions, tiny fees, easy-to-use dapps, and is environmentally friendly. Visit ton.org for more information."
15:06
@slavafomin suggesting above edits
K
15:09
Kang
In reply to this message
Tks sir, I'll try again 🙏
JH
18:01
J H
Hey, if you are in the chat https://t.me/tonstatus/15 validators are all looking for you, please stop sending new election requests, and upgrade your hardware first.
AP
20:45
Andrey Pfau
In reply to this message
Russian chat:
https://t.me/tondev
14 May 2022
NM
01:02
N M
Hi folks! Would someone help with advices on how to start learning app development for TON.
SF
14:56
Slava Fomin
In reply to this message
Hey! Well, start by reading the docs of course :)
SF
21:54
Slava Fomin
In reply to this message
^
RD
21:56
Ruslan Dorofeev
In reply to this message
Sanks
15 May 2022
T
05:28
TinyCrypto86
Can someone help me? I bridged my 62.xxxx ton to my bsc address in Metamask and it been several hours and it's still not showing up. I can copy and paste the address that is in the message of the transaction into the bsc explorer and it pulls up my wallet so I know the address I bridged to is correct. This seems to be an error on the bridge.
SF
08:10
Slava Fomin
In reply to this message
T
19:00
TinyCrypto86
In reply to this message
Thanks!
S
19:36
S
Hi everyone.
Please tell me, in the TON explorer, when I go to the smart contract address, can I somehow see the project code there?
20:35
Deleted Account
Hi 👋🏻
Is there a way to develop dapps on TON with other languages like JS or Python?
JG
20:43
Jaume González
Hi. Is MC showed in CMC correct?
20:44
It's listed in page 3. And it should be listed in page 1 according MC
21:43
Admins, maybe create a READ THIS post and link to a page on telegra.ph and 📌 it in this chat -- the page with things like: Don't say hi, Developer Questions Only, English language, Put everything into one message, no one has a right to an answer, be nice, link to Stackoverflow etc)) ??? ))
D
21:46
Dreamer
Can somebody help please. How from MetaMask bep20 send ton to the Tonkeeper.
21:47
In reply to this message
🤝
NN
21:47
Nick Nekilov
In reply to this message
16 May 2022
A
10:24
Armen
guys, sorry for dumb question, after reconnection when I type mytonctrl it says. Only reboot of instance helps, how do I get back to mytonctrl interface after reconnection to SSH?
sg
14:14
shijiang guo
Hi guys, Can you. tell me How the toncoin logical time come from, how does it increase, whether it has anything to do with block generation and transactions, and how to use it when query transactions according to the address
14:17
And Does Toncoin have no api for querying transactions by Hash?
SF
14:46
Slava Fomin
In reply to this message
Use something like screen.
A
14:47
Armen
In reply to this message
I thought the only way is to kill via htop, but I'll try
F
17:24
Foisoi
Hello there.
How can I authenticate a person via it's TON wallet?
(Something like this)
T
17:36
Tonic
T
Tonic – Building on TON. Together. 💎 16.05.2022 17:31:11
Announcing Tonic Docs & Introduction to Fift.

The threshold for starting to build on TON is quite high, plus a lack of learning materials and guides makes it spooky for the curious newcomers. Since Tonic's original idea is to simplify all of it, we've been working on a new Tonic rollout: the Tonic Docs library.

Designed to come in handy in every TON dev's routine, Tonic Docs are a list of introductory documents and tutorials to make your building endeavors pleasant – especially during the first steps.

Tonic Docs are already available at https://docs.tonic.cx/. Today, we're launching with our first Tonic Doc: Introduction to Fift. This 2500 word intro takes you from Fift newbie to writing your first Fift contract!

Up next, we'll have an exhaustive overview of TON Development Environments, covering TonCLI, MyLocalTON, ton-contract-executor and tonstarter-contracts. Coming soon! Stay tuned.
T
17:36
Tonic
In reply to this message
Any feedback you have is appreciated!
17 May 2022
01:04
Deleted Account
Hi community. what is the best language or technology to create a payment gateway with ton coin. (clarified if possible)
SA
11:24
Sami Alijanii
hello guys last night i send 20 toncoin to okex wallet with my tonkeeper android app without toncomment waht would be happend if i dont use the comment !?
H
12:06
Hartmann D.
In reply to this message
Hi. This is dev chat. Please address your issue to the Okex support. I'm sure, they will help you. Thanks.
ML
13:07
Mission Liao
Hi, I'm trying to setup a lite-server via mytonctrl on a fresh Debian-10, but sadly it doesn't work. The lite-server is not enabled after installation with mode=lite. Even if I try to enable it via ton-installer, various problems raised. It seems the /var/ton-work should be there but not. BTW, there is no such problem when installing with mode=full.

Am I right? Does ‘/var/ton-work/‘ is expected for lite-server?
S
20:52
Serj
Hi everybody! My name is Serj, I am going from gamedev to blockchain developing and asking to help with understanding situation about TONs.

I found some dev resources - the biggest is ton.org and tonlabs.
And this is coins - TON Coin, TON Crystal and Everscale.

My question is:
1. For every coin I need to use special SDK? Or I can work with TONcoin throught Ever SDK for example?
2. Can I use TONcoin SDK with .Net c#?
F
20:53
F
In reply to this message
You need full install mode. Lite version does not install node/lite-server
20:57
In reply to this message
Two different projects, this one here is only about The Open Network (and not Everscale or any other). Please refer to the many documents at ton.org on the menu, and also search some of the chat history where there are links to resources. If you have specific developer questions after that, then this is the right place. 👍
S
21:06
Serj
In reply to this message
Thank u 🙏🏼
But I can’t see, is it have binding examples on c#?
18 May 2022
H
05:17
Hartmann D.
Tigran, sorry. It was deleted by mistake.

Tigran:
FetchError: invalid json response body at https://toncenter.com/api/v2/jsonRPC reason: Unexpected token < in JSON at position 0

Have you any idea how to solve this issue?
ML
06:09
Mission Liao
Hi, I found the testgiver-bot didn’t work recently and not sure if here is the right channel to ask. I’ve received some coins from it several times, but now nothing from there for almost 2 days.
S
08:07
Serj
In reply to this message
It works with Ever os, i guess. Try to ask in everscale channel
09:40
Deleted Account
Hello everyone, if here is angular web3 programmer text me in dm. Have some tasks in existing project to do
R
11:55
Rus
Hi everybody.
I wanted to find a comparison of TON and FANTOM systems, but I couldn't. To be in the same terminology. Can someone help me? Or show the direction where to look.
11:57
I saw a similar comparison with the Solana and ETH on web site.
AT
12:38
Andrey Tvorozhkov
https://t.me/tonblockchain/127

The historic day has come?) It seems that the TON development has moved to the ton-blockchain repository, cool features have been delivered to the master :)
T
15:58
TON is for pussies
Would I be able to build a classic mint web page for the @honk_tonk collection? So it connects with the addon wallet or requires to send $TON to a specified address, and on success would've a) mint b) send the NFT to the user's address.
CC
22:06
Choobee Choobs
Hey guys, when does Ton move away from mining?
VB
22:26
Vasilii Burykin
In reply to this message
after 22 days
19 May 2022
GK
03:31
Galins Krasovska
after 22 days
l
04:38
lookin
In reply to this message
why?
K
07:12
Kang
Hey guys, Is there any problem with testnet public server? I receive 504 bad gateway when send ton on wallet.ton.org?testnet
S
09:41
Serj
Is TON have SDK for c# like everscale?
R
10:26
Radzih
Who did transaction in ton network via ton API, can you give me example please?
NC
11:40
Non Custodial
Is there an APK for the Chrome extension? I am not registered with Google.
CZ
11:46
Chak Zefir
In reply to this message
You could try to build it yourself from sources https://github.com/toncenter/ton-wallet
12:05
How to download this file?
NC
12:10
Non Custodial
Appreciate the prompt response 👍🏻 Not a programmer. Looking to remain as anonymous as possible.
Ю
12:11
Юрійович
T
12:14
Tonox DeFi
In reply to this message
chrome extension arent apks. you can use the wallet extension on chromium-based browsers like brave or on chromium itself without the need of a google account
12:14
or you can just use wallet.ton.org
12:14
there is the need of an fdroid repo with ton stuff :)
Ю
13:09
Юрійович
there is the need of an fdroid repo with ton stuff :
l
13:19
left
I'm getting started according to the toncli documentation, what is the reason for this error?
ML
14:04
Mission Liao
I love the way TON design the interaction between users and blockchain. But it's not so intuitive for me to understand the BoC part

I'm looking for some sample BoC file to try the RawSendMessage method. There are several reference implementation for BoC serializer:
- https://github.com/toncenter/tonweb
- https://github.com/xssnick/tonutils-go
- https://github.com/ton-blockchain/ton/blob/master/crypto/vm/boc.h

Interestingly, I didn't find many BoC files for test in these repos. Is there any ready BoC file that I can use? Or ways to generate them by myself.
20 May 2022
l
04:42
left
hi,guys. What is external information? What is internal information? How should I understand them.
ML
04:49
Mission Liao
l
04:55
left
In reply to this message
I have seen this .So I can think of external messages as messages sent by other blockchains (like ether) to the TON blockchain. Internal messaging refers to the communication between smart contracts published on the TON blockchain.
04:55
right?
05:08
TenserWille Максим
In reply to this message
external messages aren't sent from TON blockchain. eg, from lite-client
l
05:12
left
wahts meaning?
05:15
External messages refer to receiving messages sent by other blockchains
05:18
TenserWille Максим
external messages are sent from outside of blockchain, not from other blockchains
l
05:19
left
In reply to this message
What does outside the blockchain mean?
05:19
TenserWille Максим
i gave you example: from lite client
l
05:20
left
In reply to this message
sorry. I don't understand lite-client very well😂
05:22
TenserWille Максим
05:24
as example, if you want to get TONs from smart contract address ypu have to use an external message to call a function from smart contract
l
05:28
left
In reply to this message
If I call a method of the smart contract from the front end, like getting the balance of the smart contract address, this is the external message. right?
05:30
TenserWille Максим
usually get methods are used, but you make it in external messages
l
05:31
left
In reply to this message
do u have a demo code? I want to see which is the external message and which is the internal message
l
05:41
left
thank u very much . bro.
l
10:18
left
How to configure func in windows system
t
10:42
talkol
In reply to this message
https://github.com/ton-defi-org/ton-binaries

This will probably save you some hassle, you need to make sure these binaries are found on your system
м
10:59
мирон чанел
wsp
11:00
how to connect the TON payment to the site or telegram bot?
ML
11:30
Mission Liao
In reply to this message
I've done this part on Ubuntu,similar error would be shown when the permission is not properly setup.
l
11:32
left
In reply to this message
ye. I also installed Ubuntu.
I am trying to operate on windows system
ML
11:48
Mission Liao
Is it possible for someone to activate other’s wallet and pay corresponding fee for him/her? I understand that wallet-activation should be done by the owner, but it might be more helpful for exchanges activate wallets of clients.
l
11:55
left
In reply to this message
you try to use his wallet address
NN
12:00
Nick Nekilov
In reply to this message
It‘s possible to „activate“ someone‘s wallet only if you know a public key.
12:02
But you can’t get known it by a wallet address 🤷‍♂️
t
12:02
talkol
In reply to this message
“Activating” a wallet means deploying the smart contract code of the wallet. I think this should be possible to do by a third party, I don’t imagine anything in the code checks that the deployer must be the owner. The owner address is part of the initial data of the deployment so I believe there’s a good chance an exchange can deploy on your behalf
12:03
It should take a couple to minutes to test this and see if it works
ML
12:07
Mission Liao
That would be another problem, I'm not very familiar with interacting TON via BoC yet. Which tool would you recommend to use?
T
12:30
Tonox DeFi
In reply to this message
Tonweb
12:33
In reply to this message
Yeah, as long you derive a public key using ecdsa encryption, anyone can initialize the wallet with it. You only need to set the stateinit
l
12:53
left
12:53
ML
13:46
Mission Liao
I have one last question for Friday.

The white-paper mentions that a block might be invalidated once a "Fisherman" challenge it within 2 months (2.6.28 Recursive reliability of a block). I wonder:
- how can an external service detect such situation? The generated vertical blockchain corresponding to that challenged block would be referenced by the next block in masterchain. But how do I, as an external service react to that? Should I poll all owned account states periodically?
- does that mean the finality of a block is 2 months? which seems not reasonable ...
t
13:54
talkol
In reply to this message
Or the ton library on npm.

https://www.npmjs.com/package/ton

You can see example of using it in my example project here:

https://github.com/ton-defi-org/tonstarter-contracts/blob/main/build/main.deploy.ts#L19
T
14:05
Tonox DeFi
In reply to this message
As far i know, fisherman hasn't been implemented yet
t
14:18
talkol
In reply to this message
In ton.org they describe time to finality as sub second:
14:18
14:19
Finality as I understand it is when can external services rely on the data that it wouldn’t change
14:20
The fisherman case is super edge case like Ethereum doing a hard fork to change history. It’s not something you should normally prepare for. Services should normally rely on finality and in TON case you need very little confirmations
B
15:23
Bakersen
Nice to be here
EA
15:56
Evgeny Altshuler
Hello there, I'm not sure this is the right place to ask, but I haven't found any other. Maybe, you give me right direction where to ask.
I've just used TON-BSC bridge to transfer TONs from my TonKeeper wallet to my Metamask wallet, but still haven't received anything on the Metamask side (I added TON token https://bscscan.com/token/0x76A797A59Ba2C17726896976B7B3747BfD1d220f to metamask) and nothing seems to be pending.
This is the transaction https://tonscan.org/tx/28068313000001:Yq4DCnw1Qdt61idZ7wML3QKU8NCuv5EF67sdYgwpLHU=:EQCKdY1_fC1RcrT7bgBk_-szBj0Zqko0hvdP7sGgcv512kk1
Thank you in advance!
D
15:56
Dario
@talkol im unable to run tests using your template on arch linux with latest version of ton blockchain
15:57
idk if its mine fault or not, but basically i get Uncaught TypeError: Failed to parse URL from /ton-contract-executor/dist/vm-exec/vm-exec.wasm
15:58
also note that you need to change the func bin check to this if (!funcVersion.includes(Build information)) {
t
16:59
talkol
Did you run npm install? It looks like the dependency ton-contract-executor is missing. Or maybe it was updated without backwards compatibility. Let me check if a new project is working locally
D
17:05
Dario
In reply to this message
yeah i ve installed dep
17:06
which new project? i only tried tonstarter-contracts
17:12
nvm, using node 16.x fixed this. looks like node 18 isnt supported
t
19:21
talkol
Ah yes, it says so in the README :)
21 May 2022
ML
03:24
Mission Liao
Transactions without transaction fees, is this really possible? A special wallet contract?
SF
03:41
Slava Fomin
In reply to this message
The fees are deducted automatically, there is no way to avoid it, only compensate.
03:42
In reply to this message
Please contact the @ton_help_bot
05:20
In reply to this message
Why do I get an error when I execute the toncli deploy -n testnet command?
05:21
AT
09:10
Andrey Tvorozhkov
In reply to this message
👋, look like initial setup failed , please remove App Data/local/toncli/toncli/wallet and try again
l
09:12
left
In reply to this message
I deleted the folder and re-executed toncli start wallet, but still got an error.
NC
09:41
Non Custodial
Might be a silly question, but why are there only two devs listed on github?
d
19:45
doni
Does anyone know if I can change the rpc endpoint in the ton wallet chrome chrome extention ?
D
19:46
Dario
In reply to this message
You can't
d
19:46
doni
🥺
19:46
thanks
19:47
In reply to this message
and how i switch to testnet ?
D
19:47
Dario
Hold Shift + press on version in the info section
19:48
In reply to this message
You can always use your own tonweb instance, and use the extension just to sign transactions
d
19:48
doni
i understand
19:48
thanks
19:48
modifying the extension
Е
23:57
Евгений
hi guys, iam 1 week in writing smart contracts and cant understand how to deploy my smart in mainnet of ton. I installed everdev and use solidity for writing smarts but it offers me only ever dev nets. Guess i should add one more network to network list but i dont know which one, can u help me to prevent mistakes?
22 May 2022
CZ
00:17
Chak Zefir
In reply to this message
Everdev and solidity sounds like toolset for the Everscale blockchain, while this chat is about TON.
You'd better ask in their Dev community. I'm not attaching the links, because I don't know the right chat, but I hope it's easy to just Google them.
Е
00:20
Евгений
thx but it seems like to be not so easy. I wrote to everscale chat and they said that everscale much better than using ton in such words that i couldnt repeat myself...
AS
00:23
Aleksandr Shepelev
In reply to this message
ever tools don't work with ton out of the box. need to tune them. Writing contracts using ever-solidity is not considered best practice in ton. all smart contracts in ton are written in func language.
23 May 2022
l
06:10
left
In reply to this message
hi,bro。I went to execute the command line according to the toncli documentation, why is there this error. what should I do.😳
SF
10:42
Slava Fomin
In reply to this message
Е
11:51
Евгений
( function slice_empty? undefined )
( function begin_parse undefined )
( function get_data undefined )

Why?..
H
12:26
Hartmann D.
In reply to this message
Answered in the neighbor chat already😉
d
14:58
doni
Is there any docs regarding gas less messages ? is it possible ?
N
20:27
Nicolas
Hello, i have a problem with toncoin wallet
20:28
I put my 24 words in wallet and stucks like this
20:28
SF
20:29
Slava Fomin
In reply to this message
Hello! Sorry, but this chat is for development questions only. Try to reload the page though.
N
20:30
Nicolas
Oh sorry, what chat i can get help?
20:30
In reply to this message
Doesnt work, i tried😅
24 May 2022
00:20
Orkun Çmr
hi , when stop mining gpu to toncoin
FD
04:23
Full Stack Dev
How to run private TON node in localhost?
FD
05:16
Full Stack Dev
I see MyLocalTon, can I deploy smart contracts there?
D
11:04
Dario
In reply to this message
Use mylocalton
11:04
Its like ganache but for ton
KM
11:05
Kirill Malev
In reply to this message
can you please link it?
AT
11:24
Andrey Tvorozhkov
In reply to this message
https://github.com/disintar/ton-k8s also might be interesting
11:24
In reply to this message
Did you sort it out?
l
11:28
left
In reply to this message
No, I don't know how to handle this error.
O
11:30
Online
Good afternoon. Why can't I withdraw #TONcoin from gate.io
l
11:30
left
Could you help me? thanks for your time.
m
15:22
muran
In reply to this message
why?
OB
17:32
Oleg Baranov
TON Golang library update, tag v0.5.0 (latest)

Added get account transactions support and cell dict, together with many small features, fixes and improvements

https://github.com/xssnick/tonutils-go#account-info-and-transactions
KM
18:09
Kirill Malev
In reply to this message
thx
25 May 2022
FD
07:39
Full Stack Dev
In reply to this message
it's not working on apple m1
l
11:04
left
11:06
In reply to this message
hi, I am using a windows system, installed Ubuntu, and used the Ubuntu terminal in vscode. Why is there no permission?
FY
11:51
Feel You
Is this Tone Coin Help Team?
l
11:53
left
hahha
F
11:57
F
In reply to this message
No, official technical support: @ton_help_bot
H
11:57
Head In IT
In reply to this message
disk d is not usable
copy tonTest folder to you home directory
l
11:59
left
In reply to this message
12:00
In reply to this message
So should I put it on the c drive?
H
12:58
Head In IT
In reply to this message
I understan, your OS Windows. Show yout permisisons in TonTest folder
l
13:01
left
In reply to this message
hi, sir. I think the reason for the error is because I didn't set this.
13:02
In reply to this message
But the tonBainaries resource I downloaded is in the windows system. I can't copy this folder into Ubuntu. I don't know what to do with it.
16:38
In reply to this message
Why is that?
16:43
@tvorogme

Looks like we should change the link here:
https://github.com/disintar/toncli/blob/master/INSTALLATION.md

To the new (canonical) repository:
https://github.com/ton-blockchain/ton/actions?query=branch%3Amaster+is%3Acompleted

It would also be cool to give separate links for each OS. Because it's hard for users not familiar with GHA to find something.
16:44
@tvorogme please, also check other places where reference to the TON repo should also be updated.
FD
16:52
Full Stack Dev
16:53
when I deploy smart contract, I got this error.
16:54
what happened on testnet?
AT
16:55
Andrey Tvorozhkov
In reply to this message
+
T
17:02
TON technical overview
In reply to this message
We launched new testnet, updated config can be found on ton.org
(you may be interested in following our notification channels, general https://t.me/tonstatus and testnet oriented https://t.me/testnetstatus)
Previous one is not fully dead (well it is decentralised network, we can not switch it off by will), but most of infrastructure (wallet/toncenter/etc) switched to new testnet
AP
17:43
Andrew Python
In reply to this message
How can I get TON in new testnet?
F
17:46
F
In reply to this message
AP
17:48
Andrew Python
In reply to this message
And if i need more than 2 TON?
F
17:50
F
In reply to this message
Write here in the chat as much as you need and for what - I'm sure there are people who will help. Well, or write me in private messages with the same answers)
VT
23:19
Vladimir Tamara Patiño
Hi. The experiments I have done with ton and mytonctrl have been only with IPv4. Do you know if ton and mytonctrl supports IPv6 ?
26 May 2022
l
04:43
left
In reply to this message
This md is wrong, my func, fift, lite-client path addresses point to the resources in this link (crypto/func, crypto/fift, lite-client/lite-client)
04:44
In reply to this message
I use the toncli command toncli build to report an error, but I can execute toncli run_tests to create a fift file.
27 May 2022
D
00:13
Dario
The body size limits of a bounced messages are 256 bits of the original message?
a
06:01
asingk
error install mytonctrl on ubuntu 20.04. any idea?
u
14:56
urban freestyler
Good day, everyone!
I wonder if there's a possibility for users to log in using QR code (like in metamask).
I have already added authentication with extension and now I want to add QR code log in as a second option
H
15:10
Head In IT
In reply to this message
Where your guthub repository?
15:35
This lib can give you a connect via qr code option support with tonhub mobile wallet
u
15:37
urban freestyler
In reply to this message
Thank you!!!
S
16:03
Slow Ethernet
We're trying to perform a transfer from a non-active deposit wallet to a central hot wallet, using the multi wallets approach, and the mode 128 + 32.
16:04
And get this error
AV
18:52
Alex V
Hi guys! Today's the first day I opened ton docs. As I understand it says about Fift https://ton.org/docs/#/smart-contracts/tvm-instructions/instructions?id=_21-basic-stack-manipulation-primitives. Is there something about FunC and gas prices? To be honest I don't understand enough where is the entry point to start coding smart contracts because it's not similar to solidity and more. I feel very stupid when I read ton docs
T
18:56
TON technical overview
In reply to this message
Start from here https://ton.org/docs/#/smart-contracts/
Your link is for quite deep level of understanding of funC and tvm
SF
19:52
Slava Fomin
In reply to this message
Welcome!

> I feel very stupid when I read ton docs

That's by design. Gather your strength, it's gonna be a tough ride 😁

It will get easier with time, however. And if you would have questions, feel free to ask here!
AV
21:39
Alex V
Thank you for your reply! Could you tell me what to choose funC or tvm?
SF
21:43
Slava Fomin
In reply to this message
Start by reading the documentation first. That will help you to get an overall picture of the technology.
DC
21:50
Daniel Chung
hi all
21:50
i am trying to use the ton to eth bridge
21:50
Ethereum gas fee ~ 0.0048 ETH
Bridge fee - 30.7375 TON
21:50
i have more than 0.1eth in my wallet
21:51
but it is showing that i dont have enough gas
21:51
what should I do here
SF
23:37
Slava Fomin
In reply to this message
Hey, sorry, but this chat is for development questions only.
28 May 2022
a
00:25
arizona.
In reply to this message
Hello sir
00:25
Is the new STON.fi Project built on the TON blockchain?
KM
00:41
Kirill Malev
In reply to this message
Looks like it
T
01:52
TON is for pussies
In reply to this message
do u have the founder's contact O_o
G
18:12
Gaming Continues.
Hi guys, i made a mistake, i tried to use the TON Bridge to BSC, the amount of TON that i was suppose to send was 55, but by mistake, I sent 50, then i realized what i did, and sent the remaining 5

Is the transaction gonna go thru?
I
18:14
Ilsa
Hello, I have a question. The NFT standard is release now?
18:15
I see news about candidate release, but in GitHub it's release already
NN
18:23
Nick Nekilov
In reply to this message
CZ
18:52
Chak Zefir
In reply to this message
You better contact @ton_help_bot
This chat is for Dev discussions
29 May 2022
A?
12:23
Amin 💻
hey every one
12:26
I am Amin Golmakani, a software Developer, and I want to learn blockchain Development.
Is it possible to introduce me to an free road map ?
A?
14:39
Amin 💻
thank you 🙏
SF
23:19
Slava Fomin
Sorry guys, I have had to delete all the non-technical discussion from the chat. Please refrain from it in the future.
23:21
In reply to this message
May I suggest pinning a Welcome message so that new entries know what this is for and where to go for non-dev questions? You can make it stand out with a ❗️👉READ THIS FIRST too so it isn't missed ))
SF
23:23
Slava Fomin
Sure, this is of course a reasonable thing to do. Looks like no one just has free time to do it.
SF
23:49
Slava Fomin
READ ME!

This chat is for TON-related technical / engineering questions only! All unrelated messages will be deleted without warning.

Resources:

Documentation
Russian chat
TonCenter (TON HTTP API)
TonWeb (JavaScript library) and Examples
PyTONLib (Python library)

If you have funds stuck in the bridge, please contact the: @ton_help_bot.
23:50
In reply to this message
Please let me know if you have something to add here ^
Tolya pinned this message
30 May 2022
AP
04:39
Andrew Python
https://github.com/ton-blockchain/TIPs/issues/80
Join the discussion.
Perhaps you can add something.
D
12:27
Dario
In reply to this message
I don't think this is necessary, at least in standard interfaces. in any case, I would rename "callback" to "getter" or "view"
T
14:15
TON is for pussies
what's the char limit for comments? how to upload large pieces of text to the blockchain?
AP
14:40
Andrew Python
In reply to this message
limit for external message 64kb
1 char = 8 bit
64kb = ~64k chars
T
14:41
TON is for pussies
the wallet.ton.org fails to send anything beyond 30-40 chars
14:41
alternatives?
AP
14:42
Andrew Python
In reply to this message
create your wallet :)
T
14:43
TON technical overview
In reply to this message
Fift scripts for wallet support long messages. Is this functionality necessary, we may add it to wallet.ton.org
T
14:44
TON is for pussies
it's supper necessary for me to upload @ducknverse stories about a talking duck to the blockchain 😄
14:46
In reply to this message
the MacOS wallet you can put up to 500 chars in the comment box, don't know if it will all end up on the chain.
14:47
In reply to this message
tonch.cc may also give an indication not sure if that is maximum though.
T
14:50
TON is for pussies
tonch is down as a service
14:50
messages fail, whole board is in ads
31 May 2022
CD
11:49
Corben Dallas
Hello, who can I write to about creating a project on the ton blockchain?
there is an idea, there are tasks and many questions
Can I personally chat with one of the developers?
Thx
he
12:11
hadi eb
Hi. it seems ton chain supports smart contracts right?
12:11
any plan for adding solidity?
CD
12:16
Corben Dallas
I need only 5m for my Q
AP
12:17
Andrew Python
In reply to this message
Everything in TON is smart contracts.

There are no accounts or wallets like other blockchains.
A wallet in TON is a smart contract.
SF
12:21
Slava Fomin
In reply to this message
It's planned for 2023.
AP
12:22
Andrew Python
In reply to this message
Really solidity?
NN
12:22
Nick Nekilov
In reply to this message
I would say different way.
Every address in the network is an account but the way of working with this account is described by a smart-contract deployed to this account.
CD
12:23
Corben Dallas
I have plans to develop a defi project, I need to advise whether it will work correctly on the ton blockchain
Who can I discuss with?
SF
12:24
Slava Fomin
In reply to this message
It will be possible for TON to support EVM in a separate workchain. There are no specific details yet and it's not a high priority goal at the moment.
D
12:25
Dario
In reply to this message
ask here
12:26
@CorbenDallas777 in this chat
AP
12:26
Andrew Python
In reply to this message
The tblkch.pdf says: a smart contract and an account are the same thing in the context of the TON Blockchain.
But TON "accounts" are different from other blockchains.
CD
12:26
Corben Dallas
In reply to this message
I can’t in public
D
12:27
Dario
in that case i cant help you
AP
12:30
Andrew Python
In reply to this message
Weird question. Is it possible to add EVER as a separate workchain in TON? and vice versa.
AP
14:21
Andrew Python
In reply to this message
It is possible to make any defi project in TON. Simply there are features in implementation.
CD
14:23
Corben Dallas
In reply to this message
I know
That’s why I ask
AP
14:28
Andrew Python
In reply to this message
If done correctly, it will work correctly. It’s just that when creating, you should be taken into account the features of TON.
AV
14:34
Alex V
Hi guys! I've run lite client and try to get information about contract as said here https://ton.org/docs/#/howto/step-by-step?id=inspecting-the-state-of-a-smart-contract getaccount kf_8uRo6OBbQ97jCx2EIuKm8Wmt6Vb15-KsQHFLbKSMiYIny but I get nothing, only text - account state is empty instead of description. is it correct behaivour?
A
14:43
Alexander
In reply to this message
It is. Try to run the command with this address: EQAhE3sLxHZpsyZ_HecMuwzvXHKLjYx4kEUehhOy2JmCcHCT

"account state is empty" means that an address hasn't been initialized yet
AV
14:46
Alex V
In reply to this message
The same with your address
A
14:47
Alexander
This answers your question: "Why is it possible?"

Basically you have an immense number of addresses but only some of them are initialized as contracts.(e.g. wallets)
A
14:47
Alexander
NN
Nick Nekilov 31.05.2022 12:22:45
I would say different way.
Every address in the network is an account but the way of working with this account is described by a smart-contract deployed to this account.
A
14:48
Alexander
AV
14:49
Alex V
In reply to this message
I use test network
A
14:49
Alexander
Oh, I see. It's empty on the testnet. Try to use a mainnet config.

Or you can check this account on the testnet: EQBEaBhkRh_rvIKLVIHlaSPR0FNNkjHSlUwm0bUTaYtbdfdW
AV
14:50
Alex V
Works! Thank you
AV
16:18
Alex V
In reply to this message
Sasha, is it test giver contract?
16:28
How to know address of test giver contract?
A
17:18
Alexander
In reply to this message
I have no idea :)

It's my test wallet)
SF
18:10
Slava Fomin
In reply to this message
1 June 2022
OB
11:15
Oleg Baranov
In reply to this message
Big update of TON golang library!

Added wallet creation support, mnemonic, transfers, message sendings. Also added many improvements, new cell store methods, signatures and bugfixes.

https://github.com/xssnick/tonutils-go#wallet
l
11:22
left
DS
11:25
Dmitry Shanin
In reply to this message
Yes. But this can be done a bit more efficient with skip_bits()
l
11:27
left
got it .
11:27
In reply to this message
Because I executed set_data, each contract only corresponds to one cell?
DS
11:41
Dmitry Shanin
In reply to this message
Not sure if I got your question right. set_data() stores a cell to c4 register of tvm, which is dedicated to contract data and yes, it is the only of its kind.
Although the cell you put there may have references to other cells.
Also, incoming message is a cell, outgoing messages are put in a list of cells, so the data cell is far not the only cell your contract can work with.
l
12:26
left
In reply to this message
The cell obtained by the get_data method in a func file is the cell that uses set_data in this file. That is, each func file has only one cell?
Яд
15:51
Язон дин Альт
Hey, can someone tell me what is sendmode:3 ?
I'm trying to send funds to inactive wallet and i'm getting error, perhaps I need to change sendmode for this
NN
15:51
Nick Nekilov
It's 1 + 2
Яд
15:52
Язон дин Альт
o, thx =))
Яд
15:53
Язон дин Альт
In reply to this message
thanks i'll try to get it.
couse error i'm geting is not clear i'ts about json
15:53
invalid json response body at https://testnet.toncenter.com/api/v2/jsonRPC reason: Unexpected token R in JSON at position 0
SF
15:54
Slava Fomin
In reply to this message
Also, the destination address must have bounce flag cleared.
Яд
15:57
Язон дин Альт
In reply to this message
O! so seqno is not what I'm getting from wallet.methods.seqno().call() ?
I't oly when sending to unactive wallet?
15:58
In reply to this message
How to do that? i'ts not yet exists
15:58
sry for dump questions am only starting and stuck
SF
16:01
Slava Fomin
Use the Address utility class for this. It can parse and format addresses for you. Namely the toString() method has the flag that I've mentioned.
Яд
16:16
Язон дин Альт
In reply to this message
thanks
Яд
16:42
Язон дин Альт
Someone has to fix this. jsonRPC responds with string "Rate limit exceeded: 1 per 1 second" and node-fetch used under the hood in tonweb expects JSON. So the error in .catch() statment is "invalid json response body at..." insead of "Rate limit exceeded: 1 per 1 second"
D
16:43
Dario
In reply to this message
use a different endpoint
16:43
or add a sleep and wait a sec
A
17:56
Alexander
In reply to this message
Or use API-Key) It's free

Allows 10 requests per sec
17:56
@tonapibot (mainnet)
@tontestnetapibot (testnet)
D
19:01
Danielle
Anyone knows Plugins for Ton for IntellijIdea or Visual Studio Code?
T
19:02
TON technical overview
In reply to this message
Check IDE Plugin section here https://ton.org/docs/#/smart-contracts/?id=func
D
19:04
Danielle
Thanks!
SF
19:32
Slava Fomin
In reply to this message
Thank you for reporting this. You are absolutely right, that's definitely a bad behavior. We should train our APIs better than this :)
19:33
In reply to this message
Be advised, that this is designed for getting-started/development usage. You should definitely run your own instance of the TonCenter in production.
Яд
19:35
Язон дин Альт
In reply to this message
O, I will. I just wanted to run this example. When I figured out real error I fixed my script and it worked
19:35
thanks
A
20:37
Alex
how can you check all nfts that users has? is there a request for that?
2 June 2022
l
05:42
left
hi,guys,Is the structure of the TON blockchain similar to this?
Яд
09:37
Язон дин Альт
Hello.
How do I convert my 24 seedwords to secret/publick keys for tonweb? (wallet v3 r2)
T
09:50
TON technical overview
In reply to this message
Яд
10:08
Язон дин Альт
In reply to this message
sweet! exactly what a've been looking for, thanks
D
10:40
Dario
@tvorogme what is the status of the tests in toncli? did you add tests via invoke_method?
AT
10:45
Andrey Tvorozhkov
In reply to this message
Tests and new functionality are in the toncli-19 branch https://github.com/disintar/toncli/tree/toncli-19

There is also documentation there: https://github.com/disintar/toncli/blob/toncli-19/docs/advanced/func_tests_new.md

To make it work, you need custom version of TON: https://github.com/SpyCheese/ton/tree/toncli-local

All of this has been done for a long time, but not yet pushed into master, because we want to make the installation of the whole ton environment in 1 line (TON autobuilds). As soon as the work on them will be finished - we will put everything in the master and make a post about the update.
D
10:46
Dario
In reply to this message
ok, thanks, that's what i wanted to know
el
12:16
e lll
The toncoin address input error has been transferred out, how can I get it back.
l
12:50
left
hi . guys . i have a proble.
T
12:52
TON technical overview
In reply to this message
Check this https://ton.org/docs/#/smart-contracts/messages,
especially code after Straight-forward serialization of the message would be as follows:
l
12:54
left
In reply to this message
ok thanks .
13:09
In reply to this message
I read the documentation, but I still don't understand what the first 4 bits of data are and what the flag stands for. Why use if(flags & 1)? What does 1 stand for?
NN
13:10
Nick Nekilov
In reply to this message
int_msg_info$0 ihr_disabled:Bool bounce:Bool bounced:Bool

This bit is turned on if message is bounced.
G
13:16
Gold LOVER 💛
Hi there.

Can someone refer me to the docs on how the wallet address updates work in TON?
13:17
Does upgrading my wallet give me a new private key (mnemonic phrase) ?
NN
13:20
Nick Nekilov
In reply to this message
Wallet address is a hash of smart-contract code and data. Data of a wallet smart-contract contain your public key (roughly).
13:21
The code is new - that’s why you get a new address (a new hash).
13:22
Neither private key nor public key is touched.
G
13:30
Gold LOVER 💛
Thank you.

If someone sends an NFT to my older address, would I see it on the newer address?
AV
13:48
Alex V
Hello, guys! I tried to deploy contact using toncli
but I get an error


toncli deploy -n testnet
INFO:
🚀 You want to interact with your contracts ['contract'] in testnet - that's great!
[ 0][t 1][2022-06-02 10:31:08.616418][lite-client.cpp:425][!testnode] fatal: masterchain zero state id suddenly changed: expected -1:58FB12D488918D3D0C483E97BF2B38418421EEBADCF71D326F35E88F0278807D:07381F469160C8D8C723B691E4A421AB85ADAF6C0DFAC5F32DA5BEADF1EF3F90, found -1:823F81F306FF02694F935CF5021548E3CE2B86B529812AF6A12148879E95A128:67E20AC184B9E039A62667ACC3F9C00F90F359A76738233379EFA47604980CE8

Is it my mistake?
AV
14:11
Alex V
Screen Shot 2022-06-02 at 17.08.58.png
Not included, change data exporting settings to download.
443.4 KB
14:12
Screen Shot 2022-06-02 at 17.09.05.png
Not included, change data exporting settings to download.
417.7 KB
14:13
It's for verification his mother's ass. be careful )
AT
14:15
Andrey Tvorozhkov
In reply to this message
Is it testnet deploy?
AV
14:15
Alex V
In reply to this message
Yes
AT
14:16
Andrey Tvorozhkov
You need to change testnet configuration in toncli local folder to new one - https://ton-blockchain.github.io/testnet-global.config.json
AV
14:22
Alex V
Works, but I took it from https://ton-blockchain.github.io/testnet-global.config.json. Interesting thing is that toncli downloaded this config from the same link, but it didn't work. Strange
14:22
In reply to this message
Thank you
AT
14:23
Andrey Tvorozhkov
In reply to this message
Guess not the same (it's use old new-ton domain)
n
15:53
noobdipesh
Is it possible to mine on ethash algo and get paid in ton?
Н
22:19
Никита
Tell me, please, in which section on the site you can find information about the developers?
23:56
Is test giver broken? Need test coins on test net. Had to do CAPCHA 10 times! Impossible to read it for a human. Finally succeeded (obviously I’m not fully human). Waited an hour: nothing. Did it again. Waited another hour. Nothing. Any ideas? Earlier today it actually worked took few minutes. Is it random? It said to wait for coins, how many hours/days?
3 June 2022
T
01:24
TON is for pussies
In reply to this message
send yr address
E
03:10
Emrekt98
i lost my backup 24 key how can i recovery ?
03:12
i saved it notepad but last week my windows crashed and i reset my pc :(
SF
07:13
Slava Fomin
In reply to this message
Have you saved it to disk?
07:20
In reply to this message
kQC4bxyk8pkfrZ0wc4j5shxwoPxo5BHiOb_GpKBqumYdr4xY
G
07:24
Gold LOVER 💛
In reply to this message
Do you have the wallet on any device?

It is a good practice to save your wallet in multiple places and also run it in on multiple devices
D
11:34
Daniil
Hi. Anyone who doesn't mind sending in a couple of test coins. Thanks
EQBppqtdVg9Iv0OAyYcln8GFXwPot1IVa1lT5maP_zwz9dmN
11:39
Test giver bot broken?
D
11:41
Daniil
In reply to this message
It never worked, how many times I tried to use it - the coins didn't come.
KM
14:43
Kirill Malev
T
TonTech 03.06.2022 13:50:01
Hey, we are announcing our first grant. This is a huge event for us, on par with the Tonkeeper Release. We want to support the whole TON NFT Community and to develop tools and Open Standards, making experience with NFTs better for everyone. We also think that this is a long awaited feature for everyone involved with TON NFTs: auctions.

So we are announcing our first grant on auction contracts. This is a first attempt for us to release a grant, so we will carefully listen to all the feedback you have in our chat. Please do not hesitate to start and open discussion, we do want to hear your opinion.

We are looking to find a person or a team, which will deliver an auction contracts repository on Github according to the provided technical and product specifications. We think that this work can be done in approximately two weeks. Grant sum is 2.000 TON.

Grant applicants are expected to send a short intro and a cover letter to apply for the grant through our @nfton_bot (please, use the “Need help” button on it). We might approve two teams (or separate individuals) to work on this project, to make sure the TON NFT Community gets the best talent working on long-awaited auctions.

Team / Individuals able to provide excellent level of quality might expect to get on fast track to join Getgems team.

Technical requirements: https://telegra.ph/TON-NFT-Auction-Contract-Product--Technical-Requirements-06-03
G
14:44
Getgems NFT
In reply to this message
Happy to discuss the grant here
14:53
In reply to this message
Isn’t that against the rules of this chat? See pinned message please.
G
15:14
Getgems NFT
In reply to this message
Do you like technical description of the proposed auction contract design ? 😌
Н
15:36
Никита
ico/ido were carried out in the project?
15:59
In reply to this message
Do you like the technical description of Telepay there’s a great blog there: blog.Telepay.cash also see technical output for your comment disintar.io and the latest from Cryptobot and TonRocket and TonStarter and tonnews.info and ton.org.in . Are we setting a precedent here or should rules apply to everyone? Thank you.
AV
17:59
Alex V
Hi everyone! When I try to compile contract I get this error

error: undefined function `slice_empty?`, defining a global function of unknown type
if (slice_empty?(in_msg)) {
^
( function `slice_empty?` undefined )


-------------------

my method of contract is

() recv_external(slice in_msg) impure {
if (slice_empty?(in_msg)) {
return ();
}
}

-------------------

and command I run to compile ./crypto/func -APSR -o ./new_pr/build/compiled.fif ./new_pr/code.fc

What's wrong?
a
18:09
ah
Which wallets support the ton network?
18:09
Window or android
18:09
Except Telegram bot
18:10
Hi
NN
18:20
Nick Nekilov
In reply to this message
TON Wallet, Tonkeeper, Tonhub
AV
18:21
Alex V
In reply to this message
Forgot to include stdlib.fc. my bad
18:24
In reply to this message
22:34
In reply to this message
Any test coin please kQC4bxyk8pkfrZ0wc4j5shxwoPxo5BHiOb_GpKBqumYdr4xY
22:35
Tried giver bot still doesn’t give
F
22:42
F
In reply to this message
As far as I can see, you already have 40+ test coins. Perhaps you have incorrectly displayed the balance of the test wallet. Where are you watching it?

https://testnet.tonscan.org/address/kQC4bxyk8pkfrZ0wc4j5shxwoPxo5BHiOb_GpKBqumYdr4xY
22:48
In reply to this message
Thank you. In the wallet itself, should have checked browser! ☺️
4 June 2022
D
11:09
D a v i d e
is possible to create a Token (like ERC20) on TONCOIN?
D
11:12
D a v i d e
In reply to this message
thank you
5 June 2022
G
16:33
Gold LOVER 💛
In reply to this message
It is possible to create tokens on TON but they are fundamentally different from Ethereum
D
17:21
D a v i d e
In reply to this message
which are the differences?
A
17:48
A.O
Hello
NN
17:51
Nick Nekilov
In reply to this message
ERC20 is a single contract that contains a map with balances. Jettons consist of 1 root contract and as many wallet contracts as holders exist (each wallet contract contains only it’s own balance).
6 June 2022
S
03:54
Sam
Hi, is it possible to contact anyone from dev team by dm?
l
06:23
left
How to pass parameters to internal functions
M
10:51
Mia
Friends of funC language subcategory C language? Are there any Persian-language training? Is language hard to learn? I don't have any background and I don't know the programming language is it appropriate to start a language?
l
10:54
left
In reply to this message
Apart from the official documentation, I haven't found training material yet. I feel so difficult.
Ak
10:54
Aref khandan
In reply to this message
Even the English sources are weak.
l
10:55
left
In reply to this message
i couldnt agree more
M
10:56
Mia
😬
SF
11:13
Slava Fomin
In reply to this message
If you are just starting to learn programming, TON is probably not for you. I would suggest more convenient ways.
N
11:15
NastKlim
ton good
l
11:46
left
How to understand asm "21 PUSHINT"
NN
11:51
Nick Nekilov
In reply to this message
Like "return 21;"
l
11:51
left
In reply to this message
got it. just like const op = 21;
NN
11:52
Nick Nekilov
yeah, but more optimized
l
11:55
left
In reply to this message
I looked at the documentation, but still don't understand what flags are. And why do &1? What does 1 stand for?
11:57
It's 1 if flag bounced is turned on.
DS
11:58
Dmitry Shanin
In reply to this message
means least significant bit is true. For these flags it is "bounced" bit
l
12:01
left
In reply to this message
So the first four bits represent whether the rebound bit, return 0 or 1
12:02
In reply to this message
1 means true , &1 means only optimized writing
12:02
right?
Ak
12:02
Aref khandan
In reply to this message
😐
l
12:04
left
🧐
T
12:05
TON technical overview
In reply to this message
it is actually less optimized than const int op::mint = 21 in some cases and the same in others. When you write expressions like op::mint + 1 when op::mint is const it will be compilled to PUSHINT 22, whe op::mint() is asm code - it will be compilled to PUSHINT 21 INC
NN
12:07
Nick Nekilov
Oh, sorry for confusing.
I meant that int op::mint() asm "21 PUSHINT"; is more optimized than
int op::mint() { return 21; }
DS
12:11
Dmitry Shanin
In reply to this message
Each bit of those 4 has its own meaning. we need only the last one. & is something like bitwise comparison with some mask. 1 here is because we need the last bit. 2 would mean the second least and 4 the third an 8 the fourth.
12:13
Though I never used such an obscure syntax, so I might be wrong here
l
12:16
left
In reply to this message
NN
12:18
Nick Nekilov
In reply to this message
You don't have to read 6 bytes.
l
12:21
left
In reply to this message
This is from the documentation, so I don't quite understand
NN
12:21
Nick Nekilov
Last 2 bytes mean "null address".
D
12:21
Dario
In reply to this message
You are reading flags from in_msg_full, while other params are read from in_msg_body
DS
12:22
Dmitry Shanin
In reply to this message
First bit is for tag, always 0. Second is for ihr, then bounceable, then bounced bit and the last two are for blank source address
NN
12:23
Nick Nekilov
This example contains more information:
  var msg = begin_cell()
.store_uint(0, 1) ;; tag
.store_uint(1, 1) ;; ihr_disabled
.store_uint(1, 1) ;; allow bounces
.store_uint(0, 1) ;; not bounced itself
.store_slice(source)
.store_slice(destination)
;; serialize CurrencyCollection (see below)
.store_coins(amount)
.store_dict(extra_currencies)
.store_coins(0) ;; ihr_fee
.store_coins(fwd_value) ;; fwd_fee
.store_uint(cur_lt(), 64) ;; lt of transaction
.store_uint(now(), 32) ;; unixtime of transaction
.store_uint(0, 1) ;; no init-field flag (Maybe)
.store_uint(0, 1) ;; inplace message body flag (Either)
.store_slice(msg_body)
.end_cell();
l
12:23
left
In reply to this message
got it thank u bro. so flags === 0110 , so flags & 1 === false
12:24
In reply to this message
yep.
AP
12:25
Andrew Python
In reply to this message
need to learn to understand block.tlb
NN
12:31
Nick Nekilov
In reply to this message
I completely agree but it may be too complicated in the beginning.
12:31
Anyway, I highly recommend to read this paragraph: https://ton.org/docs/#/smart-contracts/messages?id=message-layout
l
12:32
left
How Contract B interacts with Contract A. That is how to pass data to Contract A
NN
12:33
Nick Nekilov
Contracts may interact between each other with messages.
l
12:34
left
In reply to this message
yep i know. But how to pass the message to Contract A?
NN
12:37
Nick Nekilov
In reply to this message
var msg = begin_cell()
.store_uint(0x10, 6)
.store_slice(contract_a_address)
.store_coins(msg_value)
.store_uint(0, 1 + 4 + 4 + 64 + 32 + 1 + 1)
.store_uint(my_op_code(), 32)
.store_uint(my_query_id, 64)
;; my custom data

send_raw_message(msg.end_cell(), 1);
l
12:43
left
In reply to this message
I seem to understand. Through the store_slice method, a message is sent, and then the message is received in the recv_internal() of the Contract A contract.
NN
12:51
Nick Nekilov
In reply to this message
Exactly.
l
12:52
left
In reply to this message
got it. thank u bro,
G
13:04
Gold LOVER 💛
Guys how can I explore projects being developed on TON?

Do I have to search for projects using funC or do you have another way?