12 January 2023
HT
18:35
Hau Trung
Full Node/Validator
sa
19:23
slimfitakintunde adeniran
How to create NFTs? Pls help?
vh
19:24
vitalii hubenok
I`d like to get dict from cell from callGetMethod on typescript
19:25
func(smart contract) source
(slice) get_bots() method_id {
var (pending_platform_fee, admin_address, bots) = load_data();
return begin_cell().store_dict(bots).end_cell().begin_parse();
}
19:26
typescript source
call = await client.callGetMethod(newContractAddress, "get_bots");
19:26
and then how to get dict datas from call
U
21:06
User
In reply to this message
N
21:20
Nati
I have this TL-B scheme:

telemint_text$_ len:(## 8) text:(bits (len * 8)) = TelemintText;

If I understand this correctly, the first 8 bits is len, then the next len * 8 bits is the text?
21:25
Because for some reason when I read the stack cell with pytonlib only the text is present in the data and not the len.

Maybe pytonlib reads the length for me for some reason?
В
23:20
Вадим
Hello everyone! How to create TON DNS Nft? Pls help?
В
23:23
Вадим
Thank you very much!
13 January 2023
R
00:49
Rix
Hello guys!

How much time contract is active with zero balance and some data onboard?
K
01:08
Kateryna
Hey there!
Is anyone in Portugal now?

Looking for a TON specialist who can be a speaker for an offline meetup in Lisbon🤞🏼

Please text me on DM
vh
10:48
vitalii hubenok
How to transfer ton or other coins on smart contract to other wallet?
vh
11:15
vitalii hubenok
how to send internal message to another contract from my contract?
&2
11:52
&rey 2ne:v
Look for send_raw_message article.
И
11:57
Ильдар
Hello. I want to find some team to get experience with TON.
I know C++, Python, Solidity, EOS. DM if you may help me
vh
12:01
vitalii hubenok
In reply to this message
thank you!
could you explain about 'body' parameter?
S
13:11
Step
() recv_internal(int my_balance, int msg_value, cell in_msg_full, slice in_msg_body)

here my_balance with including the incoming msg_value ? or without?
DS
13:15
Daniil Sedov
In reply to this message
13:15
including
D
15:05
Diako
In reply to this message
() recv_internal (int balance, int msg_value, cell in_msg_full, slice in_msg_body)

body parameter is for in_msg_body
&2
15:37
&rey 2ne:v
Is there any TON forum for public discussions? I have an idea for service but it needs to be developed. Which place is the best to post it?
DS
16:04
Daniil Sedov
In reply to this message
If it's something that will help TON in some way, you can try submitting it as a Footstep
T
16:50
TON Society
In reply to this message
&2
16:51
&rey 2ne:v
In reply to this message
Yes, I know this, thank you. However, the concept is in development yet, so I don't think format of Footstep suits it.
This is about torrents in TON.
tc
17:11
tom centure
I got an error log after I install mytonctrl.Like GetValidatorStatus warning: int() argument must be a string, a bytes-like object or a number, not 'NoneType'.What should I do next?
17:12
А
17:15
Андрей
In reply to this message
this means that your local node has not yet started syncing. If the node was installed before, you need to wait, synchronization can take up to one day.
tc
17:16
tom centure
OK,Big thanks.
h
18:04
hthuang
Which one should I choose for my project, ton-cli or ts template?
C
19:40
CEXOUT.COM is For Sale | Fit For Startup Brands
Is there TON wordpress plugin to integrate ton wallet for wordpress users ?
AP
21:27
Alexander Popov 💎
Guys, who can tell me about storage, if I lose my BagId, did I lose my file?
DG
22:33
Draco Gram
In reply to this message
One thing I would say is that toncli is useful to be installed even if you use templates because of the types of testing that you can easily do on smart contracts via toncli
14 January 2023
.
03:13
...
Hello, I am new here, greetings from Italy
03:20
I have got a few question being a developer but noob about this kind of software creation.
At first: can I use c# someway for building apps and web apps with TON blockchain?
NA
05:54
Nazir Akgül
where can i see new products
H
05:58
Howard Peng
is it possible to build an in-app Dapp?
S
06:08
Silvio
In reply to this message
Yes, check @TonSwapOfficialBot
H
09:05
Howard Peng
I think this example is outdated. It can't execute https://ton-community.github.io/ton/
DS
09:12
Daniil Sedov
In reply to this message
I just checked it few days ago and it worked fine
09:12
What error do you get?
T
09:39
TON Society
In reply to this message
let's get you in the TON dApp Working Group
BN
10:10
Behrang Norouzinia
In reply to this message
I think you can create the client side of any app and dApp with C#, but for smart contracts, currently FunC is your best option.
MC
10:29
Mohmmd Ch
Why is it not in the trust wallet on its own blockchain?
H
10:48
Howard Peng
In reply to this message
do you have the group for TonCenter API?
10:54
10:54
why will still got " error: 'API key does not exist.',"
bB
10:55
boot Beet
In reply to this message
H
11:20
Howard Peng
Hi I got this error since I copy the mnemonics from TonHub(Testnet version, Sanbox)
bB
11:20
boot Beet
HP
Howard Peng 14.01.2023 11:20:28
is this incorrect? shouldn't be
H
11:31
Howard Peng
H
13:05
Howard Peng
In reply to this message
Got this error, seems not the Private Key (the Wallet Address I have) issued, or API issued. Here is my code:
13:05
For the init code I want to deploy for smart contract, is the code I generated in Tact language folder.
13:06
In reply to this message
I am guessing that, the external message means here were the data I send with the Txs?
H
14:08
Howard Peng
OK, just fixed. Seems need to give body or bounce in fileds.
14:09
if you are using "https://testnet.toncenter.com/api/v2/jsonRPC"


and by the way, make sure your mnemonics is correct. By using the library let kk = await mnemonicValidate(mnemonics); you can get a true or false message to verify.


And double check the wallet address you got is exactly the same as your Wallet address or not!
14:14
Anyone can give the example for the usage for series of API over here?

- I want to track the specific address with the "Specific Txs Message" (Let's say method code: 0xd947b7c) Which API should I use?

(aka, then I can have a notification system to track and give notify to my users)
H
17:22
Howard Peng
is TonHub wallet address is the same as V4r2 type of wallet address on TonKeeper?
AG
17:24
Alex Golev
In reply to this message
Yes
N
17:40
Nati
In reply to this message
If anyone need a way to get data about Telemint NFTs (smart contract that Telegram is using for fragment.com auctioning)

I've made a Python library for PyTONLib to help with that :)
EP
19:50
Ekaterina Pantaz
@andreypfau Hello dear admins, can you please tell why my previous post was deleted?
AP
19:51
Andrey Pfau
one moment
EP
19:51
Ekaterina Pantaz
I will repeat it one more time:)
19:51
Dear toncoin developers, we have deployed Toncoin beta GraphQL endpoint,
https://n01.ton.dapp.tonlabs.io/graphql
api documentation is here https://docs.evercloud.dev/reference/graphql-api
S
20:33
Step
tvm has anything like console.log ?
D
20:35
Dario
~dump();
DG
20:47
Draco Gram
what are the types of testing that can be done on a smart contract in the ton-contract-executor? And what are its limitations?
T
20:48
Tim
In reply to this message
You want to use emulator, it's newer and has more functions. But basically you can check what messages will be sent from contract
DG
20:51
Draco Gram
In reply to this message
Ok, well let me repeat the question then for emulator. What type of tests can be run and what are its limitations? Also for the test themselves are those typically typescript?
T
20:52
Tim
I've described basic outline. You make message and check what it will do to contract state. You can check examples in getgems contracts repository.

Emulator will do the same and a little bit more.
S
20:53
Step
In reply to this message
Will you update your ton lite client fork to support newer version of ton js?
T
20:54
Tim
it's already updated to use ton-core
P
20:58
Pall
Hi guys , is there any contract example that uses jettons? Something like lottery or donations or (even better) dex but opensource
DG
21:00
Draco Gram
In reply to this message
whats some good test examples to look at in getgems contract repo?
T
21:01
Tim
idk, look at all of them, it's not that many
DG
21:05
Draco Gram
In reply to this message
when I look at the top-level dependencies I don't see emulator there .. "dependencies": {
"@ton.org/func-js": "^0.1.3",
"@types/uuid": "^8.3.4",
"bn.js": "^5.2.1",
"chai": "^4.3.6",
"mocha": "^10.0.0",
"ton": "^11.18.2",
"ton-compiler": "^1.0.0",
"ton-contract-executor": "^0.5.2",
"uuid": "^8.3.2"
}
21:05
is it included via "ton": "^11.18.2"?
S
21:13
Step
In reply to this message
DG
21:13
Draco Gram
yes thats the one
S
21:19
Step
In reply to this message
after const client = new LiteClient({ engine }); how can i know when client is ready to query? it shows engine closed error. if i query something as soon as instantiated
T
21:20
Tim
no idea
S
21:20
Step
🤔
T
21:20
Tim
just wait a bit
VT
21:24
Vladimir Tamara Patiño
In reply to this message
No yet. Just var~dump and dump_stack
AT
22:13
Andrey Tvorozhkov
In reply to this message
And ~strdump
TD
23:52
T Dev
Hi there! Is there an explorer available for tracking pending/mempool transactions?
I've submitted a transaction through the testnet TON Center API over 1h ago and it still didn't get confirmed. All transactions I've submitted before have been confirmed within seconds. Having an explorer which offers a more detailed look into the current network status, individual blocks, and pending transactions would be really useful for development.
15 January 2023
H
06:45
Howard Peng
is testAddress still works to paste my test-net Wallet like this?
06:45
from ton-emulator
H
07:44
Howard Peng
happy Sunday, anyone can share some testTON for me. Thank you!
k
08:25
kirito
excuse me, i am a new, how big is ton full node?How to deal with the infinite growth of data?
DS
11:08
Daniil Sedov
In reply to this message
testAddress(seed: string, workchain?: number)
11:08
you pass not an address to it, but some seed
11:08
like testAddress("qwerty")
11:08
and it will generate some deterministic address from that seed
11:12
In reply to this message
there are no pending txs/mempool in ton
H
11:16
Howard Peng
In reply to this message
I am using Address.parse("my Address") now
P
11:28
Party of the Dead
In reply to this message
The size of the archive node is greater than 2 TB.
If you don't need an archive node, then don't store the entire block history. To do this look at launch options validator-engine:
--state-ttl<arg>      state will be gc'd after this time
--block-ttl<arg> blocks will be gc'd after this time
--archive-ttl<arg> archived blocks will be deleted after this time

It's from validator-engine --help
If you are using mytonctrl, then you need to edit the run command:
/etc/systemd/system/validator.service
k
11:30
kirito
In reply to this message
SK
11:40
Steve Korshakov
it jus just required for historical data, if you want have all transactions and you usually don't need much
11:40
state itself is not that big
k
12:10
kirito
Ethereum world state consists of account nonces and balances, contract code and storage,If the state size grows infinitely, eth have no future。 How TON can solve this problem?
TD
12:28
T Dev
In reply to this message
Then where do transactions go after sending, but before being added into a block? Correct me if I'm wrong, but there must be some sort of temporary storage where transactions wait to be included in a block by validators. While there might not be a global mempool, there should at least be one for each work or shard blockchain, I assume. After all, how do validators agree on which blocks to include, if they don't have a picture of all the possible transactions which could've gone into a block?

Sorry if these are dumb questions, but I'm still reading my way through the white paper. :) My main concern is the testnet transaction I sent through TON Center API - why did it never get confirmed, unlike the dozens of transactions I've sent prior? Are there some additional checks my code needs to make and potentially resend the transaction or something similar? I've followed the examples provided in the documentation and didn't notice anything alike. In all examples you shoot and wait for the confirmation, no extra logic to handle cases like mine.

Thank you for your help!
DS
12:33
Daniil Sedov
In reply to this message
in TON everybody pays for their storage consumption. if this problem will ever become serious, validators can just increase the storage fees
k
12:35
kirito
In reply to this message
Is the payment one-time or ongoing?
DS
12:36
Daniil Sedov
In reply to this message
external messages are processed by validators. some validator can just ignore your message if something happens and he won't be punished for doing that.
external messages have no guarantee of being delivered
12:36
In reply to this message
it's like memory*time=storage_fee.
you pay it on every transaction, and it's usually VERY small. gas fees consume much more
T
12:37
TON technical overview
Besides, storage shards the same way as computation, thus if state become too large for one node to store, it will be expedient to increase number of shards in such a way that part of the state each node need to store will become small enough.
k
12:38
kirito
For example, if I buy some ton and put it in my wallet, it will always take up storage, and I don't think I paid anything. Or I generate some data on other contracts, I think I will only pay when running the contract. Data will exist forever, and the more contracts there are, the more data there will be.
DS
12:39
Daniil Sedov
In reply to this message
you pay on each transaction
k
12:40
kirito
In reply to this message
How can a node validate a block if there is no complete state?
DS
12:40
Daniil Sedov
In reply to this message
TON is shardable. each validator only need to store and process the messages within his shard
T
12:41
TON technical overview
In reply to this message
Validators validate blocks of distinct shards. Thus they need only data of this shard.
TD
12:41
T Dev
In reply to this message
So there's no guarantee the transaction will get delivered? I guess the best option in this case is to re-broadcast it every X seconds or a minute then? Would be nice to include this in the docs, because I think it's a pretty important point, especially when you need to process transactions in a queue, like you do with seqno-wallets, an ignored transaction can brick your entire system, if not handled appropriately.
DS
12:42
Daniil Sedov
In reply to this message
yes, you just should resend it. trying like every 15-20 seconds should be fine.
TD
12:43
T Dev
In reply to this message
Got it. Thank you for your help!
k
12:44
kirito
Can I think that ton will not encounter eth problems?
Especially as mentioned in this article, the number of working nodes is getting smaller and smaller。https://medium.com/hackernoon/the-ethereum-blockchain-size-has-exceeded-1tb-and-yes-its-an-issue-2b650b5f4f62
DS
12:45
Daniil Sedov
In reply to this message
in PoS blockchains, the number of working nodes is getting only higher and higher usually
12:45
because it's pretty profitable to maintain a validator node
12:45
In reply to this message
also note that this article is old (2018), and eth is PoS now too
k
12:48
kirito
In reply to this message
The above article mentioned that there will be fewer and fewer nodes that can work on eth in the future, and most nodes can only forward messages, but cannot verify them. Because the "world state" is getting more and more, the cost of verification is getting higher and higher。Even though eth has become poS. He still faces this problem?
12:49
In fact, I don't care about eth, as long as ton doesn't have this kind of problem, I will be very optimistic about it.
DS
12:52
Daniil Sedov
In reply to this message
ton doesn't have this kind of problem.
k
12:54
kirito
short eth 🙈
LD
12:59
Lemonqee Dev
Hello developers! What I am need to do with that error. I'm getting it on tonweb (js) when I'm deploying the contract

const deploy = wallet.deploy(keyPair.secretKey);
const deploySended = await deploy.send();

Error: Failed to unpack account state
&2
13:17
&rey 2ne:v
In reply to this message
Doesn't deploy use keyPair.publicKey as argument?
LD
13:22
Lemonqee Dev
what's version of contract is using https://wallet.ton.org
&2
13:23
&rey 2ne:v
In reply to this message
I think that's v3R2 unless it has been updated since summer 2022.
LD
13:24
Lemonqee Dev
k
13:25
I'm just getting different addresses
13:26
my code

let wallet = WalletContractV3R2.create({ workchain, publicKey: keyPair.publicKey });
let contract = client.open(wallet);

console.log(contract)

and I am getting an different addresses
13:26
TD
13:38
T Dev
In reply to this message
I've updated my code to resend the transaction every 20 seconds and it's still not coming through. What could be the issue? See the sending code attached.

Sending wallet: https://testnet.tonscan.org/address/EQAKgUmCYrQ4L8_Fs8X69QD9mt-vkBDATBJeAmCAca8qoLaO
DS
13:39
Daniil Sedov
are you sure your seqno is correct?
13:39
you can also try printing the result of that sendTransfer call
13:39
there should be execution logs somewhere. big chance that your transaction just got rejected because of some wrong parameters
LD
13:40
Lemonqee Dev
In reply to this message
can u help me?
TD
13:41
T Dev
In reply to this message
Yes seqno is correct. This wallet has only sent 1 transaction so far with seqno 0. You can verify that on tonscan
13:41
In reply to this message
SendTransfer doesn't return anything (Promise<void>)
13:42
In reply to this message
Hmm not sure where, i haven't been able to find any yet. Will have another look
..
13:48
..... ......
hi, where can I see all the tokens and projects on the ton network?
LD
14:00
Lemonqee Dev
bodybag of cells is expected to have exactly one root" what is it
TD
14:11
T Dev
In reply to this message
Double checked the source for "ton" js library and I can't find any way to get logs for the sendTransfer request. Since it uses axios under the hood, I tried adding request/response interceptors, but that also didn't seem to work - I guess the lib gets a different instance of axios than my service. Might need to come up with some temporary hacky way of getting some code added to the lib, so I can log the relevant data myself
S
14:17
Sam
hi, how about adding sections to the group. General, flood, jobs etc. Just in the Russian chat, this person (@f_closer) distributes mutes and bans to everyone.
AG
14:18
Alex Golev
I've done deployment script via ton library for tact-wallet and it works, but I'm not sure my way to get pk as Bigint really fine. Could somebody check and advice best practice for TS in this case?
SK
14:19
Steve Korshakov
In reply to this message
This is a little bit tricky, but i am just writing 256 bit uint to cell and then read 32 byte buffer from it and vise versa
AG
14:25
Alex Golev
In reply to this message
I understood general idea, but could you give me an example of code or link relates to my case?🙏
s
15:51
shahar
TD
16:05
T Dev
In reply to this message
Not sure if this helps clear things up, but I managed to log the API request & response relating to this issue. API doesn't give any indication that there is something wrong with the transaction.
&2
16:11
&rey 2ne:v
In reply to this message
Have you tried using other API provider?
For example, if you're using toncenter.com now, you could try tonapi.io. Or the other way round.
Or, you could start lite client in toncli and try to send the BOC from there.
TD
16:12
T Dev
Haven't tried that, thank you for the suggestion. I'll give that a shot
TD
16:46
T Dev
In reply to this message
Ok `tonapi.io` does return an error. I'm just not sure what it means
&2
16:48
&rey 2ne:v
In reply to this message
This means transaction is outdated, you have to create new one with later expiration time.
TD
16:50
T Dev
In reply to this message
Hmm but it was generated only seconds before I submitted it through the API. How long is the expiration? And does it matter that my service already submitted this boc through toncenter API before I tried sending it manually?
DS
16:50
Daniil Sedov
In reply to this message
Maybe your computer time is wrong
TD
16:54
T Dev
In reply to this message
Oh, you may be right. Looks like the server i was testing on is almost 1min behind. That's why I never encountered this issue on my local machine. Didn't expect the time to have anything to do with this. Nice catch. I'll sync the time and see if that changes anything
17:04
Yep, looks like that was the issue! The moment I synced the clock, transaction went through. Lesson learned - correct time is important to be able to send transactions. Thank you a lot for your help and patience @Gusarich and @pcrafter !!
P
17:07
Power
Hello, does TON uses solidity?
А
17:10
Андрей
In reply to this message
No, currently only FunC, in the future Tact lang
SK
17:17
Steve Korshakov
Tact already released
S
18:57
Step
In reply to this message
if i put ~dump(encode_number_to_text(int variable)) i can see output in explorer?
SK
19:11
Steve Korshakov
No
S
19:14
Step
In reply to this message
where i can see ?
19:15
how to debug variables?
19:22
In reply to this message
🤔 i am getting exit_code:5 in nft transfer transaction of custom nft contract how to debug it?
AP
19:53
Andrew Python
In reply to this message
try to use dton.io for debug (Transaction details -> Computation Phase -> Server run)
SK
19:55
Steve Korshakov
Why not in browser?
S
20:02
Step
In reply to this message
tons of opcodes which i dont understand 😫
20:04
In reply to this message
how to know howmuch ton contract attempted to send in a transaction?
&2
20:06
&rey 2ne:v
In reply to this message
Search for STGRAMS opcode.
S
20:07
Step
In reply to this message
AT
20:08
Andrey Tvorozhkov
In reply to this message
Int is negative 👀
S
20:18
Step
In reply to this message
what are these numbers?
20:20
In reply to this message
vh
23:04
vitalii hubenok
ton testnet is not working yet?
T
23:08
TON technical overview
In reply to this message
Testnet works fine, but if you didn't touch it for a long time you may need to update network config and upgrade node/tonlib https://t.me/testnetstatus/10
P
23:08
Party of the Dead
In reply to this message
vh
23:12
vitalii hubenok
In reply to this message
I am using ton node version 13.3.0 (latest)
23:13
so I deployed my smart contract to mainnet
23:13
but it`s not working on testnet
23:13
talkol said that testnet is often down
23:14
So I used real ton to test and develop
23:14
and some are stolen
23:16
What did I mistake with my source ( https://github.com/hubenokdev/ton_egoswap )
23:17
you can change (let netmode = 'test')
23:18
to deploy to testnet
16 January 2023
A
00:13
Alexander
Hi guys, trying to use tonconnect/reactui, do you know by any chance, if I can so async with it bc it is always null on the first render
?₿
01:01
𝓢𝓪𝓶𝓾𝓮𝓵 ₿
In reply to this message
Thank you very much for your reply!
What kind of special browser would I need?
Do you know of any that are efficient?
Regarding the browser, could people with conventional browsers be redirected to the https domain? Or could this action only be executed by using the special browser?
01:03
My idea is to pool the traffic, and in this way I can track the DNS backlinks on my website 2.0
01:06
Nothing special, but this would be incredible if you can open https sections as you tell me because you can incorporate landing pages of your services, social networks, products, etc.
&2
04:35
&rey 2ne:v
In reply to this message
It depends on exact contract code. The bottom one is some amount of coins which is attempted to write into builder, however as it's negative execution crashes.
&2
06:05
&rey 2ne:v
In reply to this message
For just browsing .ton network you don't really need a special browser, setting proxy to in1.ton.org does work. For safe and reliable browsing you may install proxy on your own computer.
H
08:54
Howard Peng
any know exitCode: -14?
BN
09:14
Behrang Norouzinia
In reply to this message
I meant that someone could potentially create this imaginary browser or maybe someone can create a browser extension that can add such functionality.

My point was that DNS is a service and it cann have many different uses. But currently there is no https field to do what you asked.
09:20
In reply to this message
My friend, you are asking the first question that comes to your mind in this group. This will discourage other people trying to answer harder questions from checking this group.

-14 is just listed as one the standard exit codes here:
https://ton.org/docs/learn/tvm-instructions/tvm-exit-codes
vh
12:46
vitalii hubenok
are you working on testnet now?
H
12:49
Howard Peng
yes
12:50
The data for TON is growing
m
13:08
mitokana
13:08
How to convert this address format?
DS
13:08
Daniil Sedov
In reply to this message
hash value isn't address
m
13:09
mitokana
13:09
How to convert to this format?
DS
13:09
Daniil Sedov
And those destination and source addresses are in raw format.

If you just need to do it manually: ton.org/address

If you need to do in in your code, use some libraries like ton.js and their address classes
m
13:14
mitokana
How to convert hash to base64?
13:21
LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted\nCannot run message on account: inbound external message rejected by transaction CADFC1BAEDB8EFB60E6871FB8E4F8A1F3565E0F41C7DD732BB1A73E3048D4957:\nexitcode=0, steps=0, gas_used=0
13:21
This is the wrong transfer
DG
14:12
Draco Gram
see error running toncli run_tests: /Users/apple/Library/Application Support/toncli/test-libs/bad_messages_generator.func:19:16: error: undefined function generate_internal_address, defining a global function of unknown type
slice ssrc = generate_internal_address();
vh
14:36
vitalii hubenok
how to get testnet endpoint (url)?
m
16:31
mitokana
How does this hash convert to base64?
16:32
16:32
help
m
16:53
mitokana
16:53
Why isn't my address active?
А
16:54
Андрей
In reply to this message
In python3 lang:
import base64
a = bytes.fromhex("4223566B13DC30AF06C3E0A698BD82E5BEF6A88204F6D1924346D6C516173CD4")
b = base64.b64encode(a)
c = b.decode("utf-8")
print(c) # QiNWaxPcMK8Gw+CmmL2C5b72qIIE9tGSQ0bWxRYXPNQ=
&2
17:05
&rey 2ne:v
In reply to this message
Redirection is possible with a browser extension.
Please, could you point web2 parameter on your domain at your HTTP[S] site and name that domain to me so that I could test my proxy extension?
dns_web2_address__temp#a908 url:(bits *) = DnsRecord; — I propose to use 0xA908 as 16-bit temporary prefix for setting record type.
17:19
In reply to this message
Your contract isn't deployed. For wallets that means that you haven't done any outgoing transaction.
m
17:20
mitokana
What do I need to do now?
17:21
17:21
This is how I created the address. Any questions?
&2
17:25
&rey 2ne:v
In reply to this message
Inactive contract isn't an issue, so do whatever you need 🙂
Wallet will be deployed automatically by TonWeb.
17:25
Though, do you generate new key pair each time? If so, you may be losing access to previous wallets.
m
17:26
mitokana
No, I only generate it once.
DG
17:52
Draco Gram
Do I have the right version of toncli? toncli --version
INFO: v0.0.43
toncli run_tests toncli/test-libs/bad_messages_generator.func:19:16: error: undefined function generate_internal_address, defining a global function of unknown type
slice ssrc = generate_internal_address();
vh
18:04
vitalii hubenok
In reply to this message
So could you let me know correct endpoint url?
17 January 2023
tc
04:37
tom centure
Can I test the Validator function on testnet?
m
04:57
mitokana
How to get txid after successful transfer?
04:57
return : { '@type': 'ok', '@extra': '1673920490.6927495:9:0.2514598724190026' }
m
05:26
mitokana
How to get txid after successful transfer?

return : { '@type': 'ok', '@extra': '1673920490.6927495:9:0.2514598724190026' }
AG
05:34
Alex Golev
In reply to this message
you can't. Check this article, there are some general suggestions about reading contract's transactions.
m
05:58
mitokana
ok,thinks
&2
06:46
&rey 2ne:v
What are the good ways to create a QR for ton://transfer link with large stateInit? My site is frontend-only so can't host the init cell on server.
06:48
As well, I want to minimize number of loaded external files for my site to be blazingly fast 🚀😀
tc
07:32
tom centure
I have a server in Lan.What should I do on firewall when I want to build a validator?
H
08:46
Howard Peng
In reply to this message
Want to know as well
08:47
I think you can give the url then let user can click then jump to TonWallet?
&2
09:01
&rey 2ne:v
In reply to this message
That's a possible solution but it lacks Tonkeeper support.
09:02
I've thought a bit and now I think I've created a suitable system concept.
P
09:32
Party of the Dead
In reply to this message
You need to open port UDP to the outside.
Use command netstat -ntlup to see what port the node is using
tc
10:15
tom centure
In reply to this message
Thanks
10:16
What is the diff between Featured Pools and Nominator Pools on the https://tonvalidators.org page?
&2
10:52
&rey 2ne:v
In reply to this message
Thank you as well, this is an interesting subject 🙂
Do you know any reverse proxy for RLDP (for example, if my server checks incoming connections to be HTTP and allows all outgoing)?
SF
11:37
Slava Fomin
In reply to this message
The qrcode is a popular library that works OK. It's 24 KB uncompressed.

However, the state init could be very big and I'm not sure that's using QR codes is a good fit for this.
11:38
In reply to this message
You can always use code splitting and dynamic imports to load the code that is not needed immediately. But this is a separate subject.
&2
11:42
&rey 2ne:v
In reply to this message
Yes, I'm using it and have met the problem that everything doesn't fit into QR code, and that's why I initially asked.
SF
12:10
Slava Fomin
In reply to this message
As @steve_kite said, maybe we need some URL shortening service for TON.
BN
13:59
Behrang Norouzinia
In reply to this message
Featured pools are not yet active, and they are looking for nominators to join them, so that they can become an active validator. They are highlighted there, to encourage new nominators to consider them.

Nominator pools are the list of all active and inactive pools.
n
14:10
n3ko_sempai
Help.

in tonhub to start a connection (session)
what to type in url?
I tried with my web address (app) but when tonhub tries it says bad url.

what to write in that part?

I've been working on it for days XD.
R
14:25
Roma
Hi guys, are there any clear instructions regarding the installation of FunC and Fift?
R
14:32
Roma
In reply to this message
thanks, appreciate that
D
15:04
Dario
@steve_kite in ton-compiler, how can I add a fift library during compilation for a contract? My code requires TonUtil.fif but since its missing compileFunc fails.
SK
15:04
Steve Korshakov
impossible
D
15:05
Dario
what is impossible
15:05
the ton-compiler error or impossible to add such lib
15:07
In reply to this message
i only need Gram, which is defined in TonUtil.fif, and ton-compiler gives me error
&2
15:08
&rey 2ne:v
In reply to this message
Isn't it Gram without comma, word that pushes 10^9 to the stack?
H
15:09
Himu | afleet.io 🐺
Hi, fam!

how to apply for grant to build on TON. We have been invited by a few chains but TON is quite impressive and I will love to know if we can get some support from the foundation for building our application blockchain front on TON

Thanks
D
15:09
Dario
In reply to this message
yes, but i need Gram,
&2
15:12
&rey 2ne:v
In reply to this message
Well, I see definition of Gram, as well. Have you included TonUtil.fif in your file?
If it still doesn't work, you could try to add instruction definition to your main.fif:
{ -1 { 1+ 2dup 8 * ufits } until
rot over 4 u, -rot 8 * u, } : Gram,
D
15:12
Dario
In reply to this message
as I wrote above, the problem is that ton-compiler doesnt include it and compilation fails
15:12
im adding definition manually but the code wont be so readable
&2
15:13
&rey 2ne:v
In reply to this message
"TonUtil.fif" include
D
15:13
Dario
In reply to this message
No, this works only to output. The problem is that toncompiler runs fift for checking and doesn't output anything if it fails
15:20
In reply to this message
it works but its really a bad idea for readability
tc
17:38
tom centure
In reply to this message
Thank you.
17:43
If I want my pool be displayer on the list of tonvalidators.org ,what should I do?Only charge 10000ton to the pool?
m
18:02
mitokana
How do I get the block height?
tc
18:17
tom centure
thanks
R
18:34
Rix
Hi!

What does it mean error code -14 in compute phase?
R
18:43
Rix
In reply to this message
Thanx. I use old version of docs.
NP
19:01
Nirmal Patel
Hello all, I m looking for blockchain developer who can write smart contract
D
20:25
Dario
Hi, @f_closer can you please check pm?
&2
21:22
&rey 2ne:v
Bored of using command line to deploy your contract, having to fix and reinstall toncli on every update, etc, etc?
Here's a solution — page for deploying contracts! https://ratingers.pythonanywhere.com/deployer/
If you have code BOC and data BOC, you can enter them into fields and get QR for contract deployment, that can be scanned with Tonkeeper.
21:23
For example, you may type in code and data of TON DNS contract (https://tonscan.org/address/EQC3dNlesgVD8YbAazcauIrXBPfiVhMMr5YYk2in0Mtsz0Bz#source), and my tool will produce the same address as actual contract is.
DS
21:54
Daniil Sedov
In reply to this message
Why didn't you host it on GitHub pages? Does your application require backend?
&2
21:57
&rey 2ne:v
In reply to this message
No backend is used (except shortening links, that depends on external message), I'm just considering to make it accessible as TON Site.
T
22:28
Tim
short links on front too
&2
22:36
&rey 2ne:v
In reply to this message
They need to be stored somewhere for Tonkeeper to access them, so there's no way to work around this dependency)
DS
22:49
Daniil Sedov
In reply to this message
You're using jsonblob anyway. What's the problem with calling it from front-end js?
DG
22:59
Draco Gram
is toncli run_tests working for v0.0.43?
AT
23:01
Andrey Tvorozhkov
In reply to this message
DG
23:13
Draco Gram
In reply to this message
well I'm on a Mac M1. I have python 3.9 and installed via pip3 install toncli - what else needs to be done? func, fift etc I have compiled from source and point to those
S
23:28
Step
In reply to this message
i think you need to include address_helpers.func in your test contracts or address_helpers.func may be missing from your test-libs folder.
DS
23:33
Daniil Sedov
In reply to this message
- it's English chat
- it's dev chat
DG
23:48
Draco Gram
all I am seeing concerning config of toncli in the documentation is: " Configuration
Config folder will create on first deploy, all fift / func libs will copy to it, also deploy wallet contract will be created. " Does this mean that toncli is not fully configured until it does a deployment? and that's why run_tests does not have access to address_helpers.func ?
23:57
what are the steps to get toncli properly configured?
23:59
In reply to this message
what config folder are you referring to? I don't see documentation of a config folder only its mentioned that a config will be created upon first deployment
18 January 2023
DG
00:21
Draco Gram
Still see error after: toncli update_libs
INFO: Succesfully copied fift-libs func-libs test-libs
from /usr/local/lib/python3.10/site-packages/toncli/lib
to /Users/apple/Library/Application Support/toncli
DV
00:23
Danny Van Londersele
The Open Network has been audited by SlowMist.

SlowMist, an in-demand auditing firm, has audited the security of the TON blockchain’s core.

The audit was a resounding success because no vulnerabilities were found. The report can be found on Toncoin’s page on CoinMarketCap in the “Audits” section.

In November 2022, auditing behemoth CertiK sifted through TON’s core code and smart contracts — and found zero critical issues.
DG
00:29
Draco Gram
In reply to this message
Yes, so that fixed it. Thanks. I replaced 1.address_helpers.func from the config folers and now its running
DG
02:07
Draco Gram
toncli run_test ;; always returns status code of failed: toncli run_tests
INFO: 🥌 Build successfully, check out ./build
Loading private key from file build/contract.pk
[ 3][t 0][2023-01-17 23:03:40.815992][vm.cpp:558] steps: 11 gas: used=1186, max=1000000000, limit=1000000000, credit=0
INFO: Test [__test_gas_limit] status: [FAIL], code: [2] Total gas used (including testing code): [1186]
02:11
the method tested just returns an integer but the status is always FAIL.
02:11
This is the test code. I'm also not seeing a full stack dump.
VT
02:21
Vladimir Tamara Patiño
02:21
Exit code 2 means "Stack underflow. Last op-code consumed more elements than there are on the stacks."
02:23
invoke_method just returns two things: gas used and the stack as the called method left it.
02:23
You are trying to receive three: (exit_code, gas, stack)
02:24
just use (gas, stack)
02:26
I wrote an extra-simple example of how to use toncli in section 4 of https://medium.com/@vladimirtmara/developing-and-testing-a-simple-smart-contract-with-toncli-de96ad0a6f5c
DG
02:34
Draco Gram
Screenshot 2023-01-18 at 3.33.11.png
Not included, change data exporting settings to download.
32.2 KB
ran the test in the article and I get the same exit code 2
VT
02:51
Vladimir Tamara Patiño
Use the precompiled binaries of ton described at https://github.com/disintar/toncli/blob/master/INSTALLATION.md
02:51
They correspond to the TVM of SpyCheese that has more debugging instructions: https://github.com/SpyCheese/ton
DG
02:52
Draco Gram
Ok, that's a great reason to use the binaries.
l
02:54
luke
Hi everyone , does anyone konw the problem?
VT
02:56
Vladimir Tamara Patiño
Seems that your Mac is arm64 but you are using binaries that you are trying to use OpenSSL for x86_64.
l
03:00
luke
did I install a wrong version of openssl?
VT
03:00
Vladimir Tamara Patiño
Not sure, I don't use Mac.
03:01
Your Mac is arm64 based or Intel based?
l
03:01
luke
arm64 based
VT
03:01
Vladimir Tamara Patiño
Are you sure you downloaded precompiled binaries for arm64 ?
03:02
Of the TON tools and of openssl?
l
03:03
luke
TON tools are arm64
openssl was installed by brew
I will try to confirm openssl’s version
03:04
do you know where is the github of fifi func’s source?
VT
03:04
Vladimir Tamara Patiño
The fork needed by toncli is at: https://github.com/SpyCheese/ton
l
03:05
luke
thanks
VT
03:06
Vladimir Tamara Patiño
👍
03:08
Since the OS that I develop and where I ported TON tools is OpenBSD/adJ. I could create a virtual machine (amd64) for qemu or VirtualBox with everything ready and configured as explained at https://medium.com/@vladimirtmara/developing-and-testing-a-simple-smart-contract-with-toncli-de96ad0a6f5c
H
04:25
Howard Peng
hi, why / how TVM has an aboriginal random number implementation?
https://ton.org/docs/develop/func/stdlib/#rand
04:26
In reply to this message
maybe TG channel can have voting module in side the channel I guess! haha
&2
06:13
&rey 2ne:v
In reply to this message
I think we have a bit of misunderstanding. jsonblob is called from frontend.
I was speaking about that jsonblob can be considered external backend.

Apart from that, my page loads only two files, TonWeb and QRCode libraries 😁 I think that's quite successful.
tc
07:02
tom centure
I got an error when I want to move ton from pool to the wallet.What should I do?
tc
08:13
tom centure
and a new error
BN
08:15
Behrang Norouzinia
I think there was a minimum balance for each pool and you can't withdraw more.
tc
08:17
tom centure
Oh,I see.But I did not get any number about minimum balance in the document............
MF
08:43
Mahdi Farimani
Hi
I have a game idea to implement on ton ecosystem.
I will invest up to 500$ for R&D and MVP.
My goal is to start with and understand the ton ecosystem.
Please PM me of you can assist.
k
10:23
kevin
@Mfarimani DM me
tc
10:26
tom centure
what is the meaning of error 9 of transactions?
N
10:27
Nati
In reply to this message
tc
10:29
tom centure
thanks
DG
12:39
Draco Gram
what is a typical cause of error code 2? docs say "1 If you encounter such exception in a _func_ contract it probably means a type error in asm declarations." what is an example of where asm error could occur and aside from asm declaration what is a typical cause?
J
12:40
Jun
Hi glad to join and im doing some research on TON, and can i find the core team members (including founders) of TON Foundation?
DG
12:44
Draco Gram
In reply to this message
Can you tell us a bit more about the research you are doing?
12:45
Is it related to TON Development?
DS
12:48
Daniil Sedov
In reply to this message
ask in general chat @toncoin_chat
&2
12:53
&rey 2ne:v
In reply to this message
Old stdlibs contain bug in some of dict parsing methods, I don't remember which.
J
12:54
Jun
In reply to this message
For general research, especially including technology, mechanism, and comparison to other L1s.
&2
12:55
&rey 2ne:v
Example of type error in assembly.
cell type_err() asm "ZERO ENDC";
J
12:55
Jun
In reply to this message
Thank you, and sorry if it was inappropriate
SF
14:07
Slava Fomin
In reply to this message
That would be even better when we will be able to optimize TonWeb bundling :)
h
16:37
hellxfxded
Hi, how can i implement lock up in jetton?
H
16:38
Howard Peng
In reply to this message
Logical Time ++?
美王
17:25
美团 王兴
Hi could anybody help:last sec bid a t.me name,my ton has sent to address but not received any
MF
19:32
Mahdi Farimani
In reply to this message
Hi fella
I'm going to recruit a developer and ask him/her to start learning FunC and create our teams first dApp on ton Blockchain.
Would you tell me please if you want to do the same which tech stacks would you put in job post as must haves of the developer and which tech stacks will be in nice to have competencies?
&2
19:46
&rey 2ne:v
In reply to this message
I think your team must consist of at least three people.

One person must know and design full architecture of your system: backends, frontend, their interaction with contracts and messages between contracts themselves. He must know TON contracts, cells and messages model and be able to predict unusual transaction chains that can be used for hacking sometimes.

The second person must know FunC enough to develop the contracts. I think he must know how to optimize contracts, especially how to create less cells onchain. Knowledge of CI tools for TON is a must. I think Fift isn't that necessary for development though it can be useful for forming static data of contract.

The third person would design frontend pages. He must know how to handle all error cases, including info providers not responding and transactions failing. He needs HTML, JS, CSS in his work and must know CI tools and version control systems as well.

(Post not generated by ChatGPT 🙂)
g
19:47
gnoblin
In reply to this message
what hacking cases do you mean? thanks
&2
19:49
&rey 2ne:v
In reply to this message
For example, if there is a long transactions chain, user can initiate two of them simultaneously, and that could lead to unpredictable results in some cases.
Or, if your contract reserves money by sending TON to itself, user can send two messages so at the moment of processing the second there won't be any coins on contract balance.
See TON Hack Challenge 1 for more information.
MF
19:58
Mahdi Farimani
In reply to this message
Thanks.
How much a team like this will cost?
&2
20:00
&rey 2ne:v
In reply to this message
I think that's not a development question. But my estimate is $1200-$2000 total from start up to project public launch.
K
21:05
Kateryna
Hey! Is there anyone in Portugal?
Meet the first TON community meetup in Lisbon!

The program of the event and all the details are already on Eventbrite: https://www.eventbrite.com/e/intro-to-the-ton-ecosystem-crypto-web3-enthusiasts-meetup-tickets-517944194027

Please share this link personally with your folks who are interested in the TON ecosystem,

Look forward to meeting you, talents!

All exclusive information about community events in Lisbon will be in our Telegram chat: https://t.me/tonlisbonhub
&2
21:11
&rey 2ne:v
In reply to this message
Is this related to development in TON? The same question applies to Russian chat as well.
g
21:12
gnoblin
In reply to this message
sure it does
21:13
i’d love to attend, but not in Lisbon atm
K
21:13
Kateryna
In reply to this message
Sure!

TON Lisbon Hub is the local community of blockchain developers entering Web3, programmers and crypto enthusiasts

Join us via link: https://t.me/tonlisbonhub
DG
21:29
Draco Gram
Well you might consider offering on online option for people to attend virtually and I think some of us would hop in
K
21:42
Kateryna
In reply to this message
Great idea👌
Think about its implementation
g
21:43
gnoblin
anyone doing ton onchain games?
&2
21:46
&rey 2ne:v
In reply to this message
Mint a NFT for everyone who wishes to participate (for example, sends their avatar).
Then, create a conference with authentication via TON Connect 2.0 checking for NFT presence.
If conference ever needs to be sharded, that can be done with NFT addresses 😄 So that people in one shard could communicate directly with seeing each other's video, and people from other shards would receive only one video stream — featured by shard validator moderator; cross-shard communication would be through text messages then.
g
21:47
gnoblin
In reply to this message
is there any list of popular ideas for the ecosystem that users want? like voting on lens protocol forum
&2
21:48
&rey 2ne:v
In reply to this message
I don't know about "users want", but there is certainly a list what "TON Community wants": https://github.com/ton-society/ton-footsteps/issues
g
21:49
gnoblin
In reply to this message
thanks!
21:49
is there anything like lens or near.social for ton?
J
22:08
JZA
Hi anyone has a tutorial to put a ton site together?
А
22:32
Артем
Hi. Someone can help to get the price of Ton coin in USD in real time (json format)
22:52
but there some rate limit exists, if requests too frequently, than you need to cache the result... 1 per minutes is ok, 99.9% that the same result will be there
А
22:53
Артем
In reply to this message
it`s update in real time? And can i use this link in my python project to get info?
22:53
In reply to this message
I need a data update every 15 minutes.
KV
22:54
Kon Vik
yes, it is the free api from cryptocompare
А
22:55
Артем
In reply to this message
Thank you very much )
19 January 2023
?️
00:46
𝐴𝑅𝐸𝐹 𝑆𝑆 ️
tonkeeper have testnet wallet?
NK
01:33
Nikita Kuznetsov
Hello
Is testnet down?
AT
01:36
Andrey Tvorozhkov
In reply to this message
testnet.dton.io

Last known mc block -> 5sec ago
NK
01:37
Nikita Kuznetsov
In reply to this message
Is toncenter testnet api down?
K
01:57
Kirill A.
In reply to this message
Yes, problem is beind addressed
02:06
Problem with testnet api has been resolved
tc
02:54
tom centure
what is the meaning of Error, exit code 73 and Error, exit code 9 for pool action like Deposit or Withdraw?
03:01
03:01
DD
03:41
DIEGO DUQUEN
Explain this
J
03:49
JZA
Anyone know how to create a Ton Site
U
04:09
Un gars bien
plz could anyone help ?
RG
04:23
Ruslan Gabdullin
In reply to this message
Hello, can you please check again?
U
04:26
Un gars bien
In reply to this message
Thanks now working
RG
04:26
Ruslan Gabdullin
Problem was on the backend side
JM
06:39
Jorge Mario
Hello
Looking for tech support
I have issue after node installation

Mytoncore status: working, 1 hours
Local validator status: working, 24 minutes
Local validator out of sync: 1674099184 s
Local validator database size: 0.0 Gb, 5.0%

I have staic ip at my router but node server has static local ip, so I propaly need to forward some ports but I cant find this info
RG
06:51
Ruslan Gabdullin
In reply to this message
Hello, currently nodes doesn't support NAT.
JM
06:53
Jorge Mario
ok
06:56
But If I forward all ports should it help?
BN
08:15
Behrang Norouzinia
In reply to this message
You need to deposit from the validator account:

throw_unless(73, (sender_wc == -1) & (sender_addr == validator_address));


https://github.com/ton-blockchain/nominator-pool/blob/main/func/pool.fc#L591
&2
09:43
&rey 2ne:v
In reply to this message
Hello! Do TON Storage nodes support reverse proxy mode = only making outgoing connections?
09:46
If not, is there anyone who can write such a tool? I think it can use ADNL over WebRTC to make storage accessible from outside of NAT.
tc
09:51
tom centure
If I want to stop a pool,and take Validator`s ton back,what should I do?It seems that I can not do this when the pool is active.Howerver there is no command to passive a pool.
r
13:13
random_username
Can someone send some testnet tons to my wallet?

kQAf9V4MmFbGU_BMKTxJuM4pFSM5E7B70ECi_Od0hnHMGQps

i ran out of faucet limits
H
17:29
Howard Peng
anyone heard of exit code 128?

128: { message: `Null reference exception }`
SF
18:17
Slava Fomin
In reply to this message
KK
18:57
Kobe 24 / 8 Karym ♌️
Hi , can someone help me with a concrete example on how to store and load a dictionary on local storage ?
H
19:13
Howard Peng
In reply to this message
https://t.me/testgiver_ton_bot is reliable, can claim ever hour
?
20:19
🔕💎
How can I start learn Func?
AG
20:20
Alex Golev
In reply to this message
You can start from here.
M
20:31
Max
Hey guys!
M
20:31
Max
T
TonTech 19.01.2023 20:30:40
@ton-community/tx-emulator has been rebranded into @ton-community/sandbox and significantly improved!

It now uses the new ton-core under the hood and is compatible with all the APIs that it provides, making the creation of smart contract wrappers easier than ever!

More importantly though, the blockchain-experimental features have been merged, so you can now emulate whole chains of transactions and even emulate interactions with existing smart contracts from real networks (both mainnet and testnet)!

Together with it we released another package, test-utils, which, along with the new features of sandbox, significantly simplifies testing of systems of multiple smart contracts.

Check out the examples provided together with sandbox to see the intended way to use it.

Please note that this tool is still in beta, but we would love to hear any feedback from you!

Also, stay tuned for more detailed tutorials for using this tool!
H
20:35
Howard Peng
In reply to this message
Wow. Is this Tact language we coded in the smart contract also can use this?
NA
20:36
Narek Abovyan
In reply to this message
It’s language agnostic
DS
20:36
Daniil Sedov
In reply to this message
this library is for testing smart contracts. doesn't matter which language you use because they all are compiled to assembly language anyway
A
21:19
Augustus (Augie) Ilag
Hi all, quick ask - I just left Sequoia Crypto and looking to get some tips on getting into TON development myself - wondering whether any devs might be kind enough to speak for 10-15 minutes to offer some advice? Please PM
MJ
21:59
Moshe Joshua
In reply to this message
Should add resource to TON Storage to this message.
DS
22:01
Daniil Sedov
In reply to this message
And also remove the tonspace link
22:02
And add sandbox & ton-emulator to js libraries
SF
22:10
Slava Fomin
In reply to this message
?
SK
22:11
Steve Korshakov
Looks fake
20 January 2023
T
00:39
The Tun
Is there a road map for developers? Or platform boilerplates?
KK
02:14
Kobe 24 / 8 Karym ♌️
In reply to this message
//
J
04:30
Jeric
hello guys!! i need to help me about the TON Storage Provider setting on my server..
04:30
where can i find that info??
D
04:33
Dzmitry
Hi, help please with ton^13
callGetMethod return an error "Unsupported stack item type: list" when dictionary is empty.
How can I read the empty dictionary correctly?

p.s. ton^12 doesn't have this problem
t
13:35
talkol
We are looking for a paid moderator for answers.ton.org. The role is for about 2 hours work per day, to edit questions people ask and delete duplicates.

You don’t necessarily need to know how to answer the questions. Please DM me if interested. Compensation is attractive.
VD
13:47
Vinayak Dubey
Hi!
I am trying to set up a new validator for ton.
i have installed the binaries and they are running
however the node doesnt seem to be syncing.
the DB size has not increased and the out of sync number is increasing

does anyone know what could be the iissue?
VD
14:20
Vinayak Dubey
warning: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
this is a warning i get when i run status command
SK
14:32
Steve Korshakov
In reply to this message
I have checked, he is not fake 🌚 Feel free to contact the guy
D
14:48
Dario
In reply to this message
have you ever considered to make a bot that forward questions posted on the website in these dev chats?
t
14:58
talkol
In reply to this message
yes, Roman has a footstep for this exact thing, it's almost ready
DS
15:00
Daniil Sedov
In reply to this message
It's already done
15:00
The bot just needs some fixes, the guy who made it is working on it rn
D
15:01
Dario
good
&2
15:25
&rey 2ne:v
In reply to this message
There should also be option to forward an answer back 🙂
AT
15:29
Anthony Tsivarev
In reply to this message
Let's add link for the Chinese dev chat https://t.me/tondev_zh
KK
16:24
Kobe 24 / 8 Karym ♌️
Hi , can someone help me with a concrete example on how to store and load a dictionary on local storage ?
SF
16:43
Slava Fomin
In reply to this message
Sorry, that chat is unofficial and we are not planning to support more languages than we already do.
16:44
It is a very common sense for developers to know English, so we are happy to accept new members here.
VD
17:13
Vinayak Dubey
In reply to this message
any idea guys?
or can anyone point me to the resource that will help me fix this issue?
T
19:26
Ton Addict
Whats the minimum stake for a Ton validator?
g
19:31
gnoblin
600k ton
d
20:35
doni
you can use the various staking pools
BN
21:10
Behrang Norouzinia
In reply to this message
Around 300,000 TON.
21:12
With 300,000 you can participate and start earning, but in odd or even cycles, not both. With another 300,000, you can participate in both cycles.
հ
21:28
հ९९հօօժ
guys, how to deposit to my wallet in openmask 1 TON, with testnet
g
22:37
gnoblin
In reply to this message
didn’t know that, thanks
DG
22:40
Draco Gram
In reply to this message
how was 300k arrived at as the optimal amount of coin investment?
А
22:43
Андрей
In reply to this message
In this chat, investment issues are not discussed.
g
22:44
gnoblin
In reply to this message
sure, but being a validator is pretty related to tech part imho
А
22:49
Андрей
In reply to this message
From a technical point of view, the bet size of one validator depends on the bet size of other validators.
If 100 validators are betting ~300k coins, then a validator with 10k coins will not be able to become a validator, since the average level of all stakes will be about 300k.
The reward scheme, where the reward depends on the amount of the bet, pushes all validators to increase the bet.
21 January 2023
J
02:51
Joan
Is there any solution to make a website on the TON network?
D
04:05
Donotcall
Hi is there any way to interact with ton via .net c#? or only through JS, Python, Go, Kotlin?
&2
05:51
&rey 2ne:v
Are there any proposals for ADNL reverse proxies, or should I write my own?
05:54
In reply to this message
For measurement: please mark my comment with 🔥 if you ever wanted to create a storage node (for example, for hosting own site) behind NAT. As far as I know, this is currently impossible.
g
10:50
gnoblin
In reply to this message
Just do a tiny micro service on js and communicate with c# via restapi - and be happy. Or do you want to use ton api in unity3d game? Thanks
D
12:52
Donotcall
In reply to this message
Thanks, that's what I plan to do, but I wonder if there are other ways?
TD
16:33
T Dev
Hi there! I'm trying to send a transaction using js ton library, but the transaction isn't going through. Manually trying to send the boc via tonapi.io resulted in the following error. What does "failed to unpack account state" mean? / Is there some documentation available with an explanation of each error message, so I don't have to bother you guys every time? Thank you!
g
16:34
gnoblin
In reply to this message
What are you sending and where to? Are you able to share the code? Thanks
TD
16:35
T Dev
I'm sending 0.1 TON between two V4 wallets. The source wallet has a balance of ~0.8 TON. This is on testnet. Will share the code, one sec
16:39
This is the gist of it. I ensure that seqno is correctly assigned and never reused. `withdrawal.amountCoins = 100_000_000`. Have been able to send many withdrawals before, only ran into this after a small refactor, but nothing really changed in the withdrawal code.
16:41
I can also share the boc, if that helps
16:50
Here is a bit more context on how withdrawals are sent out
g
16:52
gnoblin
In reply to this message
Is the old version working?
TD
16:56
T Dev
Just tried reverting and yes, it does work. I'll look through the diff and see if I can spot anything. Still interested to know what the error implies tho
BN
17:11
Behrang Norouzinia
I think that your wallet is not deployed. The wallet that you're transferring from it. Can you share the address of it?
TD
17:15
T Dev
In reply to this message
Wallet is definitely deployed - I've sent many deposits and withdrawals to/from it. Address is kQBUfJ41_-cSEfF1q0vsFX9wZG2-t4zRNLYzrgb1kHftRywP
SF
17:16
Slava Fomin
Make sure that your private key and the seqno are correct.
17:18
Also try calculating the address and compare it with the deployed one.
BN
17:18
Behrang Norouzinia
In reply to this message
Yes, it's deployed on testnet. And you are using the testnet right? not mainnet by mistake?
TD
17:22
T Dev
I can't find any obvious changes which could've affected sending of withdrawals. The only changes were 1) the `sendWithdrawal()` function was moved into a separate class (it's identical as before), and 2) initialization code in `onApplicationBootstrap()` was moved into the new class as well, only the last line was changed (`this.onBootstrapListeners.forEach((v) => v());` - previously was `this.runCronJobs = true;`).

Code in the screenshots is the only code which could have affected this. The withdrawal database record was created by the broken code, so was the seqno. After reverting to the working code, the same database record was sent out successfully - same seqno and all. Private key is also the same - initialization code stayed the same (only moved to a new class) and so did the mnemonic in the config.

I'm also 100% using testnet - that's configured in the .env file which didn't change during the refactor.
17:22
17:22
17:24
In reply to this message
Calculate it how? With the library? The address I shared was the result of walletContract.address.toString({ testOnly: true, urlSafe: true });
17:25
g
17:26
gnoblin
In reply to this message
It’s redo fixes again from scratch (based on previous working version) :))
TD
17:29
T Dev
Same code in the working version 🤔
17:29
17:29
17:30
In reply to this message
Yeah, I guess so. What about the error message tho? What does it imply? That might help me look for the issue in the right place
SF
17:33
Slava Fomin
In reply to this message
Yes, with the library. Using the same private key.
17:34
In reply to this message
Try reverting the changes and apply them again bit by bit checking the results. The "binary search" strategy is a good one for such things.
H
19:42
Howard Peng
Happy Luna New Yeaar
19:42
LFG for TON network
19:43
data source from https://dton.io/
J
19:43
Joe !WILL NOT DM FIRST!
Hy
19:44
How can l speak with dev?
H
19:52
Howard Peng
In reply to this message
here, sort of
В
22:57
Вадим
Hello everyone. Please help!
Is there a detailed guide on how to create subdomains? What is the difference between an auto and manual smart contract?
В
23:15
Вадим
For example, I would like to give a subdomain profile.example for a wallet, site.example for a web page, and gift.example to give to a friend.
How can this work?
M
23:29
MIRAN@Cointiger ListingAgent️💬
@tolyayanot check dm💬
23:39
匚卄ㄖㄥ丨丂99
Happy Luna New Yeaar