8 August 2022
D
04:18
DaLi Wang
INFO: 🥰 First time run - i'll create config folder 4you and save some stuff there
INFO: 🤖 Check all executables are installed...
WARNING: 🤖 Can't find executable for func, please specify it, e.g.: /usr/bin/func
Path: /usr/bin/func
ERROR: [Errno 13] Permission denied: ' /usr/bin/func'
WARNING: 😅 Path is not correct, please double check it
WARNING: 🤖 Can't find executable for func, please specify it, e.g.: /usr/bin/func
04:19
Running toncli, no matter how I modify the file permissions, it will report an error. ​​My system’s MAC
04:19
what do i need to do?
D
05:39
DistantYesterday
In reply to this message
Thanks for the clarification! I was not quite familiar with lisp before, so I didn’t understand uncons only work with “lisp-style lists”, i.e. recursively defined tuples. Back to the question, after digging deeper into the TVM primitive docs, I figured out TPOP is what I need.
05:42
In reply to this message
Can you run /usr/bin/func in a terminal?
D
05:44
DaLi Wang
yes,
05:45
05:45
it is a good run
05:45
in a terminal it is good
D
05:46
DistantYesterday
I guess you could move func to a user dir and try again
D
05:47
DaLi Wang
05:48
it is in my user dir also。。。
05:49
the same problem
D
06:38
DaLi Wang
Restart the machine, the environment is configured correctly again
06:38
no fuck...
DS
06:52
Daniil Sedov
In reply to this message
Ask that in contest chat
AT
09:22
Andrey Tvorozhkov
In reply to this message
chmod +x /use/bin/func 🥹
A
09:28
Abel
In reply to this message
Where can I find the link to the contest chat
AR
09:28
Andy Russo
In reply to this message
D
09:30
DistantYesterday
Is there any function/asm to know the reference of the cell where a builder will create in the future?
A
09:31
Abel
In reply to this message
Thanks
E
11:25
Emilia
In reply to this message
Thanks. However, I'm talking about the minimum stake to be a validator not a nominator.
s
11:39
shlomi
Hi all
Where is the best place to discuss mytonctrl new version for TON validators

When/How?
Is there a dedicated group for Validators?
A
12:15
Ami
Hi,
I have a question for those of you who run a validator on the network.

We are expected to have an upgrade today (which will follow by voting for the new config).
Are the validators expected to remove their stake from the elector before the upgrade?
My concern is that in case there will be any issue with the upgrade the validator stake will be in danger.

What is the best approach here?
:
12:16
::| S [i] L v 3 R |::
Yo. How to get TON donations on my website?
D
13:14
DaLi Wang
If I put the logical calculation of the product on the ton blockchain, do I not need a server to perform remote calculation?
t
13:37
talkol
In reply to this message
The idea behind most blockchain dapps (not specific to TON), is to make the entire backend on-chain as smart contracts. It is recommended to avoid any servers for remote calculations.
D
13:52
DaLi Wang
Is this feasible?
13:54
If I want to make a board game, in order to show the fairness of the game, I put all the back-end computing on the blockchain. Is the effectiveness of this feasible?
t
15:00
talkol
In reply to this message
Yes, definitely feasible to implement the logic of your game as a smart contact and then it’s guaranteed to be secure for all users.

Each transaction to change the game state will cost a few cents as gas. If this cost is an issue (for example your game has tens of thousands of transactions per player), then you can use payment channels to reduce this cost.
D
15:27
DaLi Wang
In reply to this message
Nice
7C
17:22
7 Arseny Chernov
Does anybody know how a reference serialized?
DS
17:26
Daniil Sedov
In reply to this message
ref is not serialized as other data
17:26
Just use load_ref
7C
17:33
7 Arseny Chernov
In reply to this message
it's been driving me crazy already. Thanks bud!
9 August 2022
s
00:33
spongecodes
In reply to this message
Hi Tal Kol. it runs and tests the deployed correctly but in your blog post you mentioned an address we could search to check if the app was active
00:35
also can I use the test suite and start writing smart contracts for the TON contest?
t
00:38
talkol
In reply to this message
“npm run test” does not deploy the contract to the chain. It runs the tests locally in a simulation.

To deploy the contract to the chain and receive an address for it, you will need to deploy it with “npm run deploy”. You will need some TON for gas. What happens when you try to run it?
00:39
In reply to this message
I’m not familiar with the rules of the contest but these tests are as good as running your contract in mainnet. If what you need to show works in these tests I can’t imagine it won’t be accepted
s
00:41
spongecodes
In reply to this message
oh my bad.

npm run test works fine.

I ran npm run deploy with my wallet mnemonic in a .env file and it seemed to work but could not find any address to check the app
00:43
In reply to this message
I will have to write new tests for the contest tasks right?
t
00:45
talkol
In reply to this message
are you using the deploy script from the blog post? Or are you using the ones from the repo https://github.com/ton-defi-org/tonstarter-contracts?
s
00:47
spongecodes
cannot get the deploy script in blog to work(don't know ts) but I used
npm run build, npm run test and npm run deploy from the repo
t
00:50
talkol
Great, the repo scripts are good. Can you share the output of “npm run deploy”? What does it print on screen?

This line in the script https://github.com/ton-defi-org/tonstarter-contracts/blob/main/build/_deploy.ts#L126 should print the address of your deployed contract in an explorer
SF
01:57
Slava Fomin
@talkol by the way, this looks dangerous. If I understand correctly, it will overwrite the existing .env file if for some reason DEPLOYER_MNEMONIC env var is falsy.

So, running $ DEPLOYER_MNEMONIC= npm run deploy will cause the existing .env file to be destroyed. And considering that it is in .gitignore this could be fatal :)
01:58
I would suggest to just exit with the error if DEPLOYER_MNEMONIC is missing and to introduce the generate command for things to be explicit.
t
01:59
talkol
In reply to this message
Good idea. I’ll look into this tomorrow, feel free to PR as well
SF
01:59
Slava Fomin
By the way, have you thought about putting all this code into a separate npm library, so it could be upgraded for all users?
t
03:54
talkol
In reply to this message
There’s a footstep project that looks like hardhat which should hopefully take this code and turn it into a reusable tool
HW
10:27
Hemi Weingarten
Hi everyone 👋 My name is Hemi and I'm from the TonSwap team. We've just launched a DEX (decentralized exchange) for TON. It's 100% open source and fully decentralized. Check it out and let us know what you think!
s
13:21
spongecodes
In reply to this message
on running npm run deploy:testnet

> tonstarter-contracts@0.0.0 deploy:testnet
> ts-node ./build/_deploy.ts

=================================================================
Deploy script running, let's find some contracts to deploy..

* We are working with 'testnet' (https://t.me/testgiver_ton_bot will give you test TON)

* Config file '.env' found and will be used for deployment!
- Wallet address used to deploy from is: (my wallet address)
- Wallet balance is 3.972985786 TON, which will be used for gas

* Found root contract 'build/main.deploy.ts - let's deploy it':
- Based on your init code+data, your new contract address is: EQC-QTihJV_B4f8M2nynateMLynaRT_uwNYnnuyy87kam-G7
- Looks like the contract is already deployed in this address, skipping deployment
- Running a post deployment test:
# Getter 'counter' = 33
# Sent 'increment' op message
# Getter 'counter' = 34
13:21
i checked the contract address on tonwhales but it is showing as not active
t
13:21
talkol
This is one of the most self explanatory script output ever designed 😅
13:22
I think the issue is the testnet
13:22
You need to check in a testnet explorer
t
13:23
talkol
I’m personally against using testnets, I think they’re counter productive. Deploy on mainnet will cost a few cents, your time is worth more :)
13:24
In reply to this message
I think TonWhales launched their own test net at some point that is different from where you deployed
13:24
This is why I hate testnets, they’re a mess and wallets don’t work well with them
13:25
Try a different explorer for testnet
s
13:25
spongecodes
hmm i dont know any
13:25
😅
t
13:26
Just make sure to click on the testnet version of each one
13:32
In any case, just deploy to mainnet. Much easier and much more stable. My philosophy that after testing locally using “npm run test” the next step is deploy to mainnet so you have a beta in the real world
13:33
You can deploy your contracts 100 times to mainnet, it costs nothing
s
13:34
spongecodes
is contract deployed in mainnet permanent?
t
13:34
talkol
Yes, but it’s just an address. Deploy again and get a different address
13:35
Unless you publish this address to users, nobody will know it exists
s
13:42
spongecodes
i checked the tonscan testnet, redeployed and it shows activity as just now
13:43
the address is the same address i used above so its working fine right?
SF
13:54
Slava Fomin
In reply to this message
That's not quite true. Someone could know if they would inspect the new blocks.
t
13:54
talkol
In reply to this message
I meant that they wouldn’t care
SF
13:55
Slava Fomin
In reply to this message
Who knows :)
t
13:56
talkol
Anyone that sees your contract on mainnet can take its bytecode and deploy it 10 more times.. so the fact the contract is singular is meaningless
SF
13:56
Slava Fomin
It could lead to a premature disclosure of some product for example.
t
13:56
talkol
but you have this problem on testnet too
SF
13:57
Slava Fomin
If it's public then yes.
t
13:57
talkol
In reply to this message
he deployed originally to a public testnet. I have yet to find any case where that would be advisable to do
M
15:02
Mark
Hi! So it looks like Message X is almost the same as _ (Message Any)?
AS
15:03
Aleksandr Shepelev
this is english chat, russian is @tondev
DS
15:05
Daniil Sedov
In reply to this message
_ (Message Any) = MessageAny is a definition of a new type "MessageAny" which refers to type Message
MK
23:18
Mike Khakhlou
Did anybody ever complete stress test on ton network? Per my knowledge it has very limited capacity.

In addition, base config allows you have master and slave node. Can anybody explain when that would done?
10 August 2022
BA
05:58
Bobby Atond
Hello~~I have a problem about shardnode's block, Is there a master chain block related to shard's block?
M
17:35
Mark
is crc16 that uses poly=0x8408 correct one?
JF
18:38
John Fyodor
In reply to this message
0x1021
18:41
In reply to this message
at least for address hashsum
M
22:34
Mark
How did you guys know that? How could have I found out?
11 August 2022
Y
10:08
Yashar
In reply to this message
Exactly! Numbers seem to pop up magically in TON!
DS
10:08
Daniil Sedov
In reply to this message
nope
10:08
just google CRC16 CCITT
10:08
these numbers are everywhere
M
11:17
Mark
What you say in this case is a gambler's fallacy
I got this everywhere
https://gist.github.com/oysstu/68072c44c02879a2abf94ef350d1c7c6
11:20
honesly I'v found so many crc16 implementations and everone is different...
11:20
I should have been told more specific in the task
OB
11:21
Oleg Baranov
In reply to this message
you need crc16 xmodem
M
11:21
Mark
thank! But how if doc says 2 bytes containing CRC16-CCITT of the previous 34 bytes ?
OB
11:25
Oleg Baranov
last 2 bytes of address is crc16 of previous 34 bytes

i found c implementation, it might help

https://github.com/kelvinlawson/xmodem-1k/blob/master/crc16.c
M
11:27
Mark
oh my God. have you use this table?
OB
11:29
Oleg Baranov
Hmm, where doc says about ccitt?
11:29
A) "Raw": < decimal workchain_id>:<64 hexadecimal digits with address>

B) "User-friendly", which is obtained by first generating:

one tag byte (0x11 for "bounceable" addresses, 0x51 for "non-bounceable"; add +0x80 if the address should not be accepted by software running in the production network)
one byte containing a signed 8-bit integer with the workchain_id (0x00 for the basic workchain, 0xff for the masterchain)
32 bytes containing 256 bits of the smart-contract address inside the workchain (big-endian)
2 bytes containing CRC16-CCITT of the previous 34 bytes
11:29
the last sentence
AR
11:30
Andy Russo
So in task 5, do we need to write base64url encoding function ourselves?
M
11:32
Mark
In reply to this message
AAAAAAAA! that's why my solution doesn't work! probably
AR
11:33
Andy Russo
Lol you forgot about base64? :D
OB
11:34
Oleg Baranov
In reply to this message
Thats interesting, cause im using xmodem for addresses, and table is a bit diff, need to check node’s code for clarification, im pretty sure it works with xmodem
M
11:34
Mark
really)))
I did it in my mirror code in python (since I haven't found any solution to debug the black box of TVM, I use python)
but I forgot to do the same for func
11:35
In reply to this message
it's interesting, cause the task says nothing about xmodem
Only telepathy
OB
11:37
Oleg Baranov
If task says ccitt, and no complains from other guys, then use ccitt i think :)
11:37
Or it not works with ccitt?
M
11:40
Mark
I forgot about base64
11:43
In reply to this message
I don't argue btw, I'm just not ure 🙂
If it works for you, you are right
but the most interesting for me is how have you found the different answer
11:51
how did you build a table of the base64 alphabet. did you use the dict type?
OB
11:54
Oleg Baranov
In reply to this message
Im not participating contest, just developing library for go
M
11:56
Mark
wow
You make cool stuff happens
12:10
How do we can save an ordinary string as is in func?
I'm reareading strings type for the 10th time and don't see such an options
How to have "A" for example? without making it x{*}
7C
12:11
7 Arseny Chernov
In reply to this message
think in terms of slices, bytes, and ascii codes
o
12:13
oxlti.qube
Which address is for burning?
MV
15:34
Max Viksna
How much does it cost to deploy a contract to main net?
RK
15:51
Roman Krutovoy @work
In reply to this message
TLDR: Usually very cheap, less than $1.

Better to read here:
https://ton.org/docs/#/smart-contracts/fees
15:52
In reply to this message
you can read more from talkol about it. They're so cheap so better to test on mainnet directly
s
16:40
spongecodes
for contest tasks i would have to write my own tests right? that are different from ones in repo
t
16:45
talkol
In reply to this message
much less than $1, can be 10 cents
12 August 2022
Z
12:18
ZEEGFA
is there any plan to make the Ledger App?
12:18
TON needs to be supported by hardware wallets.
12:21
first hardware wallets then an announcement for crosschain!!!
t
12:29
talkol
In reply to this message
If you need a cold storage wallet, we published instructions on how to use one on a laptop not connected to the Internet:

https://github.com/ton-defi-org/ton-offline-transaction
12:30
In reply to this message
Z
12:33
ZEEGFA
In reply to this message
Thank you! it's abandoned... I wonder how the team has neglected such an important topic.
T
12:34
Tim
It's not abondoned, it's waiting for ledger to include ton app
Z
12:36
ZEEGFA
In reply to this message
14 months ago...
o
12:40
oxlti.qube
In reply to this message
You can use ERC-20 Toncoin for ledger
Z
12:52
ZEEGFA
In reply to this message
Yes but it's not a suitable solution for the majority . hope to see some planning for it.
T
12:53
Tim
It's not about ton dev, there's currently 2 implenentations waiting for ledger to include them.
Z
12:57
ZEEGFA
In reply to this message
hmm, maybe TON Foundation must be involved or Ledger want $$$$ to speed up it.
t
13:43
talkol
In reply to this message
Not abandoned. It was written by core team. They’re very busy on other things in roadmap.

Also, the standard of how to sign transactions is not changing on monthly basis so this library does not need to be actively maintained. I think the Bitcoin Ledger app was last updated 5 years ago :)
13:46
I think a hot wallet on iPhone native app with FaceID and a cold wallet on an offline laptop is a good security combination. iPhone native apps are sandboxed well, it’s miles safer than MetaMask or a browser extension
13:47
Also you can work with the Ledger app manually until Ledger accept it officially
13:49
Also, TON’s web3.js like library - TonWeb - supports the client side Ledger part:

https://github.com/toncenter/tonweb/blob/master/src/ledger/AppTon.js
t
16:22
talkol
In reply to this message
13 August 2022
DS
08:30
Daniil Sedov
How can this code:
"Asm.fif" include
1 PUSHINT


throw the stack underflow error?

PUSHINT: stack underflow
08:34
As this https://t.me/tondev_eng/5657 is hidden behind many other pinned messages, it would be helpful to put it in the chat description as a Read this first...
SO
08:34
Steven Ong
Thanks
t
13:09
talkol
In reply to this message
difficult for me to answer because we simply don’t use Fift in our development flow at all. We explicitly stopped using Fift and we’re not wanting for anything
M
14:13
Mark
In reply to this message
Is there any cause? Some issues?
t
14:48
talkol
In reply to this message
No, it’s just complicated and not required for anything. Deploying, testing and building from TypeScript is considered easier if you don’t have a lot of experience with Fift
M
14:52
Mark
In reply to this message
On the contest there was a benefit of using fift to try and catch over the function
It’s not a usual case?
t
14:55
talkol
Not familiar with the contest. Can you explain a bit more on the use case you found it useful?
DS
15:06
Daniil Sedov
In reply to this message
3rd task was to verify if some message cell is a valid or not (by tl-b scheme)

And it was much easier to write some function that just parses some valid message, and then call that function with TRY CATCH and if at some point there is an error, this message is invalid.

But currently there is no try-catch in func so we just declared asm function
t
15:09
talkol
I assume over time these features should be added to func itself, they’re much too low level for most people to do them manually now in asm

Maybe there’s a way to incorporate this as a stdlib function?
DS
15:21
Daniil Sedov
In reply to this message
I don't think it's too low level Just a single asm function with the TRYARGS and CALLDICT
t
15:27
talkol
In reply to this message
Can you paste the code? We’ll be very happy to learn this pattern
15:27
Like a GitHub gist showing how to do it and an example where it’s useful?
DS
15:38
Daniil Sedov
In reply to this message
(int, tuple) trycatch (cell message) impure asm "<{ validate_message_exception CALLDICT }> CONT <{ invalid_message CALLDICT }> CONT 1 2 TRYARGS";
...
...
...
(int, tuple) validate_message (cell message) impure method_id {
(int good, tuple result) = trycatch(message);
return (good, result);
}

that's what I did.
validate_message_exception returns result on success and may throw exception if something goes wrong, and invalid_message just returns the result that is required in case of an invalid message

basically declare two functions, one will be like a TRY block, and another one will be like a CATCH block, and then do TRY/TRYARGS in asm
15:39
actually I think I was able to just rename trycatch function to validate_message and get the same result
15:40
there was a ready example code for each task in contest, which contained a declared function with required name/return types/args types, I just didn't want to remove it :D
t
15:50
talkol
hmm not familiar with the contest question so this is a bit out of context :)
VT
22:01
Vladimir Tamara Patiño
I participated in the contest and I already received my award. I thank a lot the TON Foundation for this contest. I learned and although I was in place 47, it satisfies me that I could participate using as operating system adJ that is a distribution of OpenBSD. Here is the patch for the TON tools I sent in orther to compile the basic tools: https://github.com/ton-blockchain/ton/pull/430 Here is a package for the ton tools for OpenBSD/adJ: https://github.com/pasosdeJesus/adJ/tree/main/arboldes/usr/ports/mystuff/net/ton And here a full distribution of the version 7.1b2 of adJ that includes the ton package: http://adj.pasosdejesus.org/pub/AprendiendoDeJesus/endesarrollo/
22:07
In reply to this message
Some time ago I also could compile and use mytonctrl on adJ/OpenBSD, however I don't have expensive hardware neither the money to set a validator node. But I think I can set up and keep running a collator node using as operating system OpenBSD/adJ that IMHO would be more secure than Linux. Starting with testnet is any validator interested in a collator node running on OpenBSD/adJ ?
14 August 2022
N
01:29
Nomam3e
Have someone already shared solvings for contest? I'm just going to write a whiteup for it and want to see solvings different from mine and also 4th task's solving that I haven't done completely
T
02:11
Tim
In reply to this message
Yes, check in contest chat.
VE
11:16
Vladimir Eliseev
Hey guys! Can I ask about Android wallet https://github.com/trm-dev/wallet-android ? Did someone try to build it?
11:18
What does clarification mean?
Open the project in the Android Studio (note that it should be opened, NOT imported) and build.
V
11:53
Vadim
Hello all! Who knows how generate the public address of TON wallet from the seed phrase?
t
11:53
talkol
In reply to this message
That’s an excellent idea! Please publish it here when you’re done. I’m sure that everybody that didn’t participate will learn a few things from it
11:54
In reply to this message
This post has JS code that does it as well as explanations how it all works: https://society.ton.org/how-ton-wallets-work-and-how-to-access-them-from-javascript
i
19:32
isoscele 💎
address can start more versions starting with UQ or EQ whats the diff
DS
19:41
Daniil Sedov
In reply to this message
Yeah.. are there more types of addresses than just bounceable and non-bounceable?

Why when I'm entering some address like kf..... into tonscan, it shows something like EQ.....

Is it just another string format (not base64) or what?
S
20:10
Shayan
In reply to this message
kf... is for test-only. From the docs (for the first byte of the address): "... add +0x80 if the address should not be accepted by software running in the production network"
A
20:40
Alexander
Hi, guys. Need assistant!)

How to get smart contract's jetton wallet address from this smart contract? So after deployment it will have its jetton wallet addr inside.
t
21:04
talkol
In reply to this message
How are you deploying your Jetton?
A
21:10
Alexander
In reply to this message
It's not about jetton. I want to have my smart contract's jetton wallet address in its storage to validate inbound messages which come from that jetton wallet.

I can't store it in the smart contract's storage during the deployment, because jetton wallet addr is generated by a smart contract address.

So I must init this field after deployment. It would be great to have op::get_wallet_address inside jetton minter standard.
21:12
"To validate inbound messages" - I mean op::transfer_notification
t
21:12
talkol
In reply to this message
You are correct that this problem is circular. The address of your contract depends on its initial data cell which contains the Jetton wallet address. The address of the Jetton wallet depends on your contract address.

You will need to break the loop. One way to do it, is deploy your contract with zero set as the Jetton wallet address. And add a new op that sets this address if it is zero (after deployment).
A
21:17
Alexander
In my case I can't believe this op, cause anyone can deploy this smart contract. So it must validate it by itself.

I came up with the following solution:
- Another (MAIN) smart contract, which can be trusted, send some jettons through it's wallet to just created smart.
- Smart contract checks that from_addr == MAIN addr and saves sender addr as its jetton wallet addr.

^ unfortunately, it doesn't work, because anyone can send this message from any contract, using correct payload

" var msg_body = begin_cell()
.store_uint(op::transfer_notification(), 32)
.store_uint(query_id, 64)
.store_coins(jetton_amount)
.store_slice(from_address)
.store_slice(either_forward_payload)
.end_cell();"
t
21:19
talkol
You will need to explain more about your use case. When you say anyone can deploy your contract, how does that happen?
D
21:23
Dario
In reply to this message
Anyone can fake such message
21:24
The jetton standard doesn't define smc-side get calls
A
21:26
Alexander
In reply to this message
THat's what I wrote
D
21:26
Dario
So its not possible at all
21:26
In reply to this message
Yeah thats why I deleted the message
t
21:35
talkol
@dariolol you have this use case in your DEX, how did you approach it? Did you make your pairs unique? Or you can deploy multiple contract instances for the same pair?
D
21:37
Dario
Its not the same, i cant explain too much right now. But pairs are unique and there is no difference between USDT/WTON and WTON/USDT
t
21:53
talkol
@dariolol in your code, are you making an assumption the underlying jettons are using the same implementation of this function: https://github.com/ton-blockchain/token-contract/blob/2c13d3ef61ca4288293ad65bf0cfeaed83879b93/ft/jetton-utils.fc#L27 ?
D
21:53
Dario
No
21:54
The dex works with any token that accomplish the standard
21:54
Even if its a fake address that mimic a jetton wallet
t
21:54
talkol
so how do you get the correct address of your pair jetton wallet? it can’t be given during construction
D
21:55
Dario
Can't say now. The code will be open sourced pretty soon 😃
t
21:56
talkol
Haha, eventually everybody will have similar code. I don’t think hiding good security approaches due to competition is the way forward :)
A
21:57
Alexander
I will share mine when I find one 😁
21:58
Is it connected with the jetton code somehow? 🙃
D
21:59
Dario
In reply to this message
Open sourcing it Right now would create at least a couple of clone based on the logic i designed. I dont think its a good idea, we should let the developers to develop their own idea from scratch
22:00
In reply to this message
Nope, not really
22:00
But LP jettons (minted when providing liquidity) are mostly standard jettons
A
22:01
Alexander
In reply to this message
Yeah, we have the same
D
22:02
Dario
In reply to this message
You think so?
A
22:02
Alexander
In reply to this message
It's not unsafe, there will be no liquidity provided
22:03
So it will be empty pair smart contract that is not a problem
D
22:03
Dario
In reply to this message
Yes, and even if the pool has some fake tokens you still need to provide the real one*
A
22:04
Alexander
In reply to this message
Could you give us at least the direction?)
22:04
Where to dig ? 🆘
o
22:06
oxlti.qube
In reply to this message
C- competition
O - The Open Network
A
22:08
Alexander
See you on the finish then)
o
22:11
oxlti.qube
Can’t wait for SashaSwap
22:12
SushiSwap, but on ton
A
22:13
Alexander
In reply to this message
Appreciate your support
o
22:13
oxlti.qube
In reply to this message
wen polygon
A
22:14
Alexander
In reply to this message
dude chill
15 August 2022
o
01:28
oxlti.qube
In reply to this message
What is the name of your project? I want to make a little research on it :)
A
10:10
Alexander
In reply to this message
A week ago I told you in DMs that it's not public yet.

Why are you asking the same question in public chat?) What's wrong with you?
AF
10:11
Amir F
Based  on below repository we can write some nft's with funC.

https://github.com/ton-blockchain/token-contract

And we can write solidity smart contract for ton blockchain based on below repository.

https://github.com/tonlabs/TON-Solidity-Compiler

Is it possible to use solidity to wrire nft on ton blockchain?

Please give me any refrence if exist's
o
12:04
oxlti.qube
In reply to this message
Oh, it’s u. You just changed your avatar
A
12:05
Alexander
In reply to this message
Yes)
DV
21:52
Dan Volkov
https://github.com/ton-blockchain/TIPs/issues/83

We think about standardisation of the func language configuration file, what do you guys think about it?
AT
23:33
Andrey Tvorozhkov
In reply to this message
Why you're not using toncli format as template? Many devs use toncli
TD
23:59
Tonana DEV
Hello, sorry for the small out-of-direct FunC context, but if you want to be aware of "Tonana Bridge & Connectors" updates, follow @tonanadao
16 August 2022
Ю
12:11
Юлиан
Hi everyone! Does someone know how to update tlo files? I just found an update-tlo.sh file, but can't find tl-parser utility. Had someone such problem?
AT
12:27
Andrey Tvorozhkov
In reply to this message
Yeah, one moment
Ю
12:28
Юлиан
In reply to this message
Thank you!
AT
12:28
Andrey Tvorozhkov
You need to compile it and then update-tlo.sh will work!)
s
13:30
shahar
Announcing that we’ve added the ability to update metadata for jettons in jetton.live (if the admin was not revoked). Enjoy!
RK
14:24
Roman Krutovoy @work
👋 Hello, devs!

I want to improve documentation, and I want to make it more newcomers-friendly. 🥰

Right now, the project is in closed beta. I'm looking for developers who have problems with even starting to read current documentation.

You have an opportunity to become the first user and provide feedback so I can improve the final version with your help! 😎

If you're interested, feel free to PM :)
JK
16:27
Janna Kovich
Hello team! At the moment we are using public nodes which are quite slow and we want to speed up the TON work - do you have any instructions on how to launch lightserver maybe? (it’s not working through mycontrol).
NA
17:13
Narek Abovyan
T
TonTech 16.08.2022 17:07:32
We’re pleased to announce the completion of the work on the Soulbound NFT (SBT) grant.

SBT is special kind of NFT where a user can only hold one, and it cannot be transferred to anyone else.

Huge thanks to @xssnik, who worked hard on the smart contract and on the standard proposal.
Also big thanks to TON Punks (@punkton) for doubling the grant’s budget.

As a result of this grant, we came up with a draft of the standard and reference implementation of contracts.

Now we want to invite developers to a public discussion of this draft before sending it for approval to the TON Foundation.

This is big news for the TON NFT community because adopting this standard will open up many new possibilities and mechanics for NFTs on TON.

We can’t wait for developers and artists to use this new technology in their products.

And of course, we will support working with SBTs on Getgems as soon as the TON Foundation approves our standard proposal.

Stay tuned for more news!
17 August 2022
N
18:49
Nacho
Hey there! I'm working at an exchange and we're integrating TON into our end, we need to check in which block is a transaction located and I don't know if there's some endpoint or something in order to do this. Note: I'm still trying to understand the chain structure since there's a mainchain, workchains and shardchains and it confuses me. Thanks in advance :3
RK
19:01
Roman Krutovoy @work
In reply to this message
t
19:07
talkol
In reply to this message
Workchain 0 is where 99% of the user action happens. Master chain (-1) is used mostly by the validators for PoS elections stuff
N
19:08
Nacho
In reply to this message
I will try it, thanks for answering! 🙂
t
19:08
talkol
In reply to this message
Eventually you will run your own full node right? This RPC server is open source and can be ran on top
N
19:09
Nacho
In reply to this message
Great! I wasn't understanding this, thanks for answering!
19:10
In reply to this message
Once everything's working well and we're ready to move to prod we might need to run our own node yep
T
19:12
Tim
Maybe you want to start with direct Liteserver communications. Check out tonutils-go
t
19:13
talkol
There are multiple flavors of API (that you can run yourself eventually), choose the one you like most:

https://toncenter.com/api/v2/

https://github.com/ton-foundation/ton-api-v4

https://tonapi.io/swagger-ui

Direct ADNL communication like @TrueCarry suggested (that’s the low level networking protocol TON uses under the hood)


—-
N
19:16
Nacho
Awesome! Thanks, appreciate your willing to help me out guys
t
19:19
talkol
Shardchain is an internal concept that shouldn’t bother you right now
f
22:38
fraffo
How do I know if some of those are used in the ton whales staking pool?
Is my stake at risk?
f
22:38
fraffo
T
TON Status 17.08.2022 22:01:31
At least 25 validators have not been updated to the previous update and therefore do not work:

ADNL Pubkey
9D5807...F0A93D FD362E...9AA3DD
75B0B7...33FB88 BD9194...1503B8
9E8CF3...C9322A 993C80...D8A0D2
1F4E39...497CC6 0D737A...9F24C2
B2DC94...1F4B0E 8299B1...052ABC
1300AB...DFD989 E2645E...5B52EF
DAE434...E55B25 399722...231BF9
7B92DC...EA4A7F A2E1C9...08CBCF
A33EBA...7AED9C B3C81D...204097
3090F8...049726 8987DB...19CAF1
DA00B4...C454EB 2C0874...0C3C52
B02E52...FE308D BC240A...160313
AF402E...85D80B 9B348D...071CE5
BC0BD7...F45107 7E318A...FEF81E
F3876C...E3B9C9 AB1001...1207E5
A8FA83...23E0FA 6B6654...DC32A3
B1E0E6...29F1B8 4AD0F8...0A3B77
E854AA...039227 0FB3E1...F1186D
EDB4ED...9EF8F9 B82717...A755B1
0C45E8...89B7DC 764390...A96FC6
B065B1...7C2749 47B818...F6EC52
AFCCEE...8C3607 7E9B91...9AA75C
B2C527...8AAFA4 08C5FF...9AE000
860F8D...6EB624 76CF73...A5BA4A
016AE2...77A65E 4BBC1B...966761

All validators who have not updated need to update in the coming days, otherwise there will be a vote to fine them a significant part of the stake.

To update:

— in mytonctrl commandline run update then upgrade.

— if you don't use mytonctrl please manually rebuild code from master branch of https://github.com/ton-blockchain/ton.
18 August 2022
BT
12:32
Biduero Tim
Hi everyone, what kind of databases does cex crypto exchanges use?
А
13:18
Андрей
In reply to this message
image_2022-08-18_13-18-49.png
Not included, change data exporting settings to download.
14.2 KB
If you have the opportunity to use mytonctrl, then inside it there is a command vl past, which allows you to see a list of all past validators, address and work.
The Tonwhales team's addresses (as a rule) end with ...Whales. Here they are shown on the screen.
As you can see, they work fine, here is a list of ADNL of their nodes:

E0A1BD...8A18B2
6951F6...D9DC92
950900...3ADAD2
E38C2F...403898
1F6228...19176C
f
13:48
fraffo
Thx:)
f
16:01
fraffo
Hello I'm trying to compile compile fift from the master, I'm getting this linking error:
ton/third-party/rocksdb/env/io_posix.cc:686: undefined reference to `io_uring_submit_and_wait'
16:01
func and lite-client compile fine
19 August 2022
19:33
You can download binaries from here too without GitHub account
20 August 2022
D
01:39
D a v i d e
hello, where is the line of code that specifies the price of a Jetton? and the price of jetton is always those I choose or changes with supply and demand? thanks
SF
03:27
Slava Fomin
In reply to this message
D
11:26
D a v i d e
In reply to this message
thank you! so i the value of a jetton si not valued by supply and demand. it is possible to do this?
T
14:17
Tim
It's called dex
SF
22:35
Slava Fomin
SF
Slava Fomin 29.05.2022 23:49:09
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.
SF
22:36
Slava Fomin
Please refrain from the off-topic messages in the future. The people in this chat are well equipped to avoid scammers.
21 August 2022
AS
14:28
Artemiy Shirokov
Hey there! I have a smart contract that accepts messages from users. I would like to keep a history of requests. Tell me, please, how can I save a list of pairs (address, text of the message)? Do I understand correctly that I cannot use tuple for such a case because it has a limit of 256 entries? Are there any best practices for storing such a dynamic list?
Е
15:10
Евгений
In reply to this message
Interestingly that the fourh task in ton challenge event was about making linked list out of the tuple. You can find solutions for that. You can store in the map, but you have to realize that you are paying for just storing, so with a big number of messages the price would raise. So at least consider eviction of old messages or reading and storing locally with removing request, unless low number of the messages are expected.
AS
15:33
Artemiy Shirokov
In reply to this message
Thank you for the detailed answer!
TD
15:36
Tonana DEV
Prague, Brno, Czech ?
A
16:38
ArtyShatilov.eth
Did I miss smth or ton.org/bridge doesn’t work anymore?
16:39
Screenshot 2022-08-21 at 16.38.59.png
Not included, change data exporting settings to download.
21.0 KB
16:41
Trying to bridge wrapped ERC20 TONs to the TON network, but Transfer button isn’t working, and console shows this error
A
17:30
ArtyShatilov.eth
UPD: I was able to bridge through BNB Chain, Ethereum still isn’t working tho
TD
23:35
Tonana DEV
In reply to this message
Try Tonana bridge bro
23:36
But today a lot of rpcs are dead inside
22 August 2022
t
00:38
tonsofgram
T
TON Society 22.08.2022 00:34:50
📣 Announcement - New TON Society Blog Post

TON Society is where developers meet investors, and we believe it is essential for the community to continuously display their insights and expertise in TON development.

Tal Kol (@talkol), a key contributor to both TON Society Blogs and the English Developer Chat, has released a new blog post about contract sharding and how Jetton works as a distributed system (which can take new devs a long time to understand):

How to shard your TON smart contract and why - studying the anatomy of TON's Jettons

As a friendly reminder, other blog posts include:
- TON Hello World: Step-by-step guide for writing your first smart contract in FunC (part 1)
- Six unique aspects of TON Blockchain that will surprise Solidity developers
- How TON wallets work and how to access them from JavaScript
- The TON Blockchain is based on PoS consensus
- Why We Invested - Fanzee

In the future, TON Society Blogs will mainly feature posts about investments and events, whereas a newly developed Developer Portal will contain highly technical posts.

Meanwhile, if you have any posts you would like to be featured, please share as a TON Footstep or email a secret gist to society@ton.org. If accepted, we will award the blogger with a discretionary Recognition Grant.
SF
01:21
Slava Fomin
In reply to this message
@talkol That's very cool. Thank you for taking the time to write such nice articles. This will definitely help new TON developers to get on board much easier.

However, some typos: (sorry, I can't help myself)

- The smaller microservicea are
- said that the balalnce of each
- message indeed orignated from
- favorite tools → tool for this job

:)
T
01:24
TON Society
In reply to this message
We'll get this fixed - typos seem to be a side-effect of eating too much glass while buidling :)
A
23:57
Alexander
⭐️ Building our Python project, we had to code some parts of the tonweb library on Python. We've decided to share this part of our codebase: https://github.com/tonfactory/tonsdk

Already implemented features:
1) Some smart contracts (e.g. wallet)
2) Cell and bitstring
3) Mnemonic
4) Currency
and other

Feel free to contribute! 💪🏻
23 August 2022
IV
00:01
Ilia Vasilenko
thank you its amazing
S
07:32
Sid
In reply to this message
LOL
d
16:01
defuera
Hey devs! Quick question. There are standards TIPs, but are there interfaces (libraries) that I can use when writing smart contract? Or shall I just follow the standard as of now?
D
16:11
Dario
In reply to this message
16:13
If you need something else, just let me know
d
16:13
defuera
ok, cool, that's what I thought. Then I'll read standards, check examples and will follow them myself.
I'm working a simple interface to create NFT collections :)
D
16:14
Dario
Then probably you only need standard contracts
d
16:22
defuera
Ok, another question, with toncli (by disintar) can I run program locally or I have to deploy to testnet?
AT
16:28
Andrey Tvorozhkov
In reply to this message
You can run program locally with old or new tests. The most easiest way to do it - use docker from community contributor @trinketer22 -> https://github.com/Trinketer22/func_docker
d
16:30
defuera
Awesome, thx!
MO
17:05
Markо Okhman
Hello guys, is there any good tutorials on starting with smartcontracts for TON?
17:07
In reply to this message
As far as I see this is more on Free TON (aka Everscale)
17:08
I believe those are different?
MO
17:10
Markо Okhman
super, thanks!
LC
18:44
Lev Chizhov
Where can I read about the TON Wallet extension and websites (logging in, signing messages)?
LC
18:45
Lev Chizhov
Thanks!
SF
18:49
Slava Fomin
In reply to this message
I don't believe this article is relevant to the question asked.
J
18:51
Justin
In reply to this message
is this more relevant? https://t.me/tonkeeper/8
LC
18:57
Lev Chizhov
In reply to this message
Yeah, that's exactly what I need
AG
20:48
Alex Golev
In reply to this message
Maybe it will be interesting for you too.
https://developers.tonhub.com/docs/overview
24 August 2022
TO
09:19
Tim O'Brien
Hi, can anyone point me to docs on fift and fift assembler -thanks
T
09:28
TON technical overview
In reply to this message
https://docs.tonic.cx/intro-fift
There is no extended docs on Asm.fif, but https://ton.org/docs/#/smart-contracts/tvm-instructions/instructions has list of all instructions
TO
10:11
Tim O'Brien
how to set up and send assembler instructions and the location of the repository... thanks
TO
10:56
Tim O'Brien
I am an experienced developer. I don't need hand holding just point me in the direction and let me know which is the repository of the Ton VM
T
11:18
TON technical overview
In reply to this message
Tvm code is available here.
What task are you solving? Do you want to run some Asm code in tvm? One way is to use runmx command in fift.
TO
12:18
Tim O'Brien
II will try runmx thanks. have a computer language that I want to use to run the stack machine with. My language has a front end now and runs on another stack machine here is a link to the front end https://3.0.183.52/. I want to port over to Ton by mapping the stack manipulation primitives from my current primitaves - Opt Codes of Algorand stack machine. Plans for formally verifying the smart contract are underway so I want to be as close to metal as possible.
??
14:20
𝙰𝙷𝙼𝙰𝙳𝚁𝙴𝚉𝙰 𝙰𝚁𝙳𝙴𝙺𝙰𝙽𝙸
Hi
Why my nft have no token id?
t
14:48
talkol
In reply to this message
Cool project! In any case, there’s another interesting project you should know, https://github.com/Naltox/ton-contract-executor

It runs the TVM isolated in web assembly. So if you prefer JS environment to C++, you can run the op codes in a pretty isolated way
14:48
May be useful for testing your mapping environment
d
14:57
defuera
Hey guys, could you advice, what's happening here?
I'm trying to get an error when executing a non existing method on a smart contract, but getting some result
14:59
or does this -13 actually means 13?
13 - Out of gas error. Thrown by TVM when the remaining gas becomes negative.
SF
16:20
Slava Fomin
A kindly reminder: if you would like to recruit TON developers, please specify more details about your project (vacancy is preferred). We will be removing all the vague messages that lack any details.
t
16:24
tonsofgram
T
TON Society 23.08.2022 15:50:25
📣 Announcement - GetBlock hosts TON blockchain nodes

https://getblock.io/blog/ton-nodes-now-added-to-getblock-blockchain-network-stack/

GetBlock clients can leverage web3-driven technology with the help of TON while receiving 24/7 online support and constantly saving their time and money on unnecessary stress and fees.

Shared nodes are the perfect beginner solution for first-entry projects. Developers can experiment with their products under realistic conditions and provide the best-suited conditions for a successful dApp launch.

Dedicated nodes for TON are privately designed nodes backed up with an unlimited number of requests, a variety of server locations, and last but not least, unique node architecture tailored to meet each client’s individual requirements.

Get buidling 👨‍💻
TD
19:33
Tonana DEV
Are European devs here? Please dm me for collaboration or just a beer 🍺🍻
D
19:49
Dario
In reply to this message
Im italian
NA
20:02
Narek Abovyan
T
TonTech 24.08.2022 20:00:50
Hey, everyone!

Today we are launching our third grant for NFT contracts.

It’s easy to describe the idea in a few words: We want to allow users to swap their NFTs so that you can exchange your NFT for another user’s NFT safely and without selling it first and then buying it again.

From a technical standpoint, there are some interesting problems to solve, such as the distribution of marketplace fees among the participants of the transaction and ensuring the safe transfer of the NFTs.

We are looking for a person or a team that will develop a smart contract for P2P NFT transfers on GitHub using our technical specification.

The grant is 1,000 TON.

Grant applicants are expected to send a short intro and a cover letter to apply for the grant directly to @Narek.

We are planning to approve one team (or a separate individual) to work on this project.

Technical requirements:

https://telegra.ph/NFT-swap-Contract-Product-Description--Technical-requirements-08-24
NA
20:02
Narek Abovyan
Hey guys! We are launching new grant at Getgems, feel free join!
t
20:15
talkol
In reply to this message
I'm in London
J
20:18
Justin
In reply to this message
Not a dev and not in Europe, but wish I were both
M
20:48
Muhammadiy
In reply to this message
Hi guys, I would like to create a crypto wallet and wanted to clarify that TON has a Facebook-like console that provides developers with keys or a secret API Key access that create their own applications based on TON
t
21:56
talkol
In reply to this message
You’re always welcome to come, you have a home waiting ❤️
SF
22:02
Slava Fomin
In reply to this message
Well, there are some APIs that you can use this way, sure. But you will need to code your wallet using one of the SDKs nevertheless.
M
22:16
Muhammadiy
In reply to this message
Thank you bro
25 August 2022
TD
02:13
Tonana DEV
In reply to this message
If you would like to learn programming on TON, we are ready to take you under our care as a junior! If everything goes well, there is a possibility of relocation.
M
02:31
Matt
In reply to this message
Sounds like a fantastic opportunity for someone who may or may not want to get more dirty with TON then no? It sounds like it anyways haha
TO
12:30
Tim O'Brien
In reply to this message
Thanks!
M
16:55
Matt
It seems there’s a lot of Russians and Russian material in the TON community. Which is really cool. It kind of gives me thought of maybe taking up the language and practicing it, since that’s something I’ve considered doing in the past anyways 🤔🤔🤔🤔🤔🤔
RK
17:06
Roman Krutovoy @work
In reply to this message
don't worry about it.

Feel free to try something like this user-friendly documentation:

https://tonspace.co
RK
17:51
Roman Krutovoy @work
In reply to this message
If you want to start, you could try another approach, from this article:

https://society.ton.org/ton-hello-world-step-by-step-guide-for-writing-your-first-smart-contract-in-func
SF
19:33
Slava Fomin
In reply to this message
Hey! There is a so-called highload wallet that allows you to send multiple transfers via a single external call to the wallet. However, the main idea is to increase the throughput of the wallet not to optimize the fees. I guess it will help to reduce the fees by a little, but I'm not sure if it should be a goal in itself considering how cheap the TON processing currently.
N
19:47
Nikita
Hey everyone 👋🏻 We are looking for smart-contract developers for our project. If you are an experienced specialist, have a desire to work in a big team and create a cool product, I will be glad if you write to me in PM. For our part, we will provide competent technical specifications with deadlines, any kind of help to you and payment in the appropriate amount for the work done.
T
20:35
Tim
@tvorogme https://github.com/disintar/ton-k8s
Have you tried to spin up network for ci actions?
AT
20:41
Andrey Tvorozhkov
In reply to this message
No, but this is actually really interesting idea :)
T
20:42
Tim
ru\en dev chats need different avatars 😕
??
20:45
𝙰𝙷𝙼𝙰𝙳𝚁𝙴𝚉𝙰 𝙰𝚁𝙳𝙴𝙺𝙰𝙽𝙸
Why its 0?
20:45
How can i get token id
T
20:46
Tim
NftCollection -> GetNftById
26 August 2022
TO
10:07
Tim O'Brien
Is there a tutorial on creating an NFT on TON? thanks in advance for any help
t
10:09
talkol
10:10
If you want the fancy UI experience you can also create collections on the leading marketplaces like GetGems.io and disintar.io
o
10:14
oxlti.qube
In reply to this message
How do I know, you can’t create NFT collections on disintar
t
10:15
talkol
In reply to this message
I stand corrected then but I assume they’ll add at some point, I attended a zoom meet up of theirs a while ago and they talked about it
OB
10:21
Oleg Baranov
In reply to this message
You could also do it using code

Examples in golang:

1. deploy collection - https://github.com/xssnick/tonutils-go/blob/master/example/deploy-nft-collection/main.go
2. mint - https://github.com/xssnick/tonutils-go/blob/master/example/nft-mint/main.go

for basic nft collection just change urls in collection to your website with json attributes.
o
10:38
oxlti.qube
In reply to this message
Hm, I only see just stand-alone NFTs creator on disintar, not collection
AT
10:47
Andrey Tvorozhkov
In reply to this message
Yeah, that's true :)

But feature updates will be 🤯
TO
11:22
Tim O'Brien
In reply to this message
Ok thanks
EK
15:41
Eton Krow
Hello )

In TON have something like Remix ?

I mean maybe have some online platform same like Remix. Platform to build smart contracts on TON
RK
15:46
Roman Krutovoy @work
In reply to this message
Right now, in TON still no tools like Remix IDE.

But you could use proper Online IDE based on Glitch to play with smart contracts:

https://www.tonspace.co/develop/smart-contracts/#online
EK
15:51
Eton Krow
In reply to this message
Thank you 🙏🏻


Sorry maybe for a noob question.
Free TON and TON is it the same way to build a smart contracts?

I heve experience on solidity (BSC mainnet) and i start to learn about TON now.
I want to dive deep in to developing and i want to understand how its works and i find some guide in youtube. And this lessons for Free TON.
RK
15:57
Roman Krutovoy @work
In reply to this message
FreeTON is the old name of the "Everscale" blockchain. They decided to move out from TON technology, so it's completely different thing. FreeTON = not useful information.

The current TON development stack is based on FunC, not on Solidity. And if you want to understand a little more about TON, you could read this article:

https://society.ton.org/ton-hello-world-step-by-step-guide-for-writing-your-first-smart-contract-in-func
EK
15:58
Eton Krow
In reply to this message
Thank you again. You help me to save a lot of time 🔥🔥🔥🔥
15:59
In reply to this message
thanks mate also
t
16:00
talkol
Haha trying to push the StackOverlfow culture :)
EK
16:15
Eton Krow
and one more, maybe also noobs, question.

In BSC i can use metamask and connect it to my web site and to blockchain ofcorse.
How about TON? There is still no any Web3.0 ?
Can interact only from explorer?
Or can interact directly from telegram ?
RK
16:20
Roman Krutovoy @work
In reply to this message
There are a bunch of wallets in TON already:

https://ton.org/wallets
EK
16:23
Eton Krow
In reply to this message
this wallets can connect to web site and interact with the smart contract same like Metamask and BSC (ETH etc...)? Right?
RK
16:30
Roman Krutovoy @work
sure
EK
16:30
Eton Krow
Awesome!
16:30
And wich DEX most popular for TON ?
16:31
like for ETH its Uniswap, for BSC its PancakeSwap
16:33
I mean if i will create my own token and i want to create liquidity pool for my token (TOKEN/TON LP)
t
16:56
talkol
In reply to this message
There are multiple ones in the works
SF
16:58
Slava Fomin
In reply to this message
If you would need some power user functions, you can ask me, I have accumulated some rating there :)
t
17:00
talkol
In reply to this message
I had a good account https://stackoverflow.com/users/1025458/talkol but I lost its password 🙃
EK
17:01
Eton Krow
In reply to this message
I checked some of them and most popular is telegram bot (can Only Buy/sell), and others dex’s can Buy only wrapped TON (not in TON Blockchain).

Maybe you can point in one of DEX for TON Blockchain?
SF
17:01
Slava Fomin
In reply to this message
Oh, that's sad )
AR
17:02
Andy Russo
In reply to this message
Currently there is no DEX that supports the TON blockchain
T
17:03
TON Society
In reply to this message
post about this coming soon!
EK
17:03
Eton Krow
In reply to this message
Ohh. Really interesting 🤔
17:04
In reply to this message
I’ll wait 🙂👍🏻
t
17:31
talkol
In reply to this message
There are several already live, the post mentioned will have all the details
MO
17:46
Markо Okhman
For all those Russian speaking devs, here is a list of 4 crazy good articles. It took me a while to actually find them:

https://cryptounreal.ru/dapps/telegram-open-network-ton-pogruzhenie-v-blokcheyn-dlya-razrabotchika/
https://cryptounreal.ru/dapps/rekomendatsii-po-smart-kontraktam-ton/
https://cryptounreal.ru/dapps/telegram-open-network-ton-instruktsiya-po-kompilyatsii-i-sozdaniyu-prostogo-smart-kontrakta/
https://cryptounreal.ru/dapps/telegram-open-network-ton-dokumentatsiya-po-func/


Sharing this here, because our English-speaking friends could possibly use google translate or deepl.com to get the cool info from these articles.


Anybody who is getting started with smartcontract development - if you are serious about this - let's hangout together and help each other to make steps on this journey. Just ping me in DM
NS
17:48
Nikita Shevtsov
In reply to this message
OMG!
its pure gold, thanks!
t
17:49
talkol
In reply to this message
Maybe someone can be a good Samaritan and Google translate them and then fix the translation and republish them in English? That would be amazing
MO
17:49
Markо Okhman
Yep, its exactly what it is 🙂
I was screaming loud when i found this 🙂
17:50
In reply to this message
I will give it a try next week, if no one does this before me 🙂
t
17:51
talkol
You can give it to @tonkongz to publish in the ton society blog
17:51
Maybe ask permission from original writer
MO
17:51
Markо Okhman
t
17:52
talkol
yes
MO
17:52
Markо Okhman
damn, i'm so excited to meet you here 😍
thanks for that one, it was my first touch with TON
t
17:53
talkol
We’re a good community, always happy to help each other
17:54
In reply to this message
If you want to participate, take a look at https://github.com/ton-society/ton-footsteps/issues there are a ton of areas where anyone passionate can participate and be part of this community
17:55
and you’re free to suggest your own ideas for others to pick up
T
17:57
TON technical overview
In reply to this message
From first glance it looks like translation of docs on ton.org?
MO
17:59
Markо Okhman
Not really
S
18:00
SsNiPeR1
looks like i need to ask second time

how to create a private ton network like i can on ethereum?
AR
18:01
Andy Russo
In reply to this message
yeah, on 2 of them it literally says exactly that
MO
18:03
Markо Okhman
In reply to this message
that's true
o
18:03
oxlti.qube
In reply to this message
There is still no 100% working DEX on TON.
t
18:04
talkol
In reply to this message
they’re in various beta stages but several are already fully featured
o
18:04
oxlti.qube
In reply to this message
But they are still not live ;)
t
18:04
talkol
In reply to this message
What do you mean by a private network? What exactly are you trying to do?
o
18:04
oxlti.qube
In reply to this message
He means local chain
t
18:05
talkol
For testing? What purpose?
S
18:05
SsNiPeR1
In reply to this message
yes
18:05
testing
t
18:05
talkol
There’s MyLocalTon which is a local version of ton that supposedly works on your machine
18:06
But for testing there are other approaches that are better
18:06
toncli is a tool in Python that many people use and like, I’m a fan of the TypeScript stack that looks like hardhat from Ethereum
D
18:07
Dario
In reply to this message
Actually, there is
o
18:07
oxlti.qube
In reply to this message
You can use test network for it
18:07
In reply to this message
STON.Fi is not 100% working
t
18:09
talkol
In reply to this message
If you’re talking about ganache, then ganache is not really a full Ethereum chain, it’s just bare bones EVM implemented in JS. We have something similar in TON called https://github.com/Naltox/ton-contract-executor which is very similar, it runs the TVM in web assembly and is an amazing tool for testing
o
18:10
oxlti.qube
In reply to this message
I recommend you Tonkeeper
t
18:10
talkol
In reply to this message
If you want to see an example project working with it with live tests then look at https://github.com/ton-defi-org/tonstarter-contracts
S
18:11
SsNiPeR1
In reply to this message
i want to create my own chain
t
18:12
talkol
In reply to this message
Like a private fork?
o
18:12
oxlti.qube
In reply to this message
You mean Workchain?
t
18:12
talkol
Can you give an example from Etheruem ecosystem so we better understand?
NN
18:13
Nick Nekilov
In reply to this message
I must notice that not everything works in ton-contract-executor, so it isn’t a complete replacement of a real network.
Also it isn’t convenient to test multi-contract interactions in ton-contract-executor.
That’s why I use MyLocalTon.
It depends on what you need.
t
18:13
talkol
Adding multi contract to ton-contract-executor is not a hard task
NN
18:13
Nick Nekilov
Not actually you, @talkol, but the guy who asked 😁
t
18:14
talkol
@Narek has big plans for ton-contract-executor, once we all have some more free time to help him and work on them it will cover everything ganache does plus more. Multi contracts included out of the box. Now you can do multi contract but it takes a little effort to do the routing yourself
AT
18:15
Andrey Tvorozhkov
18:15
@SsNiPeR1 private network compose & k8s
S
18:34
SsNiPeR1
In reply to this message
any sidechain
18:34
anyone can create a genesis.json file
t
18:34
talkol
In reply to this message
like polygon?
S
18:34
SsNiPeR1
In reply to this message
maybe yes
18:34
polygon is a side chain
18:35
not connected to mainnet
o
18:35
oxlti.qube
In reply to this message
Orbs😁
t
18:35
talkol
If you just need a simulated environment for testing this is one thing, if you need production is something else
18:36
Polygon took the core Ethereum code base and made some changes to incorporate their own PoS consensus
AT
18:36
Andrey Tvorozhkov
In reply to this message
t
18:37
talkol
It’s pretty similar to how testnet is being run, the testnet is a TON side chain in “production”
NS
18:44
Nikita Shevtsov
What would be your suggestions on some basic pet projects for studying main concepts of ton? (After doing SC for storing the total number of received messages)
t
18:46
talkol
In reply to this message
Create a Rock Paper Scissors game on ton where two players deposit 1 ton to play, they play via a smart contract, and the winner takes 2 ton

This game really shows why you need blockchain because without blockchain it’s very hard to make without a trusted party
18:47
With ton this can be made that two total strangers will play fairly without trusting anyone
NS
18:47
Nikita Shevtsov
In reply to this message
Yeaaah, cool one!
Thanks!
t
18:48
talkol
If you need help to architect it, like how both submit their choices without the other player knowing - ask here, there’s a nice trick to it :)
18:49
And you can create a nice Telegram bot UI for this so people can actually play together
18:49
And if your code is nice and tested, I’ll help you push this example project to the official docs 😊
JP
18:51
Jorge Alejandro Pichardo
In reply to this message
Hey, I heard from the DevChat on Spanish, something about Ten Lessons for learning FunC. Are those video Lessons?
NS
18:52
Nikita Shevtsov
In reply to this message
i know about this one
27 August 2022
DV
02:07
Dan Volkov
DV
Dan Volkov 27.08.2022 02:06:04
Released FunC Support for VS Code v1.0.0

Large release supported by ton-society 🚀😎

- New FunC syntax: constants, strings and compiler directives
- Simple includes analysis
- Refactoring local variables
- Variable type inference & type suggestions in completion
- Code formatter
- Minor grammar & markdown fixes
t
02:11
talkol
In reply to this message
That’s amazing! What’s the official download link?
t
02:13
talkol
@dvlkv Is there a way to run the syntax highlighting part outside VSCode? For example to create an online IDE for FunC?
DV
02:13
Dan Volkov
yep
02:15
extension uses tree-sitter grammar compiled in wasm, and TextMate markdown
02:18
so at the beginning you can just try to find editor with TextMate support
EK
07:23
Eton Krow
In reply to this message
tonkeeper is for mobile phone. Maybe have some recommendation for web and phone? maybe have something same like metamask ?
o
10:15
oxlti.qube
In reply to this message
TON Wallet, but it doesn’t support NFTs, tokens
HW
11:02
Hemi Weingarten
In reply to this message
Hi! Our DEX, TonSwap (@TonSwapOfficialBot) is live on mainnet. Ping me to discuss your project
t
11:19
talkol
In reply to this message
There is a Chrome extension in https://ton.app/wallets that should be familiar to you. Much like MetaMask, it’s mostly for interacting with dapps, it’s not a very good wallet by itself as its NFT and token support is limited, so if you bought an NFT you won’t be able to see it there automatically
11:22
In general, ton mission is mass adoption so the focus in general is on a mobile first approach - unlike wallet connect on Ethereum which is clunky, we’re trying real hard to achieve a smooth end to end mobile app flow, meaning you browse a dapp through an integrated browser in Telegram or Instagram and then jump to your native app wallet to sign transactions and then jump back. These standards are still work in progress and not all wallets support them, if you’re excited about this part you can contribute it’s under active work
?
11:39
💎 Yang 💎
In reply to this message
Do you have a video showing the exchange process?
O
14:16
Omid
How to introduce the project to TON and chat with support?
does anyone know
O
14:37
Omid
hi
14:37
Is it possible to transfer NFTs to Metamask?
NN
14:39
Nick Nekilov
In reply to this message
Nope. Different blockchains. No any NFT bridges. Impossible at the moment.
i
14:42
isoscele 💎
In reply to this message
what about this? https://t.me/toncoin/391
NN
14:44
Nick Nekilov
In reply to this message
“TON will have the capacity …”
MO
16:11
Markо Okhman
Hey guys, anybody aware of how i could run my own alternative to https://toncenter.com/api/v2/jsonRPC?
MO
16:13
Markо Okhman
Super, thanks
16:16
Did anybody face "Rate limit exceeded: 1 per 1 second" on the toncenter.com RPC?
SF
16:17
Slava Fomin
In reply to this message
You will need to use the API key to overcome the limitation.
16:18
However, it's better to run your own instance of the toncenter for production.
MO
16:20
Markо Okhman
Thank you sooo much, man!
I'll definitely run my own instance for production, but now we are starting a pilot test with a few clients and I think this one will be enough.
28 August 2022
EK
00:13
Eton Krow
In reply to this message
Oke. Thank you 🙏🏻
Sure, Will Ping you later.
I still noob In TON, still alot of things To learn here
t
02:37
tonsofgram
In reply to this message
you can try it yourself by getting some toncoin and having them on Tonhub (another wallet on TON in addition to Tonkeeper)
n
06:18
n3ko_sempai
Hello, My name is Alvaro , I am a python developer with experience in other blockhains example ziiliqa and algorand. I am interested in build thing over TON network. thanks
MO
10:36
Markо Okhman
Hey guys, I hope everyone has a blessed Sunday 🙂

My team and I have composed a project that enables Telegram channels to monetize their content via TON.
If you have a Telegram channel and want to participate in Alfa - please DM me.

For 10 Telegram channels that will participate in Alfa, we provide free services for 2 years and 50% discount lifetime.
J
11:35
Julya Dori ▫️
In reply to this message
Morata?
i
23:06
isoscele 💎
I have amd cpu and linux. There's no way i can use pytonlib ?
A
23:12
Alexander
In reply to this message
I believe you can build tonlibjson by yourself?

In case it is not possible you can try tonsdk, there is an example of the TonCenter provider. Perhaps it is possible to migrate it to the pytonlib (haven't used it)
RG
23:13
Ruslan Gabdullin
Ofc you can. Try pip install pytonlib first of all
i
23:45
isoscele 💎
In reply to this message
im asking cause of this
RG
23:45
Ruslan Gabdullin
In reply to this message
You have amd, or typo?
i
23:46
isoscele 💎
yes amd
RG
23:46
Ruslan Gabdullin
Oh, sorry… It means amd64=x64=x86_64 cpu architecture
23:48
We’ll fix this mistake
23:49
In reply to this message
So, this will work for u
23:49
Moreover, arm64=aarch64 is also compatible now. Next step: RISC-V😃
29 August 2022
SF
01:53
Slava Fomin
In reply to this message
What about SPARC? 😁
RG
02:37
Ruslan Gabdullin
Maybe😁
Depends on arch popularity. RISC-V is the third after x86 and arm😄
i
03:50
isoscele 💎
In reply to this message
Oh ok I'll retry tomorrow then. Thank you
03:50
Same code worked well on windows I guess I have to fix something
RG
04:02
Ruslan Gabdullin
In reply to this message
If you get an Illegal instruction error, then you need to recompile libtonlibjson by following steps from this dockerfile and pass libtonlibjson.so.0.5 in cdll_path parameter.
A
11:36
Alexander
⭐️ Update by @psylopunk for the python tonsdk:

1) 💸 Jetton support
2) 🌁 NFT support and some methods

Usage examples can be found in README.md

+ send_boc and get seqno implementations for your custom clients
SF
17:42
Slava Fomin
Hey @andreypfau ! Do you have a string-manipulation methods in your Kotlin library? I can't find any in Builder/Slice.
AP
17:42
Andrey Pfau
BitString?
SF
17:42
Slava Fomin
In reply to this message
yep
SF
17:43
Slava Fomin
In reply to this message
I mean, no. I'm talking about general strings like "hello world". E.g. slice.loadString();
AP
17:44
Andrey Pfau
slice.loadBits(10)
SF
17:45
Slava Fomin
In reply to this message
You mean slice.loadBits(8 * byteLength)?
AP
17:45
Andrey Pfau
yep size in bits in args
17:46
if you want load byteArray:
slice.loadBits(10*Byte.SIZE_BITS).toByteArray()
SF
17:46
Slava Fomin
Are you planning to add more specific methods for strings or are you happy with the current approach?
AP
17:48
Andrey Pfau
what you mean as String?
17:48
UTF-8 string?
SF
17:49
Slava Fomin
In reply to this message
Sure
AP
17:49
Andrey Pfau
.toByteArray().toString(Charsets.UTF_8)
17:49
its inbuilt method in kotlin-stdlib .-.
SF
17:52
Slava Fomin
I see, thanks :)
30 August 2022
i
00:08
isoscele 💎
OSError: libcrypto.so.1.1: cannot open shared object file: No such file or directory

this is the error i'm getting on ubuntu tonlib
RG
00:09
Ruslan Gabdullin
sudo apt install libssl-dev
00:10
And check that it is 1.1 version
00:11
Also you may need sudo apt install openssl
00:11
Ubuntu 20.04 or 22.04?
i
00:24
isoscele 💎
22.04
00:24
libssl vers
00:38
Deleted Account
In reply to this message
try to run on 20.04, works like a charm for me
RG
00:39
Ruslan Gabdullin
Wait a bit)
Maybe I know where to find correct binaries
RG
00:40
Ruslan Gabdullin
In reply to this message
Meanwhile you can try to build it with the following dockerfile: https://github.com/kdimentionaltree/ton-builder/blob/main/amd64.Dockerfile
t
00:41
talkol
In reply to this message
I created a repo with binaries for all operating systems with simple installation instructions like dependencies. If you find any mistake in it please submit a PR to fix
RG
00:42
Ruslan Gabdullin
In reply to this message
There is no binaries for 22.04😅
t
00:42
talkol
In reply to this message
Pretty sure 18 binaries work, please check and if they work then let’s update the README and if it doesn’t work, let’s compile them together and put it there in a new line
RG
00:43
Ruslan Gabdullin
Nope)
In 18 and 20 there were OpenSSL 1.1.1 package
t
00:43
talkol
Oh right it was 20 that the 18 worked for
RG
00:43
Ruslan Gabdullin
It is not available in 22.04 and, therefore, one should recompile binaries with 3.0
t
00:43
talkol
Cool, so now when you figure it out upload the good binaries to this repo :)
00:44
So it’s easier for the next person
RG
01:39
Ruslan Gabdullin
In reply to this message
libtonlibjson.ubuntu22.so
Not included, change data exporting settings to download.
5.9 MB
Please, try to use this binary:
01:41
To build it you can use this script: https://github.com/kdimentionaltree/ton-builder/blob/main/build_ubuntu-22.sh
Docker is required
SF
01:48
Slava Fomin
In reply to this message
A word of advice. Of course you can trust Ruslan here, but be very cautious before running the binaries uploaded in chats :)
RG
03:37
Ruslan Gabdullin
In reply to this message
Yep! I strongly recommend to build it by yourself with attached script.
MD
09:25
Microwave Dev
Hello, i found something in ton dns nft-item smart contract.

Does it means that if owner didn’t make transfers during the year - his nft domain will be released?
09:35
In reply to this message
If the owner forgets to make a payment of 0.000000001 TON or is in hospital or prison or in grief etc then yes and the new owner will receive all future payments if the previous owner attached it to their wallet and if the new owner now attaches it to their wallet. 👏
AR
09:39
Andy Russo
In reply to this message
Is this small amount of TON the cost of keeping the domain?
09:40
In reply to this message
Yes
AR
09:40
Andy Russo
😯
09:43
In reply to this message
So first you may pay a very high price for a short domain say 1000 TON. In one year say Ton equals 100 dollars you have a valuable domain assuming Ton becomes the blockchain to unite all other blockchains. But for one nano Ton you may lose it though I expect there may be bots created to renew it on your behalf every year? But the additional “bonus” is attaching it to Wallets a great or terrible idea depending which side you’re on, not to mention it’s easier to mistype a domain than copy and paste an address.
AR
09:44
Andy Russo
In reply to this message
Can other addresses pay for your domain?
09:44
In reply to this message
No
AR
09:45
Andy Russo
That's unfortunate. It could be easily done with a smart contract :P
09:46
In reply to this message
Yes I guess that’s the way to go. And presumably someone makes it easy for laypeople to do auto renewals.
AR
09:48
Andy Russo
Sounds like a project idea!
t
10:25
talkol
In reply to this message
Consider that the core team decided to implement it this way for a reason :) I don’t think it’s a mistake. I think the goal was to minimize squatting of domains by requiring domains owners to prove “they are alive” every year. Maybe the better project is to create a reminder service?
AR
10:30
Andy Russo
Yeah now that I think about it it does make sense that the actual owner should pay the nano ton
10:31
In reply to this message
It needs to be more than a reminder. Life can get in the way. An actual renewal would be the way to go and wouldn’t prevent squatting but then the price is equivalent to web 2 domains for life only far fewer can yet access it.
DV
11:37
Dmitry Vasilyuk
Hey guys. Trying to build .fif file by fift and got an error
d
11:39
defuera
In reply to this message
did you set FIFTPATH env variable in ur bash.rc or whatever you are using there?
DV
11:40
Dmitry Vasilyuk
In reply to this message
no. I did everything from https://ton.org/docs/#/compile?id=download-global-config
But when I run func or fift i got Command 'func' not found, did you mean:
d
11:40
defuera
if you read the error you will see that it tells you, you need env variable named FIFTPATH
DV
11:41
Dmitry Vasilyuk
In reply to this message
What is the command I need to setup it?
d
11:41
defuera
do you know what is environment variable?
MD
11:42
Microwave Dev
In reply to this message
professionals squatters will build or use autorenewal services. I don't thinks that solution minimize squatting at all. I think it's maximize squatting for those, how's made services to follow domains of simple people and release them after year past. Is there any way to buy domain for more then year without required updates every year?
DV
11:42
Dmitry Vasilyuk
In reply to this message
As i understand it means I need to create relation between fift file and global variable
d
11:43
defuera
yeap 👍
DV
11:44
Dmitry Vasilyuk
In reply to this message
So if im correct something like export FIFTPATH=./ton-build/crypto/fift ?
d
11:44
defuera
you can google from here on 😉
11:45
and test ur env variable with echo from the shell
SF
11:46
Slava Fomin
In reply to this message
Yeah, I've thought the same. Squatters will be the last people who will be affected by the problem of domain renewals because it's a business for them, so they have resources to automate everything.
11:50
The better idea in my opinion would be to have a subscription, where your wallet will automatically pay for the domain each year. And the renewal price should be substantial to make it more reasonable (to avoid excessive domain holding). However, this is not the right chat to discuss this :)
MD
11:51
Microwave Dev
but where the right chat to discuss this?
SF
11:51
Slava Fomin
I guess the general chat would be a good fit.
11:52
In reply to this message
However still, there must be a party to initiate the payment.
11:56
I guess it would be cool to have some messaging protocol for wallet software, so we could send and display messages to wallet owners. That way it would be possible to implement renewal notifications.
12:00
In reply to this message
It’s not reminders that’s the problem. From experience. A war turns life upside down. Or you lose your family and are in unspeakable pain. Having paid a ton of Ton for your domain, losing it for failing to pay a nano ton is very unfair in such circumstances. Or in hospital in a coma to wake up and your domains and phone numbers and email addresses are gone. Hopefully developers can find solutions.
MD
12:02
Microwave Dev
In reply to this message
Developers will find solutions for those, how knows about problem. But i didn't see that this mechanism describes in TON auction description. How they will know?
t
12:04
talkol
In reply to this message
I agree that professional squatters will not be affected, but at least most whales are discouraged from squatting as investment assuming domains is not their core business
A
12:19
Anil Kutty | Heymate
Hi there,
We are looking to create a DAO on TON and move the software assets owned by a very small community (largely developers) there. We intend to continue development and also integrate with TON. Is there tooling available to do that, if not what would you recommend we do until the relevant tooling becomes available. Any guidance is appreciated, thanks!
D
12:27
D a v i d e
Hi everyone, Where can I found documentation about Ton Payments?
t
12:35
talkol
In reply to this message
Payment channels or just in general accepting payments?
12:37
Payment channels let you reduce the gas if you have many small payments between two parties
12:38
If you have just a single payment and gas is not an issue, then you just need to write a small backend in Python or Node.js that will check if your wallet was paid

https://ton.org/docs/#/payment-processing/deposits-single-wallet

https://society.ton.org/how-ton-wallets-work-and-how-to-access-them-from-javascript
D
12:47
D a v i d e
In reply to this message
this thank you so much, have a nice day
SF
13:25
Slava Fomin
In reply to this message
Hello! What tooling are you talking about exactly?
A
13:26
Anil Kutty | Heymate
In reply to this message
13:26
@slavafomin
There are many like the above pic
SF
13:27
Slava Fomin
That's too vague to ask.
A
13:27
Anil Kutty | Heymate
more specifically, looking for tools for
1) Asset management: manage the fractional ownership of the asset (software Copyright/IP etc being the asset), managing a typical balance sheet would be a plus
2) voting/governance tooling for roadmapping (but could be offchain too like Snapshot does or an extended version of telegram voting)

Can elaborate more over a DM, can I?
SF
13:29
Slava Fomin
This chat is for development questions and it looks like you are looking for a final software?
A
13:30
Anil Kutty | Heymate
Or maybe something coming in the near future so we can plan to migrate to it
t
14:58
talkol
In reply to this message
the voting part please speak to @mrbonezy - he is leading a project for that
OB
15:02
Oleg Baranov
New version of TON golang library 💎 tonutils v1.2.0

1. Jettons support + examples
2. DNS domains support + examples
3. NFT Index field type changed to *big.Int
4. Send and return msg hash + find transaction by msg hash (by @iam047801)
5. Send and wait for transaction hash (by @iam047801)
6. Auto repeat send of external message when waiting for transaction more than expected.
7. Method for local check of contract code if it has specific method.
8. Added descriptions for contract method exec return codes
9. Fixed run get method workchain for masterchain addresses.
10. TLB loader/serializer fix of small size *big.Int
11. Onchain content serialize fix
12. GetByIntKey method for dictionary (get value using big.Int key instead of cell)
13. Increased test coverage

https://github.com/xssnick/tonutils-go
31 August 2022
CQ
09:36
Clever Quang
Hello, Is there a tesnet program to receive airdrops?
P
11:24
Pil
It's possible to make transfers with API?
d
11:27
defuera
In reply to this message
it's a good question. In RPC swagger I don't see such a method. So I'm puzzled here as well
SF
13:58
Slava Fomin
In reply to this message
Please see the TonWeb examples.
JF
14:05
John Fyodor
In reply to this message
ton3-core
14:05
In reply to this message
You need to create BOC with transfer message and send it via sendBoc method
SF
14:29
Slava Fomin
In reply to this message
There are wallet classes with implemented transfer method in TonWeb, so you won't have to build BOC yourself.
JF
14:31
John Fyodor
Also it’s available in ton3-contracts
DI
15:58
Digibrokers-G64 Group Integrated Technology Group
Hi
15:58
Admin
15:58
Is there any plugNplay privacy layer for apps and users that a developer can leverage to make their TON defi apps privacy preserving both for users and hiring the codebases of implemented algorithms/smart contracts while ensuring accountability ?
t
16:07
talkol
In reply to this message
In the post https://society.ton.org/how-ton-wallets-work-and-how-to-access-them-from-javascript you have code examples in JS that do this
16:10
In reply to this message
Privacy is a funny concept on standard public blockchains since all the data is public, you normally can't expect privacy beyond pseudo-anonymity (your address is not tied to your real identity)
DI
16:52
Digibrokers-G64 Group Integrated Technology Group
In reply to this message
Who told you this?
16:52
Have you heard of functional encryption or secure multiparty computation or fully homomorphic encryption ?
16:53
How Nulink and Mina Protocol implementing such privacy compute layers for public blockchains ?
16:54
Or more advanced Heim AI for quantum blockchains ?
t
16:54
talkol
It’s a lot of buzz words thrown around, what exactly are you trying to build?
DI
16:54
Digibrokers-G64 Group Integrated Technology Group
In reply to this message
No buzzwords
T
16:54
Tim
In reply to this message
Now imagine that we heard about it, but still think the same
DI
16:54
Digibrokers-G64 Group Integrated Technology Group
I know deeply including the math and Enginering that goes into these
16:56
We are building a privacy preserving crypto derivatives asset allocation and automated yield optimizer for developers as well as end users/traders
16:56
Here our project url
t
16:57
talkol
Why does it need to be privacy preserving? Many yield optimizers are fine with the regular pseudo-anonymity, why isn’t it enough?
16:58
Is it because of the MEV?
16:58
We’re just trying to understand your use case
DI
17:01
Digibrokers-G64 Group Integrated Technology Group
We wanna hide both implemented code in smart contracts of the modified algorithm( original research paper and optimization algorithm you may download from our GitHub repo ) as well tx and used data
17:01
While ensuring we are probably fair as to what’s running under the hood
SF
17:01
Slava Fomin
In reply to this message
Security by obscurity? )
DI
17:02
Digibrokers-G64 Group Integrated Technology Group
Hence we require either SMC or FHE like nulink or some sort of zk proofs like Mina protocol
SF
17:44
Slava Fomin
In reply to this message
This is not a development question. Use the official page to track your domain auction status.
t
17:52
talkol
In reply to this message
I’m not aware of anything like that part of TON core, so I assume you will have to implement these primitives in FunC. I’m also not aware of any FunC library where somebody already implemented them
DI
19:02
Digibrokers-G64 Group Integrated Technology Group
In reply to this message
Where is the links FunC library as well as tutorials for beginners. Please include video links too
t
19:07
talkol
In reply to this message
ton.org/docs is official docs and is slowly being replaced by tonspace.co also lots of posts on society.ton.org - videos I don’t know personally
DI
19:29
Digibrokers-G64 Group Integrated Technology Group
In reply to this message
Thanks
VL
22:33
Vladimir Lebedev
T
The Open Network 31.08.2022 22:01:11
TEPs

TON Enhancement Proposals is the new home for current and future The Open Network standards, which replaced TIPs on GitHub Issues.

The process of studying the current standards, suggesting and discussing new standards has become more convenient.

Thanks to hacker-volodya for his help in creating TEPs.
VL
22:35
Vladimir Lebedev
it's possible to propose new standards in pull requests and receive feedback from community, such as in https://github.com/ton-blockchain/TEPs/pull/83
1 September 2022
t
15:19
talkol
I’ve been investing some effort in the last month to improve StackOverflow for “ton” tag, like cleaning the Everscale questions from the tag.

To moderate StackOverflow effectively we need people with over 10,000 StackOverflow reputation. Is there anyone else with this reputation in here?
15:20
@slavafomin maybe?
SF
15:28
Slava Fomin
In reply to this message
Sure, what do you have in mind?
t
15:29
talkol
In reply to this message
DM
D
15:29
Dario
In reply to this message
Email and pass probably
t
15:29
talkol
No, I recovered my own account, I have 12,000 rep 💪
15:30
I just want help with moderation
M
15:33
Matt
Too bad they don’t have a nice mobile app. Maybe their website is nice and responsive tho. I might start lurking that tag too
t
15:59
talkol
In reply to this message
they have the best SEO value there is, so answers there will show up nicely when people google ton questions
16:05
for example if you google today "how do i debug a ton contract in func" you don't get any good results on the front page which needs improvement
SF
16:10
Slava Fomin
In reply to this message
It's weird to use mobile phone to access such website. How would you edit/write code there?
16:14
In reply to this message
Do people still Google? Startpage and Yandex are both much better results. 😂
M
16:20
Matt
In reply to this message
I was thinking more to browse questions and see what people are posting and commenting but ya that’s a good point. I’m def curious what software development could look like on a mobile phone in the future, not sure if it’s gonna happen, but you gotta wonder if it might, and if it does, how it would work haha (edit: I know you can do it already with some apps but obvs it’s not very nice or designed properly for mobile)
16:20
I just enjoy using my phone a lot more than my laptop
SF
16:21
Slava Fomin
Most programmers I know are buying more and bigger screens to make their work more efficient, it looks counter-productive to go for a phone 😁
AR
16:22
Andy Russo
In reply to this message
you can code on a tablet with vscode in the browser and an external keyboard already
M
16:22
Matt
In reply to this message
Right but I mean with just on screen mobile keyboard. It would be cool to be able to just lie on the couch and code for example haha.
AR
16:23
Andy Russo
you can probably do that on a phone too but the screen is just too small
M
16:23
Matt
But like for example the syntax for a lot of programming languages is not mobile friendly, having to type these esoteric characters and keys. Either you gotta improve the keyboard, or make a more mobile friendly syntax
16:24
In reply to this message
Iunno man, a lot of screen time is spent on phones nowadays, wouldn’t it make sense to be able to design and build on the things we use most often? Haha
16:24
Why not we just skip the phone and go straight to programming while asleep using neural implants and upload to star link.
M
16:25
Matt
Ok that sounds perfect haha 😛
J
16:26
Julya Dori ▫️
In reply to this message
answer.py

Matt_question = input(can I write FunC on mobile phone?)
>>> If you have flexible fingers, well, every coding language is easy for you
16:27
holy cow, I thought that word “gipsy” means flexible
M
16:32
Matt
In reply to this message
Haha 😛😛
t
17:00
talkol
From time to time I’m taking repeat questions that people ask here and add them to stackoverflow, I think it’s a good investment if anyone else wants to help :)
2 September 2022
M
00:03
Matt
Steve are you trying to figure out how to use that bot inside of telegram? like what commands you can type and give it?
SF
00:07
Slava Fomin
In reply to this message
There is an API for @CryptoBot, maybe you can look into that instead.
M
00:09
Matt
seems like this is what Slava’s talking about https://help.crypt.bot/crypto-pay-api
D
00:12
D a v i d e
hi guys! what you think about TACT?
M
16:24
Matt
Anyone have any insight behind the name jetton? I googled the definition of if and I guess I can kind of see the point of it. I searched in the token standard issue in the TIPs repo to see if there was any insight behind the choice of that name and didn’t really find anything

(Edit: and ya I decided this dev channel would be the best / most appropriate place to ask, as opposed to general chat or something. If that was a bad choice lmk)
AR
17:16
Andy Russo
In reply to this message
my personal guess is that jetton is how you pronounce the word "token" translated to Russian.

You can listen to it in the translator: https://translate.google.com/?sl=en&tl=ru&text=token&op=translate
M
17:22
Matt
Oh ha well there you go lol. As a native English speaker who doesn’t know any other languages I’ve never heard or seen the word jetton before but apparently it’s a legit one with a meaning that does have some relationship to tokens haha
МГ
17:29
Михаил Гусев
moreover you can treat this as "jet TON" which sounds cool
JF
18:15
John Fyodor
Jetton in russian is actually coin, that you put in something like arcade machine
o
18:16
oxlti.qube
In reply to this message
ERC-20 token at ton blockchain
JF
18:17
John Fyodor
18:18
Also in some cities jettons used as subway fare
M
18:22
Matt
In English what we use for arcades and subway stations are called tokens
18:24
18:25
In reply to this message
Token in Russian is жетон (written in Russian alphabet as Jeton) with the J pronounced as the Zs at the beginning of Zsa Zsa Gabor if you happen to know her. She lived to 100 years!
JF
18:28
John Fyodor
In reply to this message
So жетон (jetton) = token
M
18:30
Matt
In reply to this message
Lol. I don’t but it’s cool to know her now
DS
18:31
Dmitry Shanin
The word jeton is French actually. It has the same meaning in French as token in English.
18:32
In reply to this message
Yes pronunciation is the same in French. The J like French word for Japanese: Japonais or July, “Juillet” etc.
AP
19:29
Andrey Pfau
In reply to this message
Saint Petersburg yay
JF
19:30
John Fyodor
In reply to this message
there are no more jettons in Moscow
AP
19:30
Andrey Pfau
In reply to this message
"Troyka" moment
JF
19:30
John Fyodor
also there are holey jettons in Nizjniy Novgorod
AP
19:30
Andrey Pfau
In reply to this message
Samara and Kazan also
21:37
It ends with “ton” so obviously fitting, also in casinos, the plastic tokens you get that are equal to cash IMO are called the same
21:38
The word indeed originated from French, but was adopted in many other languages like Russian
M
21:38
Matt
I’ve never been to a casino, so maybe it’s a more common word than I realize. And yes v true, it does end with ton
t
21:44
talkol
T
TON Society 02.09.2022 21:05:17
TON Foundation is announcing a reward program to incentivize community activity and engagement on StackOverflow. We want to help the community build a TON knowledge library on StackOverflow so that any developer can ask and answer questions about TON. We want to build this on StackOverflow for several reasons:

Strong search engine optimization, which translates to better search engine results

StackOverflow dominates web search results. When any developer (from TON-curious to TON-native) uses Google to search, we want them to find an answer efficiently on the first page. We cannot expect TON to become a leading layer-1 blockchain without such a knowledge-base optimization.

Reuse old answers to help new people

Developers are usually struggling with similar issues and problems. We want to avoid a scenario where developers get stuck and ask a previously answered question if they can find an archived answer easily.

Questions asked on developer chats get washed down the drain

Most of the TON dev community is asking questions in the various Telegram chat groups. Questions asked there get buried in the chat stream. It becomes difficult to search for old answers and all the valuable knowledge does not get archived for later efficient search.

Here is the concept:

1. Every first working day of the month, we will reward with Toncoin and special NFTs the top 10 most active people who answer questions and the top 3 questions* for the trailing 30-days with the TON tag from the dashboard.
*Please note that the top winners will be subject to post-moderation in order to prevent cheating.

2. Use only the [TON] tag — please, do not add any sub-tags. Avoid creating sub-tags that will branch out the taxonomy. For example, do not add [func], [fift], [toncli], etc. We want to concentrate all efforts in the same place to reach the critical mass faster. We will encourage the use of [TON] tag + specific word search in the title. Thus, questions should have a comprehensive title that covers the respective topic(s).

3. To participate and get rewarded in the program, you need to log in to a special bot through your StackOverflow account. The bot will let the TON Foundation team know the wallet addresses of the top authors to reward them. It will be available in the second half of September. Starting now, you may answer and ask questions, and log in to the bot later.

The Toncoin amount will be determined by the position. 1,020 TON will be awarded among the top 10 answers:

1. 300 TON
2. 200 TON
3. 100 TON
4. 90 TON
5. 80 TON
6. 70 TON
7. 60 TON
8. 50 TON
9. 40 TON
10. 30 TON

And 120 TON for the top 3 questions:

1. 60 TON
2. 40 TON
3. 20 TON

Let’s grow the TON database of knowledge together 🤗
J
22:15
Justin
In reply to this message
TON on a rocket JET going to the moon 🚀 jetton
SF
22:22
Slava Fomin
In reply to this message
It's called casino tokens or "chips".
3 September 2022
MO
21:18
Markо Okhman
Hey guys, Tal Kol in his famous article is noting that their team writes tests in TypeScript, rather then fift. This brings me to 2 questions:
- Is there any more materials on writing those tests (@talkol was the part 2 ever published? 🙏)
- What are pros and cons of doing it with TS vs fift?


As far as I understood, in order to test internal command, tests is the only way to run them before deploying to blockchain
21:20
This is part two 👆, it also covers all available alternative testing methods, the leading one is toncli - you can see examples of toncli type tests here: https://github.com/disintar/toncli/blob/master/docs/advanced/func_tests_new.md
MO
21:23
Markо Okhman
Awesome, thank you man!
D
21:24
D a v i d e
In reply to this message
the first part is ok for beginners that don’t know anything about TON developing?
t
21:24
talkol
In reply to this message
Yes, it’s a beginner post
D
21:25
D a v i d e
In reply to this message
thank you
t
21:25
talkol
If there’s anything unclear let me know and I’ll fix
MO
21:27
Markо Okhman
In reply to this message
Honestly - the first part didnt get me into programming my first smart contract, maybe just because of the way my programming mind works - when i start with something new, i want to see full cycle from 0 to deployed code.

However, it got me lot's of general understanding of how TON smartcontracts work.

I ended up with hands-on coding while following this set of tutorials mentioned in official documentation:
https://github.com/romanovichim/TonFunClessons_Eng
4 September 2022
MO
01:02
Markо Okhman
In reply to this message
Hey guys, I've recorded a video for those who want to make the first steps
https://youtu.be/RbIt8bjvvjE
In this video, i show resources that helped me to start and go through the first tutorial of the list of lessons I've shared
M
01:15
Matt
Cool!!!!!!!!
A
03:37
Alexander
In reply to this message
T
13:13
TON technical overview
The recently announced TON Enhancement Proposals system has already attracted the attention of many developers in the ecosystem.
We invite you to suggest your improvements and join the discussion of current proposals:
TEP83 - FunC (or wider) project configuration file format
TEP85 - Soul bound token - NFTs owned by keypair rather then by address
TEP86 - Semi-fungible tokens(SFT) - Mix of NFTs and Jettons
13:57
Anyone have the way to calculate the chances of 1. the same word appearing twice anywhere in any random 24 secret words, and 2. the same word appearing twice in direct sequence (at any position, but consequtively) within the random 24 secret words? It'd be very interesting to know. When testing wallets extensively over the past 6 months, i've seen 1. a few times, and 2. once. I don't know how many total mnemonics there are, if we know that, maybe someone knows how to calculate.
AP
14:08
Andrey Pfau
In reply to this message
2048 words total
14:10
In reply to this message
Mathematicians! What formula would we use to calculate possibility 1 and 2?
D
14:40
Daniil
In reply to this message
The probability of certain word to appear in passphrase is 24/2048 (24 is count of words in passphrase and 2048 is all words count) which is ~1.17%
The probability of 2 certain words to appear in passphrase in any place is 24/2048 * 23/2048 which is ~0.013%
14:41
So there is nothing incredible that you saw this:)
SF
14:42
Slava Fomin
In reply to this message
You can run the real mnemonic generation algorithm and just measure how often this will happen. This will give you real life results.
14:42
The probability of the two same words appearing CONSECUTIVELY?
14:44
In reply to this message
I mean statistically. The same word twice one after the other. There will be a formula to calculate that probability. It will be a lot less again. Perhaps Daniil can provide. My mathematics is unfortunately very rusty!
D
14:46
Daniil
In reply to this message
I'm not sure if there any restrictions about same words appearing, but if there are NO any restrictions in code, the probability will be 23/2048 = ~1.12%
14:48
In reply to this message
No the same words can appear and I’ve seen it few times in manual testing. But the same word directly after one another for example in position 12 and 13 you have “rice” not in a position with some other word in between. How would you calculate that? Or were you saying that’s 0.013% in which case I misunderstood the previous answer.
SF
14:48
Slava Fomin
In reply to this message
There are no restrictions, each word is selected randomly.
14:50
In reply to this message
Yes in theory there could be 24 same words the same and that would be one in trillions I guess. But just twice in succession would be good to know as it’s still quite rare and a young enthusiastic newcomer to Ton has such a situation. Nice to tell him exactly how lucky he is. ))
D
14:51
Daniil
In reply to this message
Probability is ~1.12% for two same words to appear in adjacent positions

Probability is ~0.013% is when you say IN THE NEXT RANDOMLY GENERATED MNEMONIC THERE WILL BE TWO WORDS: A and B (in any positions)
SF
14:56
Slava Fomin
The thing is that not every mnemonic will satisfy the additional conditions, so the probability will be lower I guess.
14:56
In reply to this message
I don’t think so. 1.12% is probability of any single word appearing anywhere. But the same word appearing twice adjacent to each other in the same wallet that’s not 0.013% I don’t think but never mind it’s a bit off topic and not of any security importance of course.
МГ
14:58
Михаил Гусев
as i know the last word is a checksum, so it is not choosen idependently from others, that why it is hard to count the precise probability
15:01
In reply to this message
That would make good sense. Still we could get an approximation then perhaps ruling out one place and counting 23 available slots and then the probability of being adjacent.
SF
15:01
Slava Fomin
If you roll two fair six-sided dice, what is the probability that the dice show the same number?
https://www.cuemath.com/questions/if-you-roll-two-fair-six-sided-dice-what-is-the-probability-that-the-dice-show-the-same-number/
15:02
In reply to this message
Yes this would be the correct way to calculate based on a 23 sided dice. Well done!
SF
15:03
Slava Fomin
2048 sided dice :)
15:03
In reply to this message
Yes I just realized hahaha indeed
15:03
I don’t want to physically try 😂
SF
15:03
Slava Fomin
So the probability will be 1/2048 = 0.048%
15:04
Not considering the fact that additional conditions take place.
15:04
Easy when you think about it! Thank you!
M
15:06
Matt
In reply to this message
This is the probability that 2 adjacent words in a list of 24 words will be the same?
15:06
Aren’t the two 2048-sided dice rolled like… 24 times or something like this?
SF
15:06
Slava Fomin
In reply to this message
This is true for Ethereum but not for TON.
15:08
In reply to this message
Not quite, it's a probability that two words will be the same. I'm not sure how to extrapolate this considering that we have 24 words :)
M
15:09
Matt
Ahhhh ok so it sounds like you’re talking about scenario 1
15:09
Not scenario 2
15:11
In reply to this message
Ok but this is not the equivalent scenario. In that case we are rolling 2 dice. In our scenario, we’re rolling 24 dice. Unless I’m misunderstanding
SF
15:14
Slava Fomin
In reply to this message
No, you are right.
D
15:15
Dean
Can a contract running in TVM call a C Library? Are C libraries accessible within FunC or not?
15:16
I thought we are rolling one dice with 2,048 sides, and we are looking for the same number twice in a row. So, we can say any number, even number 1000, and what is the probability of 1000 being rolled on the next roll, it is 1 in 2,048? So I thought it is this simple ))
M
15:16
Matt
I’m going to very cautiously submit this as maybe my best guess for what the probability of 2 words in a list of 24 words will be the same, assuming each word is sampled from a list of 2,048 words haha (https://www.omnicalculator.com/statistics/dice)
15:17
maybe there’s another calculator here https://www.omnicalculator.com/statistics that can be used to figure out the probability for scenario 2
15:17
In reply to this message
Wow, so now i wonder which way it the dice being rolled for our 24 words? 😂
15:18
You make a very interesting point Matt, I did not think that correctly I think 😂think think
МГ
15:18
Михаил Гусев
So every word is generated independently, but some mnemonics are considered invalid. I think we can assume, that probability of A is nearly same on set of all mnemonics, and set of valid mnemonics.
Then i suggest the following answers:

1. 1 - (2048*2047*...*2025)/2048^24
2. 1 - (2048*2047^23)/2048^24
M
15:18
Matt
In reply to this message
yes, but if you don’t get 1000 on the next roll, you have another chance to roll again. and you can do this 23 times in total
15:19
In reply to this message
Yes for scenario 1 (same word twice in the 23 words) but for scenario 2 you can only roll it once.
M
15:19
Matt
ah ok so we’re talking about scenario 2?
15:19
yes
M
15:19
Matt
ok well… don’t you still have like 24 chances to get 2 words in a row to be the same?
15:20
(it’s not exactly 24 i don’t think, but it’s a number larger than 10 for sure from what i think…. haha)
15:20
2,048 words, and you want same word twice in a row, seemed it should be 1/2048 but you threw a different light on things
M
15:21
Matt
you want the same word twice in a row in a list that has 23 pairs or something like this
15:21
yes exactly
15:21
23 single words, not pairs
M
15:22
Matt
so is the probability like…. 1/2048 * 23 or something like this?
15:22
each time probability is 1 in 2048
M
15:22
Matt
you have 23 chances to get 2 words in a row to be the same
15:22
(don’t quote me on 23, it might be slightly off from 23 haha)
15:22
that's true yes
SF
15:22
Slava Fomin
In reply to this message
Looks like it )
15:23
yes i think we can agree on that 1/2048 * 22 even, since now one slot was consumed.
M
15:23
Matt
statistics and probability man. 😂 i’m glad i never had to take that class lol
15:23
In reply to this message
don’t include me in the list of people who agree. i’m not confident enough in my ability with statistics lol
15:23
i love it, my life shows so many times that it cannot all be about statistics and probabilities 😂
SF
15:24
Slava Fomin
In reply to this message
* 23 (there are 24 words in total)
МГ
15:24
Михаил Гусев
In reply to this message
No, because you count mnemonics where are two same words, and after them again two same words twice
15:25
still the error should not be big
15:25
In reply to this message
I'm confident enough in my recklessness lol as it was just an academic interest as i helped a kid create a wallet and never saw it yet twice consecutively, so wondered how rare it is, i have seen same word twice maybe 3 times in 50, which isn't scientific))
15:26
In reply to this message
no, just two same words adjacent, out of 24 total words minus 1 assuming it is for CRC check
SF
15:26
Slava Fomin
Screenshot_2022-09-04_15-26-31.png
Not included, change data exporting settings to download.
44.4 KB
15:27
In reply to this message
Are we talking about TON or Ethereum? )
15:27
TON
SF
15:27
Slava Fomin
All 24 words in TON are random.
15:27
oh i see
15:27
just someone mentioned check sum so fine 24, makes it easier ))
15:28
In reply to this message
Please explain this ))
SF
15:29
Slava Fomin
In reply to this message
This is the real life generations. The first column is a number of times two consecutive words were generated, second column is a total number of generations and the last one is probability.
15:29
So in real life this is ~1% chance for TON.
15:32
In reply to this message
That's for Ethereum.
15:37
In reply to this message
So Daniil answer was right after all 👏
SF
15:39
Slava Fomin
Yep, it's 23 * 1/2048.
15:40
In reply to this message
100% logical, after all that ))
SF
15:40
Slava Fomin
Not considering the additional conditions of course.
15:40
and real life ))
15:41
so ~ 23 * 1/2048 looks good!
M
15:41
Matt
^ for scenario 2, to be clear, ya?
15:41
yes, scenario 2.
SF
15:42
Slava Fomin
In reply to this message
Yeah, a good practical introduction to the probability theory. I should've studied it better in my student years :)
15:43
By the way I can't generate the three consecutive words :)
15:43
for scenario one, hmm... now i'm confused again Matt. 1. any of 2,048 words appearing twice anywhere among 24 words, and 2. any of 2,048 words appearing twice in direct succession. You destroyed my clear vision again ))
15:44
haha that's nice to know, must be very difficult
SF
15:44
Slava Fomin
In reply to this message
And I'm using 4 cores :)
15:44
so we know if we see 3 words in a row, that's very very very rare!!!! and highly unlikely to see lol
M
15:46
Matt
In reply to this message
yaaaaaaa haha lol. not sure about scenario 1 yet either
15:46
now i'm not either sadly, brain isn't in good shape at this AGE and late in the evening ))
M
15:46
Matt
😛
15:47
Slava opened my eyes and i saw it CLEARLY now you threw doubt again 😂
15:47
so i'll tell the kid, please DYOR!!! 😂
D
15:54
Dario
In reply to this message
No, you cant
D
15:57
Dean
Ok, I thought it was unlikely. Good to know for sure.
19:07
There's a non-english word among the 2,048! Naughty, naughty! ... ))
SF
19:15
Slava Fomin
In reply to this message
What word?
19:16
satoshi ))
M
19:20
Matt
I’m surprised it’s only 2,048 words
19:20
Why that set?
19:24
Yes, I remember a discussion about it on github I think it was, there's a reason it is considered a secure enough range. But, why that set? I wonder too and how it was arrived at. As, it should have been possible to make it a little better, so that never more than the first three letters are required to differentiate. I see some words a little too similar so that an english speaker may make a mistake, i think, not sure, perhaps one such pair is anger and angry.
SF
19:33
Slava Fomin
In reply to this message
Hah, funny )
19:37
yes, 4 letters is right perhaps it is not possible to get 2048 words with only 3.
DC
19:38
Daniel Cooper
There are plenty of articles out there about the chances of compromising a seed phrase via keyword duplication. The fact of the matter is, as you have noted that the number of options is very limited - this is due to the BEP39 open source wordlist function (or similar) and despite what you may think, word / phrase duplication and the ability to bruteforce is very real. I've actually brute forced a BEP39 seed phrase by accident ffs. If by convention you think of how huge the likes of Rockyou and the dirb lists are and the continued success rate of those, it's less probability you need to be worried about in terms of seed phrase security and more about direct targeting vectors. Think about the probability of a hash collision in anything below SHA256.....really low but still happens and can still be manufactured. I have encountered some APTs now able to manufacture hash collisions in some algorithms which I thought was absolutely impossible. Seems not. I think there is a lot to be said for the improvement of how crytpo assets are secured and I am always thinking and considering new ways to improve cryptographic security functions. I think there is a lot to be said for the way that Solana have introduced state proofs into their cross chain protocols (on the Sol side) which bears equivalence to quantum encryption in some aspects of the mechanism which is pretty cool. Anyway, I'd be really up for working on tweaking and playing with security mechanisms for the TON ecosystem if anyone else is interested.
A
20:01
Alt
Hi all
M
20:03
Matt
Hey there mate. Cool to see ya here.

Lexi and I have spoken a little bit in the general community chat and he’s had a really cool interest in some of the software of ton and the stuff behind the scenes so I thought this place could be cool for him to be a part of too
A
20:03
Alt
I've got a few questions -
How does the vertical blockchain work exactly? I understand it figuratively but not technically.
Do you pay an initial gas fee as an extra aside from your message or is it deducted from the message's balance? What happens if you just send BTC if that is even possible, is a little bit converted as a fee? What if you send an empty message, how is the fee received then?
M
20:07
Matt
Does vertical blockchain refer to infinite sharding or?
DC
20:10
Daniel Cooper
Hi Matt, vertical blockchain scaling refers to the expansion of a network by adding more power and memory to a system and its core processing unit
20:10
That's taken verbatim from a description but couldn't think of a way to put it better haha
A
20:10
Alt
yes im trying to put it into words now
DC
20:11
Daniel Cooper
Horizontal is essentially adding nodes instead
20:11
Just different methods of scaling
M
20:12
Matt
Oh, so it’s not any different than scaling horizontally or vertically in regular server infrastructure then. Wonder why it includes the word blockchain then haha
A
20:13
Alt
It is in the case of a wrong block being signed, you can rollback and go again from the mistake onwards, whilst youd have to fork if it was horizontal
20:14
Unsure whether this is also the case for regular server infrastructure
M
20:15
Matt
In reply to this message
Why would it be? There’s no blocks in the case of regular servers. I’m a bit confused and this question might help me understand better what you mean more generally
A
20:16
Alt
In reply to this message
i was just thinking maybe there is an equivalent case where vertical scaling is superior, there are no blocks ofc
20:18
This bit of the whitepaper is not clear to me
20:20
The TON Blockchain solves this problem by making each block of each shardchain and of the masterchain ( horizontal blockchains ) a small blockchain ( vertical blockchain ) by itself, containing different versions of this block , or their differences . Normally, the vertical blockchain consists of exactly one block, and the shardchain looks like a classical blockchain. However, once the invalidity of a block is confirmed and committed into a masterchain block, the vertical blockchain of the invalid block is allowed to grow by a new block in the vertical direction, replacing or editing the invalid block. The new block is generated by the current validator subset for the shardchain in question.
20:20
better formatting
M
20:21
Matt
Ahhhhh ok so I’m not sure if vertical blockchain is the same thing as vertical blockchain scaling. Cause when we google vertical blockchain scaling it mentions what Daniel found. But yes that’s what I thought, I vaguely recalled the term vertical blockchain being used in the white paper to refer to infinite sharping
A
20:21
Alt
Yes youre right
20:22
although im not sure it is the same as infinite sharding because that just refers to the shardchains and this involves chains being layered
M
20:23
Matt
So my very loose answer is like….. in a more traditional blockchain like ethereum all the data is stored in one block so to speak. Whereas in ton, you can “compress” all that data into one hash number maybe (don’t quote me on that, I don’t know the specifics but for the sake of the analogy), and store that hash in the parent blockchain, and store the actual specifics of the data in a child blockchain
20:23
So the parent / master blockchain makes sure all the data has integrity, but at the same time doesn’t need to worry about storing all the data in the world
20:23
And then the team of blockchain servers can split up their duties of which shardchains they take care of and store on their own computer
20:24
So in essence, each node in the network takes care of a fraction of the whole blockchain, rather than all of it
20:24
^ my attempt at an answer anyways haha
A
20:25
Alt
yes that's the where the shardchain validators keep track of their own shardchain as well as neighbouring ones (those one hexadecimal apart re the shard identifiers)
20:25
youre right
20:25
but i do not see where the vertical blockchain comes in, this specifically implies "grow by a new block in the vertical direction" and i am confused as to how that works in particular
M
20:26
Matt
Hm what are you wondering about exactly then? Like what in particular?
20:27
Like the actual details and specifics of what that means in practice?
20:27
In reply to this message
Ya ok I can see your original question was how does that exactly work. Ok so maybe I don’t have any info to offer you that’s useful lol
A
20:28
Alt
In reply to this message
the TON Blockchain solves this problem by making each block of each shardchain and of the masterchain ( horizontal blockchains ) a small blockchain ( vertical blockchain ) by itself, containing different versions of this block
20:28
i mean this
20:28
it seems like a very complicated thing to execute in practice
M
20:28
Matt
In reply to this message
Completely agreed, but a v core part of why ton why will be more scalable from what I can see
A
20:29
Alt
yes exactly which makes it so important to the project
20:29
its one of the things ive highlighted as being most unique
20:29
alongside what you said above about infinite sharding
M
20:29
Matt
In reply to this message
Agreed
20:30
To me I understood vertical blockchain to be the same thing as infinite sharding. But maybe I’m wrong?
A
20:31
Alt
i think it is different.
infinite sharding refers to shardchains being created/merged when load becomes too high/low
vertical blockchain refers to each chain being its own small chain which can trace back in time to correct mistakes
20:31
i may be wrong however i have only been looking at this since friday
DC
20:33
Daniel Cooper
Hmmm, think I'm gonna need to read the Whitepaper on this aspect haha. I don't understand the terminology 'mistake'. Where / how is this mistake induced? And more importantly, can this functionality be exploited maliciously.
A
20:34
Alt
the mistake refers to an invalid shardchain block being found
M
20:34
Matt
In reply to this message
Ok! Interesting. Really good to know. When I read that it just sounded like infinite sharding to me. I haven’t made my way through much of section 2 yet, I’ve left it for last haha, I’ve looked at a couple other sections
A
20:34
Alt
haha ive gone through 2 and nothing else
20:34
going through 3 now
DC
20:36
Daniel Cooper
In reply to this message
Ok, it's an interesting concept all round then....especially with the infinite sharding ambiguity. Might spend the week trying to hack it :)
A
20:37
Alt
nice :)
M
20:40
Matt
ok so i just read the section that you’re asking about (2.1.17 correcting invalid shardchain blocks). i guess i sort of understand it to be like… creating a new version of a block … and overwriting the previous version of the block. and this is somehow able to propogate across the network even though the new blocks after the now edited block may have pointed at the old version of that block.
20:40
does that sound about right?
DC
20:41
Daniel Cooper
Ah ok, that does make more sense then. Gives me a little more to play with for sure, thanks Matt
SF
20:43
Slava Fomin
Vertical Blockchain is a means to correct older blocks while infinite sharding is all about network scalability (the concept is very similar to traditional servers).
M
20:44
Matt
ya. the mental analogy i have in my head right now about vertical blockchain is sort of like macos time machine haha (with one document basically representing one block)
A
21:16
Alt
In reply to this message
yes thats right although it is not overwriting but instead creating a new one which is used instead (the vertical aspect)
M
21:16
Matt
In reply to this message
Ah yes. Right. I was being cheap and quick with my use of the word overwriting
21:17
Overwriting in terms of effect, not implementation
A
21:17
Alt
yep makes sense
21:17
never seen this sort of idea before though
M
21:18
Matt
Ya, and so going back to your v original question, are you wondering about like the specific implementation details of this? And what it means in terms of repercussions for the engineering design required for the blockchain?
21:18
Seems the logic of the validators is gonna have to be more sophisticated to handle this
A
21:18
Alt
now i think weve hashed it out more it makes more sense to me
M
21:18
Matt
Ah ok cool!!!
A
21:18
Alt
but yes, gl to the validators if/when this happens lol
M
21:19
Matt
In reply to this message
😂😂😂😂😛😛😛😛
5 September 2022
A
03:16
Alt
Could someone explain how the on and off chain connection works exactly? Like how does the ton blockchain and ton network connect? or how does a ton blockchain smart contract retrieve an off chain file from ton storage?
03:19
Matt this might be more up your alley, chapter 4 :)
M
03:28
Matt
sh@t. the chapter i’ve read the least that is not chapter 2 lol 😜
A
03:29
Alt
haha sorry
M
03:31
Matt
without taking a closer look right now, i believe the ton network is just a way for all the computers within the network to be able to communicate with each other more effectively. and that more effective communication method then can be in turn used to orchestrate everything that needs to be done for the blockchain. so basically, again without taking a closer look, a better designed p2p network protocol for the blockchain use-case.
03:31
(versus say, using the http network protocol, which is actually a server-client protocol, rather than p2p)
A
03:33
Alt
yes i see what you mean! makes sense thanks
M
03:37
Matt
as for the ton storage, not sure if this will answer your question, but basically the ton blockchain will keep track of a bunch of meta data associated with the files, but not actually keep track of the actual contents of the file. but included in that meta data will also be a hash of the contents of the file (not sure how familiar you might be with hashes), but basically that hash will be able to tell the downloader of teh file whether they have the actual correct contents or not. that way, the ton storage computers not a part of the blockchain network can just send you the file, and the blockchain can confirm for you if you have the correct file, and the blockchain doesn’t have to worry about actually storing the data in their blockchain
03:38
(from 4.1.7 "An example of such a service is given by TON Storage. In its simplest form, it allows users to store fles off-chain, by keeping on-chain only a hash of the fle to be stored, and possibly a smart contract where some other parties agree to keep the fle in question for a given period of time for a pre-negotiated fee.”)
A
03:40
Alt
makes perfect sense, thanks so much Matt
M
03:41
Matt
an analogy might be like…….. warehouses outside the city. stores inside the city. and corporate headquarters. a store wants to “download” an item, asks headquarters if it’s in stock anywhere, headquarters tells them that teh item is in stock at this warehouse, and then the store goes to that warehouse to get the item. all the itmes are stored “off-chain” outside of the city
A
03:41
Alt
great analogy
M
03:43
Matt
awesome!!! 😁
03:44
(and headquarters is the blockchain, the entity with the authortative record)
A
03:44
Alt
and the chain:)
M
03:45
Matt
Yes haha 😁
03:50
i highly recommend this video https://www.youtube.com/watch?v=Lx9zgZCMqXE maybe it doesn’t suit your style of learning or style of communication etc etc but will share anyways in the small event it does
A
03:50
Alt
thanks Matt
M
03:51
Matt
it’s about bitcoin specifically, especially cause the video was made back in 2013 lol, but it does offer a much better sense of what exactly blockchain technology is and what it has to offer
A
03:51
Alt
if you have any questions about ch2 lmk
M
03:51
Matt
will do!! ty!
DC
11:07
Daniel Cooper
In reply to this message
Nice Matt. Not being familiar with this FunC lang yet (seems really abstract.....what's wrong with Rust ffs haha). To that end, are you familiar with how the hash mapping functionality works in the TON smart contracts in terms of locating block data?
D
13:54
Dario
Hi guys, im getting this error while reading config param inside an inline function. I dont understand why sometimes it works, and sometimes it doesnt. This is the error:

error while running VM: error while parsing a dictionary node label

i got that it doesnt load the procedure, but why?
DC
14:00
Daniel Cooper
Hmmmm, not sure
14:01
I'm still having issues installing TON CLi
AT
14:02
Andrey Tvorozhkov
In reply to this message
Did you try docker?
DC
14:03
Daniel Cooper
I didn't yet no. Tried using npm and also cloning the repo, but guess Docker is the next option. Trying to load everything into the new blockchain sec / dev VM so just working my way through what is and isn't in there already too.
14:04
Thanks though man, I'll try Docker now
AT
14:04
Andrey Tvorozhkov
An ultimate setup is:

1. Remove prev versions (rm -rf ~/.config/toncli) if linux
2. Clone master git clone https://github.com/disintar/toncli.git
3. cd toncli & pip install -e .

If you didn't install SpyCheese binaries - you need to get them from toncli-local branch here: https://github.com/SpyCheese/ton/tree/toncli-local if you want to work with new tests. Soon all binaries will be auto integrated into toncli

Or just use docker: https://github.com/Trinketer22/func_docker
DC
14:05
Daniel Cooper
In reply to this message
Awesome thank you for that. Will give it a go. Yeah using Linux so will give both options a go thank you
V
14:39
Vinay
Looking for some work opportunities

Expertise in C/C++/Python and Kubernetes with microservice framework gRPC and protobuf
14:40
I really dont know where to start 🫢
SF
14:44
Slava Fomin
There are a lot of opportunities in TON. Start by studying the technology, investigate the ecosystem, find some weak spots and offer your solution.
DC
15:24
Daniel Cooper
Yeah, I'm really making the most of discovering TON. Really unique blockchain and ecosystem.....if not a little complex in some areas. Interesting security aspects too especially regrading exploits in memory
15:24
I'm enjoying exploring TON a lot
M
16:33
MmdNI
I can release my token in ton blockchain?
16:33
Ton have smart contract solution
16:33
?
AP
16:35
Andrey Pfau
In reply to this message
yes
16:35
In reply to this message
and yes
DC
16:35
Daniel Cooper
In reply to this message
well i thought bit was going well until it won't recognise the path to where I have my func executable etc located. Is there a prefered / advised directory to save them to as I just added and made a fresh directory to keep them in
D
16:36
Dario
In reply to this message
found the problem: ton-contract-executor has an empty dict as parameters. I made a function to apply a custom dict as a config to the contract instance but i forgot to apply it in a test
T
16:36
TON technical overview
In reply to this message
D
16:37
Dario
In reply to this message
M
17:06
MmdNI
In reply to this message
Thank you solidity?
t
17:07
talkol
In reply to this message
I think it would be best to discuss with @Narek directly in DM
17:08
Maybe propose to do a PR or add it in some way to the API that users can control this behavior
D
17:20
Dario
In reply to this message
I noticed that loading Network configuration from a base64 string takes a few seconds. I dont think its a good idea to add it by default, but maybe a built in method to apply it easily is enough
17:20
Well we will see
MO
17:22
Markо Okhman
Guys, which major TON development players do you know? Ex. TonWhales etc.

I'm looking into changing my career path, so searching for a company where I could start working part-time providing classic development services (I'm a senior in Angular, React, React Native, NodeJS, and Telegram bot development) while learning TON smart contracts programming from colleagues.
T
17:23
TON technical overview
In reply to this message
MO
17:26
Markо Okhman
Thank you!
M
17:33
Matt
In reply to this message
Good luck! I may or may not do something similar someday too, I’m not sure yet
MO
17:34
Markо Okhman
In reply to this message
Did anybody find this video useful after watching it?

Not promoting, just seriously planning to record more videos on what I learn in TON smartcontract development.

Some feedback would be really appreciated. Thanks
M
18:05
Matt
i haven’t gotten around to watching it myself. it looks really really really well made tho
18:07
if i do delve more into func i might start off by, like you, following along with the tonfunclessons. it’s not very often i learn from videos, i’m more of a reader
S
18:44
Step
currently only 1 shard in master chain?
when will TON have more shards?
SF
19:03
Slava Fomin
In reply to this message
This depends on the network activity.
S
19:17
Step
In reply to this message
have we ever had additional shard since genesis block?
t
19:34
talkol
In reply to this message
The way I understand it from the white papers, sharding is an automatic mechanism that takes place as load increases. When the load on the single shard is too big for handling on a single machine effectively, it will be split in two. Why would this matter to you? It’s an internal detail that is abstracted away from users
T
19:35
Tim
In reply to this message
Yes
A
19:41
Alt
Hi, could anyone explain about shard vs account chains? dont quite get the difference, and what makes account chains virtual. thanks
19:43
In reply to this message
how do you see this?
19:45
In reply to this message
shardchains contain groups of account chains which contain accounts? soemthing doesnt seem right
SF
19:52
Slava Fomin
Each shard contains a group of accounts. Imagine that you have a dedicated shard for each account — this is called "account-chain". However, this is just a thought experiment therefore it is "virtual".
19:54
The main idea is that: 1. you shouldn't expect two accounts to be "living" in the same shard, 2. it shows the incredible scalability of the TON network.
S
20:16
Step
In reply to this message
https://toncenter.com/api/v2/getMasterchainInfo

always single shard "shard":"-9223372036854775808"
t
20:19
talkol
https://stackoverflow.com/questions/73448894/ton-supports-multiple-workchains-which-one-should-i-use-in-my-code

I wrote this answer in SO about workchains and shardchains, but it was aggressively closed 😅
t
20:44
talkol
(closed by SO moderators, not by somebody in ton community)
T
21:27
TON technical overview
In reply to this message
For this block of masterchain, https://explorer.toncenter.com/search?workchain=-1&shard=8000000000000000&seqno=3063410 there were 12 shards in basechain (there were intensive tests which caused chain split).
21:31
Currently, except for short periods of high workload, TON processes around 1-3 TPS, which is well below the maximum workload that a single shard can handle: so there is no reason to split the chain.
A
21:36
Alt
In reply to this message
why shouldnt I? didnt you say shards contain a group of accounts, so i do expect 2+ accounts?
21:37
but it is better to think of it as each account having its own chain for the vertical blockchain aspect?
21:37
did i get that right?
21:37
In reply to this message
thanks!
21:40
In reply to this message
right so workchain -1 is the master chain, and there is one shard -922... and as the first shard and workchain synonymous that means there is nothing except the masterchain right now?
T
21:43
TON technical overview
In reply to this message
Currently we have one masterchain and one basechain.
Masterchain never splits to shards. All activity happens in basechain though which can split to shards. In example above there was one chain in masterchain (as always) and 12 in basechain
A
21:44
Alt
got it, basechain being Workchain Zero?
T
21:46
TON technical overview
In reply to this message
Yes
A
21:46
Alt
thanks!
21:46
:D
A
22:49
Alt
does someone know how how the fall-back keys work? dont understand how having an extra 32 bit integer field prevents key retention attacks
M
23:19
Matt
Which section is this?
A
23:19
Alt
3.2.11
23:19
hey matt
M
23:19
Matt
Hey there!!! Haha
23:27
hm. just gave it a read. what exactly does it mean by a key retention attack? now that’s a q i have for you lol
A
23:31
Alt
i know this i know this... give mea min
DC
23:31
Daniel Cooper
I'm guessing you're referring to a key recovery attack and the measure being referenced is a counter exhaustive key search attack. But this attack is a little outdated due to a 32 bit key space being included to avoid the vulnerability. Think this might be a little bit of showboating by the author tbh
A
23:32
Alt
i think the reference is to the 32 bit key having that exact purpose
DC
23:32
Daniel Cooper
yeah
23:33
It's not much of a vuln these days but still worthwhile being aware of for sure
23:33
That being said....
23:34
I'm reading a lot about sustained BGP attacks on DeFi and Web3 applications which is worrying af
23:34
So nothing is insignificant it seems
YB
23:34
Yury B
Hi is there a WTON available?
A
23:35
Alt
In reply to this message
i think in this case as neighboring nodes also confirm activity so they can manipulate the values of a node they all surround...?
23:35
whats a BGP attack
DC
23:38
Daniel Cooper
Using BGP and false SSL certs etc to spoof an application into revealing cryptographically secure information and allowing the extraction of data
A
23:38
Alt
i see okay
M
23:44
Matt
i just found this btw Lexi. you’ve asked about fees before iirc. https://github.com/ton-society/ton-footsteps/blob/1e7312d94e1f3b6b1e77a202f2d5687fc95ec1ce/articles/how_does_the_fee_count.md it’s an article that’s not published yet I think https://github.com/ton-society/ton-footsteps/pull/27
A
23:44
Alt
yes that was my original question in the community chat thanks!
M
23:45
Matt
cool!!!!
6 September 2022
A
01:55
Alt
sorry for the basic quesiton, but what is the difference between the abstract datagram network layer and overlay networks?
SF
04:55
Slava Fomin
An overlay network works on top of the ADNL. It's like HTTP working on top of the TCP. I would suggest to look into the OSI model for better understanding of the network stack and layered protocol architecture.
A
07:20
A
Hello, is there a reason why TON wallets have an activation fee?
MO
08:43
Markо Okhman
In reply to this message
If i'm not mistaken - its related to the fact that on TON blockchain evry wallet is a smartcontract
Meanwhile, deploying a smartcontract to a blockhain costs :)
t
09:31
talkol
In reply to this message
Where do you notice any significant fee? The wallet smart contract deployment takes place on your first outgoing transaction. It’s very small (cents) and can be considered part of the outgoing gas cost so it’s fairly normal
OS
09:54
O S
Hello,

Do you have any ideas is that possible to organize some kind of eth’s Gas Station Network on TON?

The main idea - to pay commission with non-ton token to some relay, who will add gas/ton to the transaction and send to network
AD
10:30
Arjun Dhakad
What platform is TON Network used on?
o
10:39
oxlti.qube
In reply to this message
TON is independent blockchain
AD
10:48
Arjun Dhakad
In reply to this message
Discord telegram Twitter YouTube
AG
10:55
Alex Golev
In reply to this message
t
11:06
talkol
In reply to this message
Where did you say a killer use case for Eth Gas Station on Ethereum?
D
11:15
Dario
In reply to this message
yes, you can build a smart contract to let users pays gas in jettons, for example. you can start reading wallet contracts
OS
11:41
O S
In reply to this message
Thanks! But are there any examples - would be great to have some git links
RK
12:06
Roman Krutovoy @work
In reply to this message
Hey Matt, you found a diamond for newbies!

I tried to adopt this article to documentation style, and here is what we received:

https://www.tonspace.co/develop/smart-contracts/fees

While low-level information about fees still exists in Low Level section:

https://www.tonspace.co/develop/howto/fees_low_level
DS
12:35
Dmitry Shanin
In reply to this message
You need to have some initial amount of toncoin to pay for jetton transfer anyway.
D
12:37
Dario
In reply to this message
yeah mine was just an idea to work with external messages and jettons. You need someone to pay for contract initialization etc
A
20:10
Alt
If there is an eth workchain how easy would it be to get my nfts from eth to ton? would it be seamless or as complicated as solana?
AT
22:20
Andrey Tvorozhkov
👋🏻, check out our little improvement of TVM Debug OP. Guess it's really needed feature for Func developers :)

BTW with toncli new tests it works awesome.

https://github.com/ton-blockchain/ton/pull/452
7 September 2022
t
00:03
talkol
In reply to this message
oh that's sweet! I looked for strdump!
00:03
hope it gets merged, debugging by printing numbers is tiresome :)
A
00:25
Alt
How big is a TON block
AP
00:40
Andrey Pfau
In reply to this message
By what count?
A
00:53
Alt
i mean bytes
00:53
like how big is each masterchain block? i assume small since it uses merkle proofs and it doesnt even matter?
00:55
also are there any bridges? how do i bring my eth onto TON?
AR
01:08
Andy Russo
In reply to this message
There is a bridge:
ton.org/bridge
AP
06:16
Andrey Pfau
In reply to this message
Here you can download the block's .boc file and check the size by yourself https://explorer.toncoin.org/last
o
06:20
oxlti.qube
In reply to this message
Sell eth buy ton
The easiest way
o
16:28
oxlti.qube
18:07
Deleted Account
Hi!I have a problem with my wallet.What do I need to do for solved the problem?
SF
18:48
Slava Fomin
In reply to this message
Are you trying to view the old transactions? This is a known issue and you probably won't be able to do anything about that. Try reloading the wallet though.
SF
19:35
Slava Fomin
Sorry, this chat is for English speakers only.
20:20
In reply to this message
Yes usually one or more re-starts of the wallet solves the problem. It doesn't affect functionality, just means old historic items won't be in the list if it is important to see all items, restart it. or look in an explorer.
D
20:28
Dean
What is involved in adding a service to the TON ecosystem? Is there a checklist of things for thís service? Where would it need to run? And how about usage of storage or filesystems?
8 September 2022
A
00:11
Alt
In reply to this message
thanks
00:11
In reply to this message
i was wondering about infra...
00:12
In reply to this message
nice!!
00:22
Never heard of orbs before
A
01:41
Alt
Isnt it very dangerous to have a mutable smart contracts? what if smoeone relies on it and suddenly it changes and messes everything up?
M
01:52
Matt
That’s why you gotta make changes carefully haha. I think I read in the white paper that in ethereum they’re not mutable, but developers found a workaround anyways so that they can release updates to their contracts
A
01:53
Alt
yes theres a backdoor they leave for upgrades, also incredibly dangerous but not everyone does this - some make contracts on top etc and it works. yes they need to be done carefully but what if a mistake it made , then big problem will occur
M
01:54
Matt
I guess there’s no right or wrong answer, it’s about trade offs and what you want to optimize for
A
01:54
Alt
i really dont like this haha
01:55
there should be a way, if a contract is updated, all constant txs to be automatically stopped pending re approval
M
01:56
Matt
So like prompting a user for an update instead of doing it automatically, like iOS updates for example (they can be automatic or manual)
01:57
Is there a way to point at a specific version of a smart contract? Or when you call one, does it always go to the latest version?
A
01:58
Alt
think it goes to the latest version as otherwise you need to pay more fees to the validators
01:59
and interestingly every global smart contract will have to modify every local version of it, making this difficult accross workchains in case the language is different for example
M
02:00
Matt
In reply to this message
Hmmmmmm…… I’m attempting to understand this properly rn 🤔🤔
A
02:00
Alt
yeah interesting isnt it
M
02:00
Matt
What do you mean every local version?