20 November 2022
M
00:30
Max
ton.org/docs it's somewhere in there
00:31
The configs
?
06:52
💎 Yang 💎
ton.org/docs is awesome
DK
08:51
Don Kim
In reply to this message
thx. can i convert Gram in testnet to Ton in mainnet like a year ago?
&2
09:06
&rey 2ne:v
In reply to this message
1. Testnet coins are also called TON now;
2. No, as testnet coins don't have any value but mainnet ones do.
DK
09:13
Don Kim
In reply to this message
i remember that i converted ok a year ago
DK
09:16
Don Kim
T
TON Community Chat 13.12.2021 10:22:53
The fact is that the Telegram team in October 2019, preparing for the launch of TON network, released a limited number of GRAM test tokens. Then on November 16, the Ton test network was restarted. Old tokens burned down and were reset. The distributions of new tokens began, which did not intersect with the old.

Test tokens of the second emission existed in the test network Testnet2. After making Pavel Durov, the decision on the closure of the TON project, interest in the test gram fell, but then everything changed. Team Telegram handed over to the Ton.org domain and the repository to the Ton Foundation developer community, and all GRAM test tokens from the TON Testnet2 test network became "real" because for a year and a half there was a more or less normal distribution of coins between more than 70,000 addresses. Therefore, we decided to leave this particular network, and not to deploy a new one from scratch. Thus, Testnet2 and became MainNet.
DK
09:16
Don Kim
In reply to this message
heres official post
RK
11:22
Roman Krutovoy @work
Hey guys, we little improved the README of ton-docs and need some feedback.

https://github.com/ton-community/ton-docs

Did you ever contribute to any projects? Could you share which necessary things are not presented and you feel a lack of them?
Rm
20:35
Rasool mansoory
I need a document for how the TON blockchain works, which is very fast
20:35
In reply to this message
Where can I study?
D
20:41
De Iōḥānān
In reply to this message
good luck tblkch.pdf
D
21:22
Diako
Is there any simple document for TL-B ? It's hard to understand !
DS
D
21:36
Diako
In reply to this message
I saw it but it's little hard !
21:39
In reply to this message
for example, i cant understand what is different between Message X and X
M
21:40
Max
In reply to this message
in this case X is like a type argument of a generic type Message, where X is defined by you (contains the data you want it to contain), and Message is a type that represents a TON message
21 November 2022
Rm
13:01
Rasool mansoory
Hi friends I have question how can get last transaction on ton network?
DS
13:03
Daniil Sedov
In reply to this message
Maybe this will work for you:

https://tonapi.io/v1/blockchain/getTransactions?limit=1
Rm
13:09
Rasool mansoory
In reply to this message
Why is the address unknown?
13:09
In reply to this message
transaction address
DS
13:10
Daniil Sedov
In reply to this message
What do you mean
Rm
13:11
Rasool mansoory
In reply to this message
I want to receive the latest TON transfers
DS
13:12
Daniil Sedov
In reply to this message
The link I've sent above doesn't work?
13:12
What do you mean by unknown address
Rm
13:15
Rasool mansoory
In reply to this message
{
"transactions": [
{
"account": {
"address": "-1:5555555555555555555555555555555555555555555555555555555555555555",
"icon": "",
"is_scam": false,
"name": "Config Contract"
},
"data": "b5ee9c720102060100012c0003af7555555555555555555555555555555555555555555555555555555555555555500001e0bb00b3cc32267db19dc0a356287439563e06c305051f759be49f0faa717068359598cad3f00001e0baffbfa83637b4e240001408010203000120008272b7038a9be500e4253a6c515935a3cc39aa86aa08f606ba5da9d49f16a44d3b5a20a09a6e696768172f39c30c6f89afabe4e723f557cc36ac595ebcbedd9491b30205303024040500a041297004c4b40000000000000000002e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005bc00000000000000000000000012d452da449e50b8cf7dd27861f146122afe1b546bb8b70fc8216f0c614139f8e04",
"fee": 0,
"hash": "507adb0af90024e61ed527399d3bbcab321bf45151b60d4c6853164ee227a9d5",
"lt": 33035547000003,
"other_fee": 0,
"out_msgs": [],
"storage_fee": 0,
"utime": 1669025316
}
]
}

for example see this transaction address is "5555555555555555555555555555555555555555555555555555555555555555"

What is the address of the transaction provider?
DS
13:16
Daniil Sedov
In reply to this message
Address is -1:5555555555555555555555555555555555555555555555555555555555555555
Rm
13:16
Rasool mansoory
In reply to this message
😕😕
13:17
In reply to this message
So why can't the transfers of users be seen?
13:17
In reply to this message
The address of all transactions is the same
DS
13:18
Daniil Sedov
In reply to this message
I think the "latest transaction" will always be the transaction to config contract.
13:18
To see the "user transfers" you need to retrieve more than 1 transaction, and also filter them by workchain 0
13:21
You can do that in two ways:
- parse all new blocks from workchain 0 and get transactions from them
- call the same "getTransactions" method with limit=100 or more and remove everything except workchain 0
&2
14:08
&rey 2ne:v
In reply to this message
That's not a transaction address, but address of contract invoked in this transaction.
Transaction is identified by (lt, hash, account).
S
14:12
Step
anybody know how to get auction/bid info from tonkeeper link?
for example
https://app.tonkeeper.com/v1/txrequest-url/fragment.com/tonkeeper/rawRequest?id=vXTgLackpr5EH-BNtorkKhrG
O
17:13
Oscar
There is some lead developer or CEO of ton coin?
S
17:14
Step
In reply to this message
ceo @durov
DS
17:15
Daniil Sedov
In reply to this message
He's not a ceo
17:15
Durov started the ton several years ago, but currently it's being developed by open source community
S
17:16
Step
In reply to this message
ambassador ?
S
17:19
Step
i think ceos dont need to code
N
18:17
Nikita
Hey! Can someone airdrop me testnet TONCOINs? Unfortunately, the giver bot sends only 2 per hour, need at least 30.

kQDvmaMWs3-cDCvTizDWLjsz_IdEVA7JymnfsKTNE3OAp4jJ
S
19:58
Step
@xssnik hi your ton utils vanity address generator is compatible with tonweb?
i got priv key and used in tonweb but the address are different? 😫
JF
19:59
John Fyodor
In reply to this message
there are different wallet contracts, you will have different results for different versions
OB
19:59
Oleg Baranov
In reply to this message
hi, yes it is compatible, maybe you use different wallet version
S
20:00
Step
vanity_fast is v4 ?
20:01
v4r2?
JF
20:01
John Fyodor
vanity is vanity
20:01
you need to use salt i think
20:07
In reply to this message
dude delete
20:07
and never share your private key
20:07
nor mnemonic words
S
20:07
Step
its test only who will share real worlds private key
20:08
🤣
JF
20:08
John Fyodor
In reply to this message
just a kind reminder
S
20:08
Step
hmm
20:12
In reply to this message
can i send you pm?
OB
20:12
Oleg Baranov
In reply to this message
no, its v3
20:12
with subwallet id
20:13
on generation it gives you subwallet id + private key
20:13
you need both of them to open wallet
S
20:14
Step
In reply to this message
is this possible for v4?
OB
20:15
Oleg Baranov
yes, but use vanity, not vanity_fast for it
20:15
there you can specify wallet version using args
S
20:16
Step
its very slower
20:16
🥹
OB
20:17
Oleg Baranov
it has 2 modes, private key and mnemonic, maybe you tried mnemonic mode?
S
20:18
Step
In reply to this message
no
20:20
In reply to this message
with mnemonic 20/sec
without mnemonic 40k/sec

vanity fast is 3.5M/sec
20:25
In reply to this message
also it does not seem to support case
S
22:09
Step
In reply to this message
can you do something to speedup?
S
22:26
Step
In reply to this message
disregard this. it is not an issue as it obeys what we input in suffix option.
T
22:42
Tim
In reply to this message
It's already speed up to max
S
22:43
Step
In reply to this message
did you check speed of vanity fast?
22:43
In reply to this message
.
T
22:43
Tim
vanity fast uses gpu
22:43
oh you mean go vanity fast
S
22:43
Step
In reply to this message
this result from a 10 euro vps
T
22:43
Tim
i did check it, since i made it
22:44
but if you want hard address you should use gpu vanity from whales
S
22:44
Step
In reply to this message
did you make go vanity fast?
T
22:45
Tim
S
22:46
Step
true carry?
22:46
oh
22:47
In reply to this message
go vanity fast is fastest but it does not has v4 address support
T
22:47
Tim
you can change wallet code hash
22:47
in code
S
22:48
Step
i dont know
T
22:48
Tim
it doesn't really matter v3 or v4, since you can't use it in wallet anyway
S
22:48
Step
i am not familiar with either go or ton basics.
22:48
i am noob
22:50
In reply to this message
i want to play with tonweb
22:51
In reply to this message
can you please push to repo?
22 November 2022
r
13:37
rony
hi guyz how can i validate that a transaction is successful by hash?
Rm
14:24
Rasool mansoory
In reply to this message
this website how to work? How does he get the last transaction?
14:29
In reply to this message
My friends, I am a beginner. If you could explain the components of this transaction to me, I would appreciate it
r
14:40
rony
In reply to this message
?
MS
14:40
Marat S ️
In reply to this message
This is tick-tock transaction of special Config contract. Tick-tock transacctions are run in every block automatically. Therefore it doesn't have in_msg or out_msgs. Config contract contains global config variables of the blockchain.
14:55
In reply to this message
There are several meanings of "successful":
- transaction created - meaning the external message was accepted by smart contract
- transaction was executed successfully - meaning all transaction phases succeeded
- transaction finalized - meaning it won't be reversed or changed
Which of these you want to check?
Rm
15:01
Rasool mansoory
https://tonapi.io/v1/dns/getInfo?name=gold.ton

I try with this url and get owner address but when serach in https://tonscan.org/ can not find address why?
MS
15:03
Marat S ️
In reply to this message
It returns address in "raw" form, but tonscan accepts only "friendly" form. More details here.
Rm
15:54
Rasool mansoory
In reply to this message
i need script to convert
JD
15:59
John Doe
In reply to this message
https://ton.org/address/
Or via tonweb using js
Rm
16:28
Rasool mansoory
In reply to this message
This site does not convert hex to friendly? (https://ton.org/address/)
r
16:29
rony
In reply to this message
all of them
16:30
In reply to this message
- transaction was executed successfully - meaning all transaction phases succeeded
16:30
how do i verify this
D
18:39
Dario
Hello, in new docs there is no page for asm instructions, right? I dont find it
MS
18:45
Marat S ️
In reply to this message
You should parse transaction data (boc) and check the phases. Details here. Transaction structure here. On python to parse TX data you can use pytonlib.
Or you can rely on side effects of a successful transaction, such as receiver balance changed or tx has correct expected out_msgs. This can be obtained through ton-http-api.
D
18:47
Dario
In reply to this message
thanks!
AT
19:52
Andrey Tvorozhkov
In reply to this message
dton.io provide all information about phases and statuses, checkout any transaction, e.g. https://dton.io/tx/85A5844CC591A187C502D0D92314DCAED50277941DF0D1CCFA7FA87B45834E54?time=2022-11-22%2017:20:35
M
20:04
Mikhail
Good afternoon!That's the problem toncli can't find the fift even though it is there.
AT
21:04
Andrey Tvorozhkov
In reply to this message
Try remove doublequotes (”)
M
21:17
Mikhail
In reply to this message
Unfortunately this won't help(I've already tried)
&2
21:38
&rey 2ne:v
In reply to this message
Try using toncli on the same drive where fift is installed.
M
21:50
Mikhail
I have them all on the c drive .I tried deleting, manipulations with moving files, etc.Func sees toncli at the same time
23 November 2022
r
12:09
rony
hi guyz how can i validate that a transaction is successful by hash?
12:09
- transaction was executed successfully - meaning all transaction phases succeeded
DS
15:43
DeFi Stackz
Hi guys, I was digging into this project and was wondering how the workchains and shardchains work. I see a lot of stuff about workchains being able to interact with the mainchain but what is the benefit of having these workchains and subchains. Thanks in advance for the help
TD
16:12
Tonana DEV
Hey all! If you are in Dubai right now, check my bio to join TON Meetup today 💎🛥
16:14
未來GameIsOver852
Hello I'm new here and I would like to ask if there are any ways to make Trezor support for TON unofficially?
DS
16:14
Daniil Sedov
In reply to this message
TD
16:14
Tonana DEV
In reply to this message
sec
D
16:18
De Iōḥānān
In reply to this message
Yes. Trezor wallet frimeware is opensourse. Just fork, and do it 👍
16:18
未來GameIsOver852
In reply to this message
Thanks for your reply. I've google it but none result was found
D
16:19
De Iōḥānān
In reply to this message
16:22
未來GameIsOver852
In reply to this message
Beta trezor is ended
TD
16:23
Tonana DEV
In reply to this message
use it

💬 Community chat: https://t.me/+v_4qTrxdpBs3Nzhi
Rm
17:53
Rasool mansoory
Hello friends, how can I see the database and the storage method inside the ton network? My goal is to understand the storage structure
d
18:14
doni
i suggest you read the docs or the white paper and understand the bag of cells structure
Rm
18:17
Rasool mansoory
In reply to this message
I want to see the database for better understanding
18:18
Saved transactions
18:22
or sample data stored in the network
n
19:17
nick
In reply to this message
How to activate new address?
AG
19:20
Alex Golev
In reply to this message
send message from this address
n
19:25
nick
In reply to this message
LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted
Cannot run message on account: inbound external message rejected by transaction 0E4CAEFF1C7B41EB6136A0D8567B229E0CFF0B7FE7926075758ED979D81B2C93:
exitcode=0, steps=0, gas_used=0
19:26
19:27
In reply to this message
sent from this address
AG
19:47
Alex Golev
In reply to this message
could you send explorer's link on this address? What did you use to send message and in which network?
t
20:11
talkol
In reply to this message
It would probably make more sense to switch to Ledger for TON use. The community already created a Ledger app
H
22:27
Hasan
Hello, I cannot bid my username to Fragment.com, I get this error "This username can't be placed on auction at the moment.
You most likely haven't owned the username long enough, but other common reasons are outlined in the FAQ.".
Please, help me to fix it.
24 November 2022
02:09
未來GameIsOver852
In reply to this message
I regret buying a Trezor....
t
02:10
talkol
Trezor is better than Ledger for anything except TON
02:10
So it’s good that you have it for other coins
02:11
未來GameIsOver852
I'm just wonder why there is no TON apps for Trezor
TD
03:35
Tonana DEV
Who has Oculus or any other headsets?
M
03:40
Mike
In reply to this message
I have quest 2
TD
04:19
Tonana DEV
In reply to this message
Great! let's try to meet, here we can coordinate @oculuston
SF
08:13
Slava Fomin
RI
08:15
Rayhan Indra
In reply to this message
Thank you
м
08:17
максим
Hello everyone!

Made a high-level library for python, allowing easy interaction with TON

Suitable both for beginners and for developers who want to simplify their development)

library link: https://github.com/yungwine/TonTools

issues, PR and stars are welcome)

If you have any questions, feel free to contact me in Telegram

P.S. the interaction with light clients is based on psylopnunk's pytonlib
J
14:25
Javad
how convert hex to base64url ?

C119DE7D57F10B6D89F72CF205E83A27A397213743643833FC063F016ED0BA08
DS
14:39
Daniil Sedov
In reply to this message
Depends on what library/tool are you using
J
14:40
Javad
In reply to this message
tonweb
DS
14:42
Daniil Sedov
In reply to this message
You mean tonweb?
14:42
If so, there are functions:
tonweb.utils.hexToBytes
And
tonweb.utils.bytesToBase64
14:43
You can use these two to convert hex to base64
J
14:43
Javad
In reply to this message
yes
M
14:51
Mikhail
In reply to this message
.
Rm
15:02
Rasool mansoory
Friends, is there really no way to see the database of a node?
15:03
I want to check them from the first transaction to the last
A
16:25
Alex
Hi,
ton4j got an update!
Support for Payment channels and Highload wallet was added.
Check out the latest 0.0.6 version:
https://github.com/neodiX42/ton4j
Rm
16:40
Rasool mansoory
In reply to this message
someone knows a way
16:41
😢
t
16:44
talkol
In reply to this message
The Trezor team is not adding new protocols
16:45
They didn’t even add Solana
Rm
17:18
Rasool mansoory
In reply to this message
It's impossible?
M
17:23
Max
In reply to this message
Your question is too vague for anyone to answer it
Rm
18:02
Rasool mansoory
In reply to this message
How can I access the transaction history?
M
18:02
Max
of one account?
Rm
18:02
Rasool mansoory
In reply to this message
no
M
18:03
Max
all transactions of all blocks?
Rm
18:03
Rasool mansoory
first transaction
18:03
In reply to this message
yes
18:03
未來GameIsOver852
In reply to this message
Sad... I think I have to sell my trezor
18:03
the dev of Trezor is lazy
V
18:04
VP | Ezil.me
In reply to this message
I think he’s trying to ask how to listen to transactions on the ton network
18:04
not history
t
18:17
talkol
In reply to this message
Lazy dev team is a good thing :) hardware wallet should not change. It’s a good wallet for Ethereum coins and Bitcoin
t
19:18
talkol
Ledger has some insanely bad decisions too, it’s not perfect

For example, passphrase has to be typed on the device using only 2 buttons which make people either avoid passphrase or take a short 4-6 character one which can easily be brute forced. Passphrase should always be used so then device doesn’t hold the full private key and it should be at least 14-15 characters so brute forcing it becomes difficult
N
19:24
Nuss
In reply to this message
hi, how can i get test tons? I tried a bot in teleram, but I could never get any ton :(
d
19:54
doni
In reply to this message
is your wallet on testnet ?
Rm
19:54
Rasool mansoory
In reply to this message
It is strange to me that no one knows the answer
N
19:54
Nuss
In reply to this message
uhmmm idk, how can I check that? I thought it was
d
19:54
doni
which wallet ?
19:55
In reply to this message
you can use a block explorer

try tonapi.io
Rm
19:56
Rasool mansoory
In reply to this message
How can I access it directly from the network itself?
d
19:56
doni
checkout toncenter api
Rm
19:57
Rasool mansoory
In reply to this message
Is a node not directly accessible?
d
19:57
doni
it is
19:57
you need to use lite client protocol
19:57
there is a good npm package for that
Rm
19:58
Rasool mansoory
In reply to this message
tonapi.io
Does this website work the same way?
20:00
In reply to this message
yes eventually
when you query a full node

you query its lite server …

toncenter is an http layer over lite client api ,

lite client works over udp
25 November 2022
N
02:29
Nuss
How can I add my wallet to test net?
SF
09:38
Slava Fomin
In reply to this message
You will have to elaborate.
h
11:32
hthuang
ImportError: cannot import name 'BitString' from 'bitstring'
11:32
When executing "toncli start simple_storage"
DK
12:33
Don Kim
In reply to this message
AT
12:57
Andrey Tvorozhkov
In reply to this message
pip install bitstring==3.1.9
F
13:00
Frog
Which api i should use, to get sold nfts for some collection?
h
13:03
hthuang
In reply to this message
Thanks, that works
SF
13:14
Slava Fomin
In reply to this message
No, both networks are now using TON coins and the testnet coins have no direct value.
DK
13:24
Don Kim
In reply to this message
my mean old testnet coins (GRAM) i had converted ok in another address a year ago but it cant convert now
SF
13:56
Slava Fomin
In reply to this message
I guess you can forget about that.
N
15:18
Nuss
In reply to this message
Is there any documentation?
SF
15:36
Slava Fomin
In reply to this message
See the pinned message?
N
15:38
Nuss
I started by the hello world but there says that I need a wallet, I thought it was in other networks where a wallet lives in main and in test. But I think I need other previous documentation
J
15:51
Javad
how load Mnemonic with Tonweb ?
J
17:23
Javad
In reply to this message
How convert hex to Account address ?
DS
17:26
Daniil Sedov
In reply to this message
Which hex
J
17:26
Javad
In reply to this message
E4148E2538CAE1D2252952B5F724B43DAD79CE2B341BB58DB74893C133EA8798
DS
17:27
Daniil Sedov
In reply to this message
I mean where did you get this hex from? What does it mean?
J
17:28
Javad
In reply to this message
it's from transaction in_msg
17:28
In reply to this message
from this site : https://dton.io/
DS
17:29
Daniil Sedov
In reply to this message
Is it transaction hash?
J
17:29
Javad
In reply to this message
no it's destination address hex
17:30
in_msg_dest_addr_address_hex
J
18:35
Javad
In reply to this message
What should I do ?
M
19:03
Max
You need to know the workchain of the account (0 or -1) then you can find the account in any explorer with address format <workchain>:<hex> without the <> brackets
AT
19:24
Andrey Tvorozhkov
In reply to this message
This is address
19:24
Just add workchain to it
19:24
0:E4148E2538CAE1D2252952B5F724B43DAD79CE2B341BB58DB74893C133EA8798 e.g.
J
19:34
Javad
In reply to this message
Thanks

but in tonscan show like this

EQDkFI4lOMrh0iUpUrX3JLQ9rXnOKzQbtY23SJPBM-qHmGeh
M
19:37
Max
In reply to this message
this is the "friendly" format of addresses

you can find an example of how to serialize addresses to this format here https://github.com/ton-community/ton/blob/17b7e9e6154131399d57507b0c4a178752342fd8/src/address/Address.ts#L147
T
23:29
Tonox DeFi
T
Tonox DeFi 25.11.2022 23:28:44
News


- Updated open-contracts with fixed version of EC math. Now it (should) work with any Elliptic Curve (even pairing friendly ones, imo). I included only secp256k1 paramters.

The main problem is that ecMul with large scalar will easly reach gas limits, making the library non-functional. A better approach could be to create a verifier contract that save the stack and send a message to himself to continue the computation, but I'm not going to implement it.

https://github.com/TonoxDeFi/open-contracts/tree/main/contracts/crypto/elliptic-curves
26 November 2022
BN
12:18
Behrang Norouzinia
In reply to this message
d
14:22
doni
ton-crypto (npm)
is a good one
Rm
16:48
Rasool mansoory
In reply to this message
How can I receive the latest toncoin transfer?
16:52
In reply to this message
I tried to recive with the following url but the result is not the last transfer
https://tonapi.io/v1/blockchain/getTransactions?limit=1
d
17:07
doni
send me in dm your address
S
23:28
Step
is it possible to validate address using tonweb without making any api request?
DS
23:39
Daniil Sedov
In reply to this message
Depends on what do you mean by "validate"
27 November 2022
S
00:19
Step
In reply to this message
like address format
DS
00:24
Daniil Sedov
In reply to this message
You can try tonweb.Address()
S
00:25
Step
like this?
tonweb.Address(address)
SF
00:27
Slava Fomin
In reply to this message
try { new Address(addressString) }
S
00:29
Step
In reply to this message
what is the difference in
isBounceable: false|true?
DS
00:31
Daniil Sedov
In reply to this message
If you send coins to unbounceable address, you won't get them back in case of some error
S
00:33
Step
In reply to this message
but why ton decided to have such different type of address?
these exists in other network?
h
06:49
hthuang
06:50
An error appeared when I sent a message to a contract
06:52
This is the contract shown in a tutorial, I have deployed it on the testnet successfully and I am able to call a getter method
&2
07:32
&rey 2ne:v
In reply to this message
Because otherwise you would be unable to initialize new contracts at all - money would instantly bounce back.
H
09:05
Hartmann D.
In reply to this message
Mami, use English please.
DM
15:21
Danila Moriakov
Hi, does someone have example contract with usage of set_code and set_c3 for upgrading?

Ideally, if you also have JS script for interactions with it. Thanks
d
16:12
doni
In reply to this message
elector
M
16:16
Monster media
Hi.

Can a @shopbot becreated that accept Toncoins?
D
19:45
DLxVagabond
To get a grant or funding, should you already have a product on hand even if it's in early development and what if you haven't started?
28 November 2022
AG
00:07
Ab Ghaemi
Hi guys,
Dose anyone know the company , website , that rent , sales VPS with TonCoin ?
h
06:37
hthuang
Is TL-B neccessary for contracts?
06:38
Can it be generated automatically?
D
07:30
De Iōḥānān
In reply to this message
Now more often TL-B is used as a supplement to the documentation of smart contracts, written manually. To my knowledge, TL-B compiler in ton c++ monorepo can generate code based on TL-B, but I haven't seen any cases where this has been used in practice outside of ton monorepo.
S
08:55
Step
how to solve this error
LITE_SERVER_UNKNOWN: cannot apply external message to current state : Failed to unpack account state
DS
09:10
Daniil Sedov
In reply to this message
This error can appear in different situations. It often happens when you're trying to interact with a not deployed contract
09:10
What did you do exactly?
S
09:17
Step
In reply to this message
looks like private key mismatch
09:29
In reply to this message
can you tell me how to convert keyPair to seed? that i will import using tonweb.utils.keyPairFromSeed ?
DS
09:33
Daniil Sedov
In reply to this message
If you already have a keypair, you don't need to convert it to anything, just use it in tonweb
S
09:34
Step
In reply to this message
i need to store as seed that i will use later.
09:36
size of seed is smaller than secretKey so i prefer seed? 🤔 is it wrong practice ?
09:45
🥹
h
10:13
hthuang
"Request failed with status code 429"
10:14
Why do I always get this error?
10:16
In reply to this message
So I do not have to learn how to use TL-B for contracts development, right?
S
10:21
Step
In reply to this message
api has very tight ratelimits.
10:25
In reply to this message
register in bots to get api key with increased limit i.e 10r/s

@tonapi_bot - tonapi.io
@tonapibot - toncenter.com
h
10:26
hthuang
Thanks
DS
10:39
Daniil Sedov
In reply to this message
It is not necessary but still important if you want to develop something big
h
10:42
hthuang
I am a newbie, and do not find any scenario I can use TL-B, perhaps I will find one later
DS
10:49
Daniil Sedov
In reply to this message
TL-b is usually used to describe how smart contracts interact with each other. Usually when you write a contract, you also write a tl-b scheme where you explain the format of data that your contract takes as input and maybe return in response
10:50
It is required mostly for internal & external messages because they don't have some exact format for message body. Developer can put any data in any format in it
h
10:52
hthuang
So, is this similar to an api doc?
DS
10:52
Daniil Sedov
In reply to this message
It is similar to ABI for ethereum contracts, but more customizable
10:53
TL-b is a language that can describe how some data type should be serialized and deserialized from binary format
S
10:57
Step
In reply to this message
sometimes after auction ends if someone send ton to auction item contract address ton is coming back to sender, is it manually triggered or automatic by contract?
10:59
is there any book to master skill on ton smart contracts?
DS
11:10
Daniil Sedov
In reply to this message
I'm not sure but probably that behaviour is defined in contract's code, or maybe it just raises an error so coins are bounced back to the sender
11:10
In reply to this message
S
11:38
Step
In reply to this message
noob programmer cant gain anything from whitepaper. 😏
11:43
in ton , address contract type is unknown until there is first outgoing txn?
DS
11:56
Daniil Sedov
In reply to this message
It just should be deoloyed
11:56
And when we're talking about wallets, they're usually deployed with the first outgoing tx
S
11:57
Step
In reply to this message
yea this
l
12:21
lin
Send 0.01ton to an account, why is it always returned 0.009
AP
12:24
Andrey Pfau
In reply to this message
Because of transaction fee
l
12:27
lin
Are transaction fees too low?
AP
12:28
Andrey Pfau
In reply to this message
Yep
l
12:31
lin
Do I need to specify a fee to create a transfer transaction?
AP
12:34
Andrey Pfau
In reply to this message
No, it is constant and depends on the executed code
l
12:35
lin
How to solve this kind of problem, I use the golang sdk to send the transaction
l
13:24
lin
Does it matter if following toaddress is not excited?
S
13:35
Step
In reply to this message
is it possible to know the fee before sending a txn?
13:35
In reply to this message
i may want to drain a wallet to 0
D
13:37
Dario
In reply to this message
Set mode = 128
S
13:38
Step
In reply to this message
sendMode ?
D
13:38
Dario
y
S
13:41
Step
In reply to this message
is there any list of mode with its meaning?
13:41
by default my codes have 3
l
13:43
lin
In reply to this message
Is there any other operation required to transfer funds to an inactive wallet?
DS
13:53
Daniil Sedov
In reply to this message
Send to unbounceable address
&2
14:02
&rey 2ne:v
In reply to this message
By the way, seed + publicKey = secretKey.
S
14:02
Step
In reply to this message
yes thanks.
S
15:53
Step
In reply to this message
is it possible to send ton to 2 different address in single txn ??
JF
15:55
John Fyodor
yes
15:56
you can send up to 4 tx with v3 (or v4) wallet, and up to 255 with highload wallet contract
S
16:13
Step
In reply to this message
can you direct me to any tonweb example that implement this?
JF
16:15
John Fyodor
I don't know if tonweb has this kind of examples
S
16:15
Step
🥹
JF
16:15
here is ton3 highload wallet example
16:17
also here is source of <4 tx for non-highload wallet
S
16:19
Step
i want example for v4 address in tonweb
DS
21:02
Daniil Sedov
In reply to this message
Nobody "owns" TON.
Idea and early development - Telegram. Currently - open source devs.
AP
21:50
Andrey Pfau
In reply to this message
your conclusions are strange, what makes you think so?
N
21:57
Nuss
In reply to this message
this makes no sense, can be an open source project, but someone has to be the person who pay the deploy of the contract, receive the x millons of tokens, etc.
21:57
In reply to this message
also makes no sense, can be usa, china, singapur, all world, woth no proff is better not to talk
21:59
In reply to this message
I think is a good question, I just knew that the first time was telegram creator, but after some bad steps he stop the development and transform it in a open source, and other people continue, but dont know who is current owner of the project
DS
21:59
Daniil Sedov
In reply to this message
I don't understand what do you mean by "the person who pay the deploy of the contract"
21:59
In reply to this message
nobody is "owner"
22:00
there are some core developers who write the most code of TON, but they don't control the whole network. Validators do. But the thing is that there are a lot (200+) validators and that number will only rise with time.
22:00
Nobody can change something in TON without 50%+ of validators confirmations
D
22:04
DLxVagabond
You think we need Proof Of Reserves on exchanges or entire ecosystem?
N
22:07
Nuss
so, one questoin, who is the person or community who deploy TON on the blackchain? TON can not have an owner but do a resposible person/people
22:12
ok, until I can see reading a little (in other words can not be the truth at 100%), just for your knowledge:

the responsible team of current TON is TON foundation (previously NewTon) and the people who deploy the original testnet was Durov, and testnet2 (currently mainnet) NewTon, and I understand that people in charge of eveything is:

https://github.com/orgs/ton-blockchain/people
22:13
is good to know who worked on the project one is involved
22:14
I think this is not the right channel for this info, for this reason I apologize for the spam :(
29 November 2022
06:25
Why is the address from pack lost in unpack?
J
08:07
Javad
do you have source of "NFT collection" smart contract ?
for example 10K NFT collection ( with mint function )
BN
13:59
Behrang Norouzinia
Why testnet is stuck? It looks like last block is validated more than 2000 seconds ago (more than 30 min)
T
14:01
Tudor
In reply to this message
Link?
BN
14:03
Behrang Norouzinia
I couldn't see my test transactions on testnet.tonscan.org or testnet.ton.cx. Then used lite-client and used last command. It shows me that last block was for more than 2000 seconds ago.
BN
14:32
Behrang Norouzinia
Now it's more than 4000 seconds. More than an hour.
AG
15:08
Alex Golev
In reply to this message
Update of testnet validators.
BN
15:10
Behrang Norouzinia
The message is very recent. Is something went wrong?
15:12
A few blocks are accepted, but looks like that it's stuck again.
Rm
17:22
Rasool mansoory
Hi guys how to find last block id in ton network?
Rm
17:36
Rasool mansoory
In reply to this message
and other question sry
What is seqno and where is it used?
D
17:38
De Iōḥānān
In reply to this message
If your question about wallet smart contracts: It's like nonce in eth, but it isn't as a blockchain feature. Seqno feature provided by wallet smart contract code. But if your question about blocks: it's like "block number"
M
20:00
Max
Hey guys!
@ton-community/tx-emulator for local transaction emulation has just been released.
Please have a look at it and share your thoughts!
30 November 2022
n
07:39
nick
07:39
In reply to this message
Hi guys, How can transfer TON out from JettonWallet address?
d
08:39
doni
you can use minter

or tonkeeper and tonhub support jetton transfers
08:39
In reply to this message
.
A
09:12
Alexander
In reply to this message
Unfortunately, it's not possible
n
09:14
nick
In reply to this message
native currency TON not jetton token
d
09:14
doni
ow sorry i misread the question
U
09:21
Un gars bien
Hello guys. Tried to deploy the first contact from here but got this error : Found existing deploy-wallet [ kQCjfVOocWPAEfHXG1MuGkVDNb2q2qI8p6HrZkawLkmyOZiV] (Balance: 0💎, Is inited: False)

and then after trying to send coins from https://t.me/@testgiver_ton_bot got this error : An error occurred, please contact with the administrator!

Could anyone help ?
n
09:24
nick
In reply to this message
It will receive TON when it receive Jetton tokens, and after a long time, there will be many TONs in that address.
A
09:34
Alexander
In reply to this message
You should specify response_address to receive excesses.

https://github.com/ton-blockchain/token-contract/blob/main/ft/jetton-wallet.fc#L143

The only way money can stuck is when jetton wallet receives bounce message.
09:37
In reply to this message
testnet isn't working at the moment
U
09:38
Un gars bien
In reply to this message
okay ty
n
09:44
nick
In reply to this message
09:44
In reply to this message
I have set responseAddress but only receive few tons.
A
09:48
Alexander
In reply to this message
You can not get coins FROM a jetton wallet smart contract. The coins that are sent to the response_address is the rest of coins of the current transaction (msg_value), not a contract balance.
N⁢
10:13
Neo... ⁢
https://testnet.toncenter.com/api/v2/

testnet is down? getting Gateway time-out error
А
10:53
Андрей
In reply to this message
yes
k
13:04
kevin
hello everyone . wish you great moments
C
13:53
Cpperg
Hey 👋
AK
16:51
Adil Khan
hi i am creating a Ton wallet if you have any wallet for ton kindly provide me the github
MA
19:41
Mustafa Asaad
what should i do
i can't find what type of config file be provided
S
19:41
Step
how to decode message like this?

te6ccgEBBAEA5wADrUY3KJrpcF4P-kuLh24Nwo9FtC4edLDciSDuGrTh96kkc2nHs_VKvAdPc-Io1Lw-R2wAkBn64m0r4eAgosi8TmIW2mYDAAAAA2OHh2Jjh4f4BXBlbmlzwAECAwBaAWh0dHBzOi8vbmZ0LmZyYWdtZW50LmNvbS91c2VybmFtZS9wZW5pcy5qc29uAGOAGAUX7Ahh6mJrsavv5apyYYQi3sKCw7dHkQ_0DXCZchhsEjCc5UAAAKAAAcIAASdQEABLAAUAZIAIEbR2UW2Ay0snwgciTTdVU4vxldeBjTs-FVd1ZVMkrXA
V
S
20:01
Step
In reply to this message
not all data visible ?
20:02
strange characters like ��r�F7(�p^�Kn�E�.t�� �����$sidz�
DS
20:14
Daniil Sedov
In reply to this message
Because that's not just a regular string. That's a serialized message
20:14
You need to use some library like tonweb
S
20:15
Step
In reply to this message
can you send me example of tonweb?
JD
S
20:38
Step
In reply to this message
i know this library i meant to ask which func or class to use to deserialize the above message, the documentation is not very clear.

tonweb.boc.Cell.oneFromBoc(tonweb.utils.base64ToBytes('')
tried this but i can see only byte arrays.
A
21:33
Alexander
how to 'initialize' toncli's wallet?
21:33
Found existing deploy-wallet [kQA3yoxDlzrRZOp0dHjZITcKm2nLxqXj4dX_9V9gFvpKmHsh] (Balance: 5.100009982�, Is inited: False)
A
22:11
Alexander
How much exactly TON needs to be send to deploy-wallet to finish initialization?
DS
22:13
Daniil Sedov
In reply to this message
less than 0.1
A
22:20
Alexander
then... I'm not sure why does toncli complains...
22:20
a bug?
22:26
@Gusarich any hints on how to troubleshoot?
S
23:35
Step
In reply to this message
please help me deserialize this with tonweb
А
23:58
Андрей
In reply to this message
To decode a set of bytes, you need to imagine what is encoded there and how to decrypt it (decryption scheme)
It is impossible to decode arbitrary data without knowing what it is and how to work with it.
1 December 2022
S
09:06
Step
In reply to this message
i got from fragment.
full data
{"version":"0","body":{"type":"sign-raw-payload","params":{"source":"EQCA14o1-VWhS2efqoh_9M1b_A9DtKTuoqfmkn83AbJzwnPi","valid_until":1669875028,"messages":[{"address":"EQCA14o1-VWhS2efqoh_9M1b_A9DtKTuoqfmkn83AbJzwnPi","amount":10000000000000,"payload":"te6ccgEBBAEA5wADrUY3KJo-0Uu8LR7qtft8VK7UXunmrlII6Ylxix7SwKdatsZkUNLLXj4J3HwXpfGatI1RncyKUH3OoaOJyo0AygCInYIBAAAAA2OIRApjiESgBXBlbmlzwAECAwBaAWh0dHBzOi8vbmZ0LmZyYWdtZW50LmNvbS91c2VybmFtZS9wZW5pcy5qc29uAGOAGAUX7Ahh6mJrsavv5apyYYQi3sKCw7dHkQ_0DXCZchhsEjCc5UAAAKAAAcIAASdQEABLAAUAZIAIEbR2UW2Ay0snwgciTTdVU4vxldeBjTs-FVd1ZVMkrXA"}]},"response_options":{"callback_url":"https:\/\/fragment.com\/tonkeeper\/rawResponse?id=YyL-8F_8nhGb6yvqY8v2dMa3&qr=1","return_url":"https:\/\/fragment.com\/tonkeeper\/rawResponse?id=YyL-8F_8nhGb6yvqY8v2dMa3","broadcast":true},"expires_sec":1669875028}}
Ф
11:39
Фима Малкис
We are looking for developer to write a smart contract.
k
11:58
kevin
hello .who is the grant team leader of ton ?? how can i contact with them ??
11:59
In reply to this message
hey . i can help you . send me a dm
D
13:24
D a v i d e
how can i learn writing smart contract on ton?
DS
13:30
Daniil Sedov
In reply to this message
A
14:53
Alexander
is there any build script for compiling ton under windows?
14:53
script which would download / build all the dependencies like zlib
С
16:31
Сергей
Can someone send some test coins to me? The giver chat-bot seems to be empty. EQDDYqwzSuQP8HkaCT_AnRd5op9dAVa9NzEHE39LxMJ6Xoc1
NX
16:52
Nurbek Xurramov
Hello
k
16:53
kevin
hello guys, anyone here knows ton grant team?
F
18:07
Foisoi
In reply to this message
testnet is not working for now
t
18:25
talkol
In reply to this message
D
18:33
D a v i d e
hello, where is the line of code that specifies the price of a Jetton?
here, where i mint the token, I can’t even set a price!
https://minter.ton.org
AS
18:33
Aleksandr Shepelev
In reply to this message
it is not ICO contract, it is just jetton contract
D
18:34
D a v i d e
In reply to this message
so a jetton hasn’t a value ?
18:34
I understood that it was the equivalent of tons of the ERC20
AS
18:35
Aleksandr Shepelev
In reply to this message
jetton is kinda ERC20 token
D
18:38
D a v i d e
In reply to this message
an ICO contract can be a jetton contract?
18:39
In reply to this message
so a the jetton contract’s value is set by market
AS
18:41
Aleksandr Shepelev
In reply to this message
you could make ICO inside jetton minter contract
18:42
In reply to this message
yes, you need to list your jetton on some dex, set its price by your project, back it by providing liquidity, etc etc.
D
18:43
D a v i d e
In reply to this message
but the price how is set
18:46
and In a contract I can write that if the price of the token is at 5$ (for example) it burn some token?
M
18:47
Max
You cannot set a price for erc20 too, because it is not a part of the standard

Most erc20 tokens have value because you can swap them on DEXes and CEXes, and the price is determined from them
18:48
You can run an ICO for an erc20 token, but it is not part of the standard

The exact same principle applies to jettons
D
18:49
D a v i d e
In reply to this message
Ok, but I don’t know how DEX/CEX set a value. do they add code?
M
18:51
Max
No
Say a DEX has a BTC/USDT pair
If there are 10 btc and 150000 usdt in it, it means that 1 btc is worth 150000/10=15000 usdt (susceptible to slippage and price impact)
18:52
These 10 btc and 150000 usdt are the 'liquidity" that Aleksandr was referring to
18:52
And are usually provided (at least initially) by the creators of a token if it is a new token
D
18:54
D a v i d e
mmh ok
M
18:55
Max
You may provide less liquidity for example 1500 usdt and 0.1 btc, but that would cause huge price impacts even for small swaps
D
19:11
D a v i d e
is there an open source dex on ton ?
19:13
In reply to this message
but if in one exchange I provide less liquidity than in anorher, the token would have a different value?
AK
19:17
Adil Khan
hii
19:20
how can i get ton testnet?
D
19:57
D a v i d e
sorr guys for all the questions 😅.
i have a last:
how an algorithmic stablecoin mantain price pegged to 1 dollar if the price of the token is set by the exchange? How the smart contract knows if the token is unpegged?
AS
19:58
Aleksandr Shepelev
In reply to this message
yes but arbitrage between dexes will do the job (manual or automated, doesnt matter)
20:00
In reply to this message
if it is pegged, it means you can change it to real dollar somewhere, then again arbitrage between different exchanges does the job
M
20:00
Max
In reply to this message
yeah but that only works for custodial stables
20:00
for algorithmic stablecoins you need to read the whitepaper of the stablecoin itself
20:00
depends on implementation
AS
20:00
Aleksandr Shepelev
ah, that's correct
M
20:01
Max
from what I know (very unsure about my knowledge in this), they are usually backed by some other, unpegged token, and if the price goes down (idk how the smart contract knows that price is dropping), that other token gets sold to maintain the peg
20:01
an example would be UST and LUNA
20:01
but once again, I may be saying outright wrong things here
20:02
In reply to this message
not sure about that right now, none that I know of
D
20:02
Dario
In reply to this message
Yeah, and if in a dex a trade is traded >1$ usually you can mint more from stable protocol itself (by lending etc) and sell them to lower the price
D
20:02
D a v i d e
In reply to this message
yes the problem is how the contract knows?
o
20:02
oxlti.qube
In reply to this message
SC gets data from oracles
D
20:03
Dario
In reply to this message
If its backed by crypto, usually they use oracles, a fancy word to say that someone push the data inside the smart contract
M
20:03
Max
in ethereum and other EVM networks there's chainlink for example
D
20:04
D a v i d e
In reply to this message
and in ton,?
M
20:04
Max
doesn't exist at the moment
20:04
but there is a grant for that I believe although it is only a draft right now
o
20:04
oxlti.qube
In reply to this message
M
20:04
Max
In reply to this message
oh that's cool
D
20:04
Dario
In reply to this message
No code = no trust
S
20:05
Step
In reply to this message
no one is here can help? 🥹
o
20:05
oxlti.qube
In reply to this message
Said stonfi developer
Our oracle is open-source.
D
20:05
Dario
In reply to this message
Where?
D
20:05
D a v i d e
In reply to this message
you have a githyb page?
M
20:05
Max
👀
D
20:06
Dario
In reply to this message
Im really curious, i looked for it at the beginning but i didn't find anything on GitHub
o
20:06
oxlti.qube
In reply to this message
Yes. I need to update it tomorrow
20:07
Dm me, so I won’t forget to give a link to u
S
20:57
Saber
In reply to this message
the scheme of your tx data is:
OP(32 bits)
Signature(512 bits)
subwallet Id ( 32 bits)
valid_since( 32 bit)
valid_till ( 32 bit)
username length(8 bit)
username(8bit * length)
content(ref)
auction config(ref)
royalty(ref)
VT
22:28
Vladimir Tamara Patiño
In reply to this message
Can you give a link to everybody? If not, why do you say it is open source?
S
23:09
Step
In reply to this message
does not open source neutralize the competition?
23:10
In reply to this message
it is the reason why telegram server is closed source.
23:10
🤣
VT
23:37
Vladimir Tamara Patiño
In reply to this message
That is a different topic where you can bring gitlab vs github and other examples of open source vs. closed sources. But if someone says that a code is open source he/she must show the sources, otherwise better he/she should say the sources are closed.
23:38
Personally for cryptocurrencies I will not trust anything without sources that I can audit and compile.
2 December 2022
S
00:10
Sup/b/
Hi guys , I installed tonсli, but the developer's(deploy) wallet was not created at startup
00:10
Has anyone encountered?
D
02:17
D a v i d e
we can’t use chainlink on ton. isn’t it?
M
02:21
Max
In reply to this message
not yet at least
o
05:04
oxlti.qube
Testnet is back.
Developers using testnet: please update the config and, if necessary, rebuild the tonlib from last commit of the testnet branch.
05:05
In reply to this message
Chainlink is EVM Oracle, TON is TVM, but I think they can build a new one on TVM using their brand name.
D
09:03
D a v i d e
In reply to this message
but we have to wait chainlink
k
12:06
kevin
hello, who is the lead of grant team and how can i contact with them, i sent apply and don't get answer yet.
H
13:05
Hartmann D.
In reply to this message
Hi. Sorry for the late reply. Please ask it here - @tonsociety_chat
13:06
In reply to this message
Please address your question to @toncoin_chat or @toncoin_es_chat. This is a dev chat only. Thank you.
k
13:07
kevin
In reply to this message
hey thanks for response. do you have Eugene Ponasenkov telegram id?
H
13:08
Hartmann D.
In reply to this message
Rm
15:18
Rasool mansoory
Hi guys how to call function from smart contract with http request ?
o
15:24
oxlti.qube
In reply to this message
I think you need to use Tonweb
Rm
15:26
Rasool mansoory
In reply to this message
Have you ever done this? I need documentation. I have not worked with tonweb
Rm
15:42
Rasool mansoory
In reply to this message
I did not find anything on tonweb 😢
d
16:01
doni
In reply to this message
you mean you want to call a getter ?
Rm
16:10
Rasool mansoory
In reply to this message
Yes
Rm
17:10
Rasool mansoory
In reply to this message
?
0?
17:12
0xSorcerer 🧙‍♂
hey guys...glad to be here.
17:13
i'm deploying my collection on getgems testnet with the mass nft deployer.
17:13
hope i can get a little help here.
17:14
it's gives me TypeError: NetworkError when attempting to fetch resource.
17:14
i have the collection base uri pointing to where all the *.json files are for the collection
17:14
i also have the Collection content URL pointing to where the full metadata.json file is for all the individual *.json were written. What am i doing wrong?
d
17:18
doni
In reply to this message
this project will help you get started
А
17:19
Андрей
In reply to this message
To get started, write your thoughts in one message, and do not split them up.
17:26
here is a web example of calling getters
P
17:32
Pablo
Hi everyone! I came here to get new knowledge, could you recommend literature, videos, documentation on this topic. Thanks in advance.
0?
17:45
0xSorcerer 🧙‍♂
In reply to this message
ok. thanks.
18:06
‘Finish touch’ block
N
18:10
Nacho
Hey there, pytonlib started to throw this error message suddenly: pytonlib.tonlibjson.TonlibError: INVALID_CONFIG: hardforks differs from embedded hardforks . I'm fetching config data from https://ton-blockchain.github.io/testnet-global.config.json anytime the client is instantiated. Is testnet working?
RG
18:38
Ruslan Gabdullin
In reply to this message
Hi, yep! It’s an expected.
18:38
You need to rebuild a binary from testnet branch and pass it to cdll_path
18:39
We’ll make a patch soon
N
18:40
Nacho
Thanks Ruslan!
RG
18:41
Ruslan Gabdullin
Here is a dockerfile with building instruction: https://github.com/kdimentionaltree/ton-builder/blob/main/amd64.Dockerfile
HE
20:19
Hadi Esna
@ruslixag or any other related admin
Is it possible to provide at least one example for this question of ton contest 3-text-calculator
https://github.com/ton-blockchain/func-contest3#3-text-calculator
К
23:15
Кутузов
Hi! Can some one send me tutorial for installation func and fift, please?
R
23:30
Ren
In reply to this message
hey, maybe this will help
https://t.me/ton_learn
К
23:35
Кутузов
In reply to this message
Thanks!
К
23:40
Кутузов
In reply to this message
Thanks a lot!
23:53
image_2022-12-03_01-53-06.png
Not included, change data exporting settings to download.
7.5 KB
How I can fix this error? I tried to check FunC installation in cmd.exe (fift -V -and func -V -and lite-client -V) and it give me error
3 December 2022
AT
00:10
Anthony Tsivarev
Did you install Open SSL?
00:10
К
00:43
Кутузов
In reply to this message
No
00:44
In reply to this message
I will install it and test. Thanks!
AP
01:03
Andriy Pasternak
Hi! Just started my developer path, if I have some experience with Java, will It be very tough for me to cope with latest competition?
0?
01:18
0xSorcerer 🧙‍♂
In reply to this message
i needed this. thanks much. very familiar with javascript and python and finding FunC as my first dive into C programming. Thanks
01:19
In reply to this message
hey Andriy, let me be the first to welcome you. Let's build something together while we learning here. Should be much more exciting we grow that way.
AP
01:21
Andriy Pasternak
In reply to this message
Always! DM maybe?
0?
01:37
0xSorcerer 🧙‍♂
In reply to this message
sure
0?
03:32
0xSorcerer 🧙‍♂
so guys i have npm installed the SDK, but when i try to compile my script, vscode does nothing
03:33
In reply to this message
is it a problem with my environment? with the SDK i understand we don't need to build binaries no more.
03:35
trying to compile my .fc through fift on vs
😢
D
05:06
Desmond
Hello! Am new new to TON, looking forward to learn from you guys and I would be happy if I get in mentor TON here
D
07:43
DLxVagabond
Morning from the South

I just finished my final year of secondary education and I'm not planning on going to university but work so I can save and build a PC and learn blockchain development
07:44
Does TON only use Fift language and where can I learn it?
o
07:45
oxlti.qube
In reply to this message
TON uses FunC, which compiles into lower-level Fift

But you can use Fift, which is 100x harder than FunC :)
D
07:47
DLxVagabond
In reply to this message
100x harder?😢

Is it also harder than C# or Python?
o
07:48
oxlti.qube
In reply to this message
FunC is similar to C, so Fift is alien language :)
D
07:48
DLxVagabond
In reply to this message
I understand, thanks
07:49
In reply to this message
I'll do a bit more research before making a decision
Y
10:19
Yuri
Hello guys, I'm having some problems when installing toncli on windows:
ImportError: cannot import name 'BitString' from 'bitstring' (C:\Users\yuria\AppData\Local\Programs\Python\Python311\Lib\site-packages\bitstring.py)
10:19
Note: bitstring is installed
k
11:03
kevin
hello guys . is any buddy here doing marketing for NFT project ?? inform me please
C
11:10
Cpperg
Hey guys what is the difference between FunC the language and FunC js npm
DS
11:11
Daniil Sedov
In reply to this message
You just said the difference in that message. Func is a language. And func-js is some npm module
C
11:11
Cpperg
Well yes 💀
I
11:11
Igor
In reply to this message
Take a kook for this channel - https://t.me/ton_learn
C
11:11
Cpperg
But I mean in use cases
DS
11:12
Daniil Sedov
In reply to this message
Func is the main language for ton smart contracts
C
11:12
Cpperg
Yes but is there any difference if I would use js or are some functionalities not implemented in the js lib
11:13
In reply to this message
Thanks
DS
11:13
Daniil Sedov
In reply to this message
Read the description of that npm module you're asking about
C
11:14
Cpperg
Okay thanks
Y
11:34
Yuri
In reply to this message
up
0?
11:42
0xSorcerer 🧙‍♂
In reply to this message
Func is all you need. Great career choice btw. Wish I could go back in time and save all those years I spent in school working through ridiculous courses made even harder by tutors. ✅
11:44
Can't get the compiler to run in vs. think I should build it from binary?
А
12:10
Андрей
In reply to this message
R
12:37
Rinat | ZilPay (Will not Call or DM you)
hello everyone the path of bip44 is right here? https://github.com/satoshilabs/slips/blob/master/slip-0044.md
D
12:43
DLxVagabond
In reply to this message
Thank you
12:43
In reply to this message
Career Paths?
R
12:45
Rinat | ZilPay (Will not Call or DM you)
In reply to this message
i got a ban there, idk why! cannot join
А
12:57
Андрей
In reply to this message
pip install bitstring==3.1.9
R
12:58
Rinat | ZilPay (Will not Call or DM you)
In reply to this message
again, i just clicked to join group it just close a window i have to back this chat(((
T
12:58
TON technical overview
C
Combot 03.12.2022 12:57:39
R
12:58
Rinat | ZilPay (Will not Call or DM you)
In reply to this message
but why? i didn't post anything
12:59
i have a questions about address formats
DS
12:59
Daniil Sedov
In reply to this message
You can ask here
R
13:01
Rinat | ZilPay (Will not Call or DM you)
In reply to this message
what about bip44? and what is different of v2R1, v2R2, v3R1, v3R2, v4R1, v4R2?
R
13:05
Rinat | ZilPay (Will not Call or DM you)
In reply to this message
thanks, what about bip44? i saw all library are useing incorrect method like mnemonic > seed > keyPair but it should be mnemonic > seed > bip44-path + index > keyPair, all popular blockchains use this like bitcoin, eth, sol...
SF
13:08
Slava Fomin
In reply to this message
We don't commonly use BIP44 in TON. There's a wallet ID option, that allows you to generate multiple wallets from the same private key.
13:10
In reply to this message
However, I think I saw an implementation of TON HD wallets somewhere.
R
13:14
Rinat | ZilPay (Will not Call or DM you)
In reply to this message
yes, is have to read the v4,v3 wallet, but what if i want use more then one privateKey? I saw in the Satoshi lab TON with path number 607 is it right?
SF
14:08
Slava Fomin
In reply to this message
You can use as many private keys as you want. One for each contract. The way you generate them is up to you though. And if you would use some non-standard generation approach then your wallet contracts will be incompatible with the existing wallet software.
Y
14:12
Yuri
In reply to this message
Thanks mate!
R
14:12
Rinat | ZilPay (Will not Call or DM you)
In reply to this message
i fully understand it, i mean currently i see the issue with generate keys in the TON software, becouse any cryptocurrency has standards which support all platforms. If TON has a path of bip44 standards i don't understand why it doesn't use in the ecosystem
Y
14:12
Yuri
Maybe it should be left in the docs which is the supported version
SF
14:13
Slava Fomin
In reply to this message
This could be a legacy. TON has a long history and several core development teams in the past.
R
14:16
Rinat | ZilPay (Will not Call or DM you)
In reply to this message
a good approach, i already implemented the bip39, bip44 for TON (javascript only) for derive path which use ed25519 by defualt 😌😌😌
SF
14:18
Slava Fomin
By the way, why do you think that HD wallets is a better approach than the current one?
R
14:23
Rinat | ZilPay (Will not Call or DM you)
In reply to this message
* this is the industry standard
* there are 2 possibilities, generating wallet (via contract, HDKey)
* it separate keys of others chains
* also important is for developers to understand how it works (that's what standards are for)
* last one, seed gets 512 bytes, tweetnacl which uses in the library use 256 for derive
* if you lose a privateKey, you lose only one account, not all addresses
14:25
i think if i will make a TON wallet, i will add both methods, so users can manage via bip44 and v4 wallet
SF
14:30
Slava Fomin
Seems fair :)
JL
14:59
Jessica Lina
In reply to this message
Okay
ИЛ
17:25
Иван Логвин
has anyone received ton coins in testnet using @testgiver_ton_bot recently? Because I can't
h
17:27
hellxfxded
In reply to this message
same
0?
17:27
0xSorcerer 🧙‍♂
In reply to this message
I have
17:28
In reply to this message
You need to try it at least twice. Also use 4R2 addy
ИЛ
17:31
Иван Логвин
In reply to this message
"4R2 addy" Can you please send a link where I can read about it, because I new to ton😅
h
17:41
hellxfxded
i created browser wallet in testnet, tapped "receive" 2 times and balance is still zero
17:44
can someone transfer to me some test coins plz
SF
17:48
Slava Fomin
It looks like testnet is not feeling very good recently. I would suggest to use mainnet for now. Considering how small TON transactions fees are, many developers are actually already working this way.
h
18:04
hellxfxded
In reply to this message
i sent some real TON to non-bounceable address. it was successful (because of transaction in explorer) but when i'm trying to deploy now, i'm getting notify that my balance is zero
GG
18:34
Guy Grenier
testnet-global.config.json
Not included, change data exporting settings to download.
6.0 KB
18:34
testnet-global.config.json
Not included, change data exporting settings to download.
6.0 KB
GG
18:51
Guy Grenier
EQDZgKZeQ5kEWPjEczcYy43Ep0vl_hy6Q_bK-QEMwMpEcafw
t
19:21
toanalien.ton
Hello, I use @testgiver_ton_bot get testnet token
19:21
but it didnt send anything
19:21
anyone like me?
AP
19:32
Alexander Popov 💎
In reply to this message
me too
t
19:33
toanalien.ton
🙁
19:33
I use another telegram account request but still in queue
AP
19:39
Alexander Popov 💎
this problem is not bot, transactions in the test network do not go through
20:45
do you know that's the example of fift message to highload wallet or sth else&
К
20:45
Кутузов
Hi! Which option should I choose for OpenSSL installation?
RG
21:10
Ruslan Gabdullin
In reply to this message
First one
A
21:32
Average Gosaste Enjoyer
Hey everyone, are any of the solutions for smart challenge 2 available?
S
22:03
Saber
Has anyone passed any task of this bot? https://t.me/tsccontests_bot
J
22:44
Jérôme
Hi everyone! Do you know if there is any dashboard/stats for the account growth of TON ?
К
22:53
Кутузов
In reply to this message
Thanks
B
23:25
Boogie.man.07
Hi all! A question from another newbe, which stuck at the very beginning))
I took a "hello world" project, added .env with variable DEPLOYER_MNEMONIC with private key of my wallet, containing 24 words separated by space as per instruction at github.
Then build is succeeded, tests succeeded, but deploy failed with the logs attached.
The thing is that for some reason this is unfamiliar wallet address, it is not mine. Any help would be nice and sorry if someone already asked the same :)
4 December 2022
Y
01:14
Yuri
Hello guys, I'm not being able to get Testnet coins from the bot.
S
01:50
Saber
In reply to this message
ok it’s working:)
折泽
05:56
折耳 泽尔w
hi all! A question from a newbe.
I want to test my contracts using tonstarter-contracts(https://github.com/ton-defi-org/tonstarter-contracts)
I write a hello function that always return 1, but dont know how to test.
I write test code that imitate the code in test/*.spec.ts but it doesnt work.
I notced that contracts/main.ts storage some mapping relation between contracts function and hex int, should I add the relation about my hello function? and how can I find the corresponding hex int? Can that be automatically?
Any help would be nice and sorry if someone already asked the same :)
JT
07:05
Jacky Tang
In reply to this message
without a HD wallet, it's hard to switch to different addresses for different purposes, so users are re-using the same address for everything
BN
07:50
Behrang Norouzinia
In reply to this message
Just consider that in TON, the sender address is very useful (based on my current knowledge). So using a new address for each transaction may not be useful.

For example, if you stake your TON in a nominator pool, you have to send the withdrawal request from the same address.
R
08:15
Rinat | ZilPay (Will not Call or DM you)
In reply to this message
You are absolutely right, for me the best way use one privateKey for one address, but the an option of v4 wallet seems maybe need someone, I think need support both
Y
08:23
Yuri
Hello guys, I can't get any tons from https://t.me/testgiver_ton_bot
t
08:24
toanalien.ton
it's hanging since yesterday
08:24
I think you should deploy to mainnet
08:24
just 0.005 TON for 1 time deployment
Y
08:25
Yuri
I see haha, people will start testing it on mainnet. Will the price go up?
t
08:26
toanalien.ton
In reply to this message
hope this will be true
08:26
TON is very cheap now
Y
08:27
Yuri
By the way. I'm new with the network, do you know how I can change the default wallet from toncli to one I have control?
t
08:27
toanalien.ton
which machine you use?
08:27
OS
Y
08:27
Yuri
Windows for now
t
08:28
toanalien.ton
In reply to this message
I dont know how to, but you can transfer TON to this wallet for deployment testing
08:28
change to your main wallet is risk for sure
Y
08:28
Yuri
I see, tried to use WSL before, but had some issues
t
08:29
toanalien.ton
In reply to this message
Y
08:29
Yuri
Yeah, I wonder why I can generate other addresses from the HD wallet, I provided a mnemonic to TON wallet
08:29
Ah yeah, this is exactly what I'm doing hehe
08:30
But got stuck on deployment because no tons
t
08:30
toanalien.ton
In reply to this message
it isnt HD wallet, I see it has mutil variant wallet version
Y
08:31
Yuri
Would be nice to have something like "Metamask". I'm doing a project with some partners, currently building on Ethereum, but we're exploring TON to do so.
t
08:31
toanalien.ton
openmask
Y
08:31
Yuri
Hmmm
t
08:31
toanalien.ton
08:32
this is metamask version for TON
08:32
In reply to this message
just made deposit
Y
08:34
Yuri
In reply to this message
Nice nice, downloading it, just Chrome for now, right?
08:34
In reply to this message
What you mean?
t
08:35
toanalien.ton
if you have TON in another wallet, make a deposit to deployment wallet; if dont have both, buy in CEX or use bridge
08:36
Y
08:36
Yuri
Ah yeah, I have it
08:36
gonna try to do so
08:36
I try not to touch CEX that much. Bought on uniswap and used bridge
t
08:38
toanalien.ton
In reply to this message
you can deposit BTC to @wallet and swap TON
Y
08:41
Yuri
Why when I change from mainnet to testnet, Openmask asks for the mnemonic again?
t
09:00
toanalien.ton
hmm I didnt see that in my side
MW
11:07
Macro Wang
can someone send me some Tons ? I want to test it. my wallet address: UQDXVyCaw5PaB1liYgdqwPbY3F_TGeZCO-EHrP-ddPrE6F5A
Y
11:51
Yuri
Hey guys, getting an error when trying to initialize the contract, where can I send the logs?
11:58
PS C:\Users\yuria\learning\TonFunClessons_Eng\1lesson\solution> toncli deploy -n mainnet
INFO: 🚀 You want to interact with your contracts ['contract'] in mainnet - that's great!
INFO: 🦘 Found existing deploy-wallet [kQB1zW2FVqWbFB0w4OR9HMw0-lgmt5oj34i1_Cbb3b_a1Vcm] (Balance: 0.495434999💎, Is inited: True) in C:\Users\yuria\AppData\Local\toncli\toncli
INFO: 👻 Your smart contract project [C:\Users\yuria\learning\TonFunClessons_Eng\1lesson\solution] is now going to be deployed, get ready!
INFO: 🌈 Start building:
INFO: 🌲 Func compiled
INFO: 🤗 Run tests on ['C:\\Users\\yuria\\learning\\TonFunClessons_Eng\\1lesson\\solution']
[ 1][t 0][2022-12-04 08:47:54.8228452][Fift.cpp:67] top: include
level 1: <text interpreter continuation>
[ 1][t 0][2022-12-04 08:47:54.8230493][fift-main.cpp:205] Error interpreting file `C:\Users\yuria\AppData\Local\Temp\tmpzped393q.fif`: tmpzped393q.fif:6: include:cannot locate file `C:\Users\yuria\learning\TonFunClessons_Eng\1lesson\solution`
INFO: 🌲 Tests passed
INFO: 🥳 Start contract manipulation
[ 1][t 0][2022-12-04 08:47:54.8530669][Fift.cpp:67] top: include
level 1: <text interpreter continuation>
[ 1][t 0][2022-12-04 08:47:54.8532668][fift-main.cpp:205] Error interpreting file `C:\Users\yuria\AppData\Local\Temp\tmpqod601oi.boc`: tmpqod601oi.boc:2: include:cannot locate file `C:\Users\yuria\learning\TonFunClessons_Eng\1lesson\solution`
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\yuria\AppData\Local\Programs\Python\Python311\Scripts\toncli.exe\__main__.py", line 7, in <module>
File "C:\Users\yuria\toncli\src\toncli\main.py", line 67, in main
CommandsExecuter(command, string_kwargs, parser)
File "C:\Users\yuria\toncli\src\toncli\modules\utils\commands\commands_executer.py", line 42, in __init__
self.command_mapper[command](self)
File "C:\Users\yuria\toncli\src\toncli\modules\utils\commands\commands_executer.py", line 73, in deploy_command
return DeployCommand(self.string_kwargs, self.parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yuria\toncli\src\toncli\modules\utils\commands\command_classes\deploy_command.py", line 17, in __init__
deployer.publish(real_args[2:])
File "C:\Users\yuria\toncli\src\toncli\modules\deploy_contract.py", line 88, in publish
self.build(real_contracts)
File "C:\Users\yuria\toncli\src\toncli\modules\abstract\deployer.py", line 111, in build
data.append(contract_manipulation(os.path.abspath(contract.to_save_location),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yuria\toncli\src\toncli\modules\utils\fift\commands.py", line 96, in contract_manipulation
output = subprocess.check_output(command, cwd=getcwd() if not cwd else cwd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yuria\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 465, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yuria\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 569, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\yuria\\ton-win64-binaries\\fift.exe', '-I', 'C:\\Users\\yuria\\AppData\\Local\\toncli\\toncli\\fift-libs', '-s', 'C:\\Users\\yuria\\AppData\\Local\\Temp\\tmpqod601oi.boc', '']' returned non-zero exit status 2.
Y
12:20
Yannik
Can someone send me test TON, please ?
EQAV1sEMzJw06pwIFcGmvBZB3H4Bzk7uwOYfPBp5_Th7QWPf
Y
12:20
Yannik
T
Testgiver TON Bot 04.12.2022 12:19:56
An error occurred, please contact with the administrator!
Y
12:21
Yannik
In reply to this message
Cuz faucet is not working or are there any other faucets available?
d
12:30
doni
Is test net up ?
A
13:59
Average Gosaste Enjoyer
So how long does this take?
Is it working?
A
13:59
Average Gosaste Enjoyer
T
Testgiver TON Bot 04.12.2022 13:44:43
Address: 0QDyt68zW_ngXlctCevWl0irCSwJ-wtWQC4ZHIbeKdCv15wg
Amount: 2 TON

Request added to the queue for execution, please wait!
AT
16:12
Anthony Tsivarev
Hi all! Is there anyone from India? The First Stage Labs (fslabs.io) team is going to India next week. Maybe we can get to know each other and hang out together.
SF
17:31
Slava Fomin
I've created a small MongoDB backup service that generates, compresses and encrypts database dumps and pushes them to S3 or a filesystem. It's not a replacement for a proper managed snapshots of course, but it could be useful for disaster recovery, considering how fragile the world becomes.
A
18:09
Amin
Hi, does anybody have ideas where I can find TL-B schema of TVM registers like c5?
18:21
In reply to this message
nvm, it's just as OutListNode in block.tlb :)
out_list_empty$_ = OutList 0;
out_list$_ {n:#} prev:^(OutList n) action:OutAction
= OutList (n + 1);
action_send_msg#0ec3c86d mode:(## 8)
out_msg:^(MessageRelaxed Any) = OutAction;

action_set_code#ad4de08e new_code:^Cell = OutAction;

action_reserve_currency#36e6b809 mode:(## 8)
currency:CurrencyCollection = OutAction;

libref_hash$0 lib_hash:bits256 = LibRef;
libref_ref$1 library:^Cell = LibRef;

action_change_library#26fa1dd4 mode:(## 7) { mode <= 2 }
libref:LibRef = OutAction;
out_list_node$_ prev:^Cell action:OutAction = OutListNode;
JL
20:35
Jessica Lina
In reply to this message
I have it
5 December 2022
M
00:17
Mikhail
Good evening.I have already asked for help, but they did not help me.I hope someone can do it today.Windows 10 laptop does not see fifth.Fifth is circled by a red line
D
00:37
Diako
is there any wallet connect module for js ? like "connect wallet" in getgems
К
00:38
Кутузов
image_2022-12-05_02-38-05.png
Not included, change data exporting settings to download.
61.2 KB
Hi. How I can fix this error?
toncli start wallet
00:40
In reply to this message
solved. i needed bitstring
К
00:58
Кутузов
image_2022-12-05_02-58-32.png
Not included, change data exporting settings to download.
94.5 KB
How I can solve this? VSCode can't read .func files
A
01:21
Anasseh
Hello community can anybody help me here on refund issues, I will truly appreciate thanks
B
01:28
Boogie.man.07
In reply to this message
Hi, i have the same issue... You just did "pip install bitstring" and it worked?
К
02:03
Кутузов
In reply to this message
Hi

pip install bitstring==3.1.9
B
02:06
Boogie.man.07
In reply to this message
Thanks a lot, worked!
0?
03:15
0xSorcerer 🧙‍♂
In reply to this message
Use a plugin
FI
06:26
F Imo
EQCH1mO-aFN8X3TSP78cknLdg0_RbD4r6Pk2sds1YjYp0Lha
06:27
Guys pls need 0.8 Ton
06:28
Can you someone help
t
06:28
toanalien.ton
In reply to this message
for what?
FI
06:30
F Imo
In reply to this message
for 3 time deployment
06:33
No One?!
N⁢
07:57
Neo... ⁢
In reply to this message
Testnet is down? I'm not able to make any transfers in the test network
n
09:02
nick
Hi, Can this method 'sendBocReturnHash' work?
DS
12:00
Durga(kishan) Sharma
Hello Team, Is there ant offline signing example in js?
12:00
i have to transfer TON
AR
12:06
Amelia Robert
Hey guys how can I start
SF
12:08
Slava Fomin
In reply to this message
You can create the message offline and send it later.
12:08
Just follow any example up to the moment when the message is getting sent to the network.
DS
12:34
Durga(kishan) Sharma
Hello,

I have to use thirdparty library to sign transaction.
12:36
a TRON example, I need same idea
12:44
Sorry, typing mistake 😁
DG
13:38
Draco Gram
Is Sandbox Faucet working?
13:39
It shows that my request/address was read but I see no response or transfer to wallet
SF
13:46
Slava Fomin
In reply to this message
Do you mean testnet by Whales?
DG
14:13
Draco Gram
In reply to this message
Yes thats the one
SF
14:49
Slava Fomin
In reply to this message
It was shut down some time ago.
V
14:50
Vassily
Hi! testnet faucet does not give me TONs for three hours since request. How long the wait can take? https://t.me/testgiver_ton_bot - this one
SF
14:50
Slava Fomin
SF
Slava Fomin 03.12.2022 17:48:37
It looks like testnet is not feeling very good recently. I would suggest to use mainnet for now. Considering how small TON transactions fees are, many developers are actually already working this way.
AR
14:59
Andy Russo
Is c4 supposed to be empty by default?
S
15:06
Sasha Murzin
In reply to this message
> Considering how small TON transactions fees are
Nice )))
So why TON mainnetwork do not spare i dime to EQAdKMzROm7BavE771uefFKFZStyRSrNGU2KWSwjaws_0ZHn for me?
tc
16:34
tommy chan
hey all
new to TON.
trying to comile https://github.com/ton-defi-org/tonstarter-contracts on ubuntu
when running npm run build, it says `FATAL ERROR: 'func' with version >= 0.2.0 executable is not found, is it installed and in path?
`
any advice on this please?
DG
17:21
Draco Gram
One issue with test faucet seems to be the captcha is not working quite right.
RG
17:23
Ruslan Gabdullin
In reply to this message
Letters are case sensetive
DG
17:43
Draco Gram
ok, seems to be working now. I have been added to the queue
N
19:17
Nedim.007
Merhaba
19:18
I'm new here can anyone help me?
DG
19:28
Draco Gram
In reply to this message
how did you install func? there are a few options available. If you compiled it will be in the build directory under /build/crypto. Also you may need to set your PATH variable to point to it.
19:30
In reply to this message
Are you interested in writing smart contracts for TON? and what have you tried so far?
s
19:32
shotaro 💧
hey, solidity, evm web3 developer here

i see there is a token bridge eth <-> ton

is there an AMB, arbitrary message bridge?

any plans for an AMB eth <-> ton for cross chain communication?
19:36
my main interest is exposing ton to some oracles available only on EVM chains in ethereum ecosystem.
DG
19:42
Draco Gram
How are the oracles accessed currently on the EVM chains?
РМ
19:43
Руслан Мельников
Guys, the asshole bot doesn't give me test coins, can someone drop one:(((
RG
19:45
Ruslan Gabdullin
Nope, do not blame a bot. There are problems in testnet now
N
19:53
Nedim.007
In reply to this message
As I said, I am new among you, I have not done anything before, and this will be the first step I will take with your vast knowledge and experience.
DG
19:55
Draco Gram
19:57
For some of the articles you need git installed, and make, cmake to compile. Otherwise the first article by Tal Kol will show you where to get the binaries.
20:00
In reply to this message
you can pull the latest ton source from git repo and make. You just need the git installed, cmake and make. If you are on a mac you need to update PATH in .zshrc file to include the /build/crypto where the build func etc are or you can move those to bin directory.
A
20:03
Average Gosaste Enjoyer
Hi,
How can I have some array structure in the permanent storage of my smart contract? The only feature I need is being able to iterate through it.
Random access isn't necessary but it would be better for me.
Thanks in advance
20:04
In reply to this message
Also what if I want such structure in the smart contract runtime (when the code is being executed, say I'd want to store an array of some type)
s
20:04
shotaro 💧
In reply to this message
the most popular defi oracle is a third party oracle network that is called chainlink. Unfortunately, in practice, the oracle network is backdoored by a multisig and chainlink and first party api provider partners have reputation at stake and relatively robust infrastructure, and its token currently has zero usecase except speculation.

ultimately an AMB bridge would be effectively a multisig secured by validators but works sufficiently well for low value high volume. there are a few zk bridges in development but nothing deployed live on an evm chain (validate the consensus and blockheader of another chain as a zero knowledge proof).

There are other oracles like API3, and Reality.eth paired with a decentralized arbitrator like Kleros. These oracles are secured partially by the network effect of integrated parties and staked token collateral. The idea is that the most secure decentralized oracles concentrate their token liquidity and security on a single chain and message pass results to other chains. I want to message pass oracle results from oracles with network effects to TON.
DS
20:04
Daniil Sedov
In reply to this message
Use tuples and serialize them into cells
A
20:11
Average Gosaste Enjoyer
In reply to this message
I don't quite get the logic behind serialization.
What resources do you recommend?
(e.g. My array may get arbitrarily large whereas a single cell storage is some constant bits.
So I'm guessing some kind of pointer is stored in that cell but then, where exactly is my data stored?)
Also any code examples would really help me out.
Thanks again
DS
20:12
Daniil Sedov
In reply to this message
Cells can have up to 4 references to other cells. You can store almost any amount of data in your contract
A
20:15
Average Gosaste Enjoyer
In reply to this message
Oh I get it, so this serialization basically creates some kind of linked list structure from cells to be able to store any data right?
DS
20:20
Daniil Sedov
In reply to this message
You can go in two ways:
- create a bamboo-like tree of cells, where each of them have exactly 1 reference (except for the last one)
- create a regular tree, using all 4 references for all cells

Both ways are correct. First one is more simple in realisation but it will require you to parse all the cells in the worst case to retrieve only some part of data.

Second way is a bit harder to implement but you'll be able to access any part of data by parsing just log4(N) cells.
20:21
If your contract don't need to retrieve data partially and you need to get the whole array, first method is fine. Because you'll anyway parse all the cells
F
20:23
F
Hi!
Could somebody send me some TON in testnet, please? 🙏
EQDnACBW0yKjVUGkboAMxoyG05Cvhnik9crGasauD_eeqRPY
A
20:25
Average Gosaste Enjoyer
In reply to this message
Hmmm.
Nice thanks
&2
20:27
&rey 2ne:v
In reply to this message
>  - create a bamboo-like tree of cells, where each of them have exactly 1 reference (except for the last one)

Contracts have limited storage depth, so the array won't be able to have more than ~512 elements. https://ton.org/docs/learn/tvm-instructions/tvm_overview#result-of-tvm-execution
DS
20:28
Daniil Sedov
In reply to this message
Oh, thank you for clarification. I didn't know that
20:31
But tuples also have a limit - 255 elements. If you need more elements, you just nest them. So if you implement some function for storing arbitrary tuple in cell, it will work fine
20:33
Easy approach is a recursive function to store tuple in a cell. When it finds some nested tuple, just store it in the next free ref by calling that function again

I've used something like that on TSC2 for one of the tasks
AT
21:03
Alberto Tavares
Is someone else having problems defining function with asm on task 4?

I’m using
int mulmod(int a, int b, int mod) asm "MULMOD";

and it works just fine here, but I’m getting compilation error when submitting to TSC bot
&2
21:03
&rey 2ne:v
In reply to this message
Maybe this function is defined in bot's stdlib. You can try changing its name.
AT
21:04
Alberto Tavares
I see, I will try it, thanks!
AT
21:30
Alberto Tavares
In reply to this message
Didn’t work
&2
21:31
&rey 2ne:v
In reply to this message
Then compilation error may mean that bot's assembler is too old and does not contain MULMOD instruction.
h
22:24
hellxfxded
hello. i want to send external message to mainnet via "toncli fift sendboc" (ex.

toncli fift sendboc ./fift/usage.fif build/contract EQB36_EfYjFYMV8p_cxSYX61bA0FZ4B65ZNN6L8INY-5gL6w 0 0 0.01). where i should put "-n mainnet" arg?
I
22:53
Iván
In reply to this message
is there any info about the nature of the problem?
RG
22:53
Ruslan Gabdullin
In reply to this message
It was forked few days ago.
T
23:01
TON
Not stop
HP
23:23
Hermes Prime
Hi, Any developer available to help me build .ton website ? Or video tutorial that match my low level. Thanks
I
23:43
Iván
In reply to this message
so some of the nodes has not been updated yet?
6 December 2022
RG
00:02
Ruslan Gabdullin
In reply to this message
Hi, try this repo: https://t.me/tondev_eng/12135
You need to run proxy docker and your site on port 80 on the same machine
HP
00:04
Hermes Prime
In reply to this message
Hi Ruslan, Will do so thank you
К
00:10
Кутузов
image_2022-12-06_02-10-31.png
Not included, change data exporting settings to download.
85.1 KB
Hi! How I can fix this error?
he
03:07
hadi eb
Hi.
is there any article about ton tokenomic?
F
07:30
Frenchie
Any solid developers in the chat?
07:31
Any open to building something on the Ton Network together? I am 11 years in this space and interested in supporting some growth on this network.
DS
08:33
Daniil Sedov
@toncoin_chat for general questions
DS
10:24
Durga(kishan) Sharma
Screen Shot 2022-12-06 at 1.09.07 PM.png
Not included, change data exporting settings to download.
60.2 KB
looking for faucet
10:27
Could somebody send me some TON in testnet, please? 🙏
EQCSOUHMAP__5LGtCnqvqBcnsJtf_sfRkcAbpKwNwPKJ_sUJ
A
11:18
Average Gosaste Enjoyer
Hi,
Should I assume empty initial storage for smart challenge 3 tasks if it doesn't say anything?
11:33
Another question:
If I want to use a varUInteger 16 as a dict key, what key_len should I choose?
DS
11:34
Daniil Sedov
In reply to this message
Why do you need the storage in the calculator task?
11:35
In reply to this message
Just use regular integers, that's easier
A
11:35
Average Gosaste Enjoyer
In reply to this message
No I'm trying on the queue task
11:36
In reply to this message
It is an integer, I just don't know how large it may be, so should I just put 1023 as key length in dict?
DS
11:39
Daniil Sedov
In reply to this message
I think 256 bits will be enough
SV
14:56
Samuel Vivien
Hy,

I'm trying to do the smart challenge second task. However i'm currently trying to understand the part about messages. If need to send a message I need to know the target address. How am I supposed to know it ? I someone could give me a hint this would be awsome
14:57
Or is it store inside msg and I need to modify msg such that the value is correct ?
MB
15:05
Matin Badrizade
In reply to this message
In the statement it says you can send the message to any address.
Your own address or any other should do fine
SV
15:08
Samuel Vivien
As an internal or external message ? Because in Ton VM documentation I see 2 types of messages (0 or 11)
S
15:13
Saber
In reply to this message
it should be internal message
P
15:36
Pall
In reply to this message
Take stdlib from here https://raw.githubusercontent.com/ton-foundation/ton-stdlib/main/func/stdlib.fc and in code have this

```
const compileResult = await compileFunc({
sources: {
"stdlib.fc": readFileSync('../func/stdlib.fc', { encoding: 'utf-8' }),
'main.fc': readFileSync('../func/main.fc', { encoding: 'utf-8' }),
},
entryPoints: ["stdlib.fc","main.fc"],
})

```

the order of entryPoints matters , god bless ton (I've spent 2 hours on this)
NA
15:37
Narek Abovyan
there is no need to include stdlib in entryPoints
15:38
you can just do #include “stdlib.fc”; in main.fc
P
15:38
Pall
In reply to this message
does not looks so
NA
15:39
Narek Abovyan
Could you show code?
15:39
Also in the new version you can just pass function that fetches files from FS
15:39
I
15:42
Ilyar
Compact-u16

Compact-u16 Format

A compact-u16 is a multi-byte encoding of 16 bits. The first byte contains the lower 7 bits of the value in its lower 7 bits. If the value is above 0x7f, the high bit is set and the next 7 bits of the value are placed into the lower 7 bits of a second byte. If the value is above 0x3fff, the high bit is set and the remaining 2 bits of the value are placed into the lower 2 bits of a third byte.

hex | compact-u16
--------+------------
0x0000 | [0x00]
0x0001 | [0x01]
0x007f | [0x7f]
0x0080 | [0x80 0x01]
0x3fff | [0xff 0x7f]
0x4000 | [0x80 0x80 0x01]
0xc000 | [0x80 0x80 0x03]
0xffff | [0xff 0xff 0x03])

Presumably TL-B schema like this:

// compact-u16.tlb
bool_false$0 = BoolFalse;
nothing$0 {X:Type} = Maybe X;
just$1 {X:Type} value:X = Maybe X;
tail#_ b:(bits 7) next:BoolFalse = CompactU16Snaked ~0;
cons#_ {n:#} b:(bits 7) next:(Maybe(CompactU16Snaked ~n)) = CompactU16Snaked ~(n + 1);

But this is probably wrong. I will get an error on omit code generation and verbosity level

tlbc -qv compact-u16.tlb
compact-u16.tlb:6:37: error: passed an argument of incorrect polarity to `Maybe`
cons#_ {n:#} b:(bits 7) next:(Maybe(CompactU16Snaked ~n)) = CompactU16Snaked ~(n + 1);

How to describe the compact-u16 format to the TL-B schema?
MV
15:46
Michael Vlasov
/
NA
15:48
Narek Abovyan
не работает так?
15:49
попробуй залогать compileResult там ошибка должна быть
P
16:05
Pall
In reply to this message
{
status: 'error',
message: 'Func compilation error: main.fc:3:44: error: redefinition of function `recv_internal`\n' +
' () recv_internal(slice in_msg_body) impure {'
}
16:06
In reply to this message
this when I #include
but if I don't do so -
{
status: 'error',
message: 'Func compilation error: cannot generate code for function `recv_internal`:\n' +
'main.fc:6:26: error: variable does not have fixed width, cannot manipulate it\n' +
' slice ds = get_data().begin_parse();'
}


and

main.fc:11:48: error: undefined function `.end_cell`, defining a global function of unknown type
set_data(begin_cell().store_uint(total, 64).end_cell());
A
16:41
Average Gosaste Enjoyer
Guys I just solved a task but my "Itermediate place in contest table" has increased from 20 to 21.
What's going on?😐
SV
16:43
Samuel Vivien
Someone else also managed to solve something
16:44
The intermediate place for 0 point is (number of people with score > 0) + 1
16:45
Can we write mutually recursive functions in FunC ?
When I'm trying to do this I get a compilation error saying the second function is not defined in the body of the first
A
16:45
Average Gosaste Enjoyer
In reply to this message
Oh makes sense
DS
16:47
Daniil Sedov
In reply to this message
NA
17:00
Narek Abovyan
In reply to this message
а поправь чтобы как в примере
17:00
ты же на все файлы отдаешь main.fc
17:01
Oh, forgot that it’s the English chat 😁
A
17:01
Average Gosaste Enjoyer
Can I right a function f(x, y) that receives for example two variables x and y (that exist in the scope that f is called) and change their values in the whole program?

If you're familiar with c++, I need such function:
void f(int& x, int& y){
x+=1;
y+=1;
}
NA
17:01
Narek Abovyan
just try to replace this:

sources: () => readFileSync("../func/main.fc").toString()

with this:

sources: (path) => readFileSync(__dirname + '/' + path).toString()
17:02
In reply to this message
you can’t pass primitive by reference
17:02
but you can define global variables
17:25
Deleted Account
How can I sell up my username @admin
H
17:26
HSNYLMZ
Türk yokmu
MB
17:29
Matin Badrizade
In reply to this message
what does this error mean?
lvalue expression constructor is 9
fatal: cannot compile lvalue expression with unknown constructor

edit:
sorry, didn't mean to reply
M
17:35
Max
In reply to this message
you are probably trying to modify a global variable not through assignment but by something like global_var~modifying_function();

if this is the case, either change your code not to use this global variable, or do this modification using a temporary variable
S
17:38
Saber
for the first task, as far as I know tpush has limit of 255 elements, and I think in one of the cases my algorithm face this limit, any suggestion or alternative to use?
M
17:38
Max
In reply to this message
nested tuples
MB
17:40
Matin Badrizade
In reply to this message
I want to have a dictionary and I don't want to pass it around to functions, I definitely want to change it's content if necessary, so you're saying I must use local variables?
Also if I can't change its content, why is it called a global "variable"?😂
M
17:41
Max
In reply to this message
well I faced exactly that error 5 minutes ago and couldn't figure out a way to use global vars with modifying functions
I, too, didn't want to pass it around
you can change the content like so global_var = ...; and probably with operator assignemnts like +=, *= etc but it seems that right now you can't use modifying functions on global vars
17:44
my guess as to why would probably be because global variables are not on stack usually, they are put onto the stack with GETGLOB and are set back into globals using SETGLOB, and I guess func can't figure out that it needs to GETGLOB the global before modifying function and then SETGLOB it back
17:45
but idk what I'm talking about, could be something way different
MB
17:53
Matin Badrizade
In reply to this message
global cell a;
() main(){
a = new_dict();
int x = 5;
cell msg = begin_cell().store_uint(0x10, 6).end_cell();
a = udict_set_ref(a, 32, x, msg);
}

that one compiles fine, but for some reason, this one won't:

global cell a;
() main(){
a = new_dict();
int x = 5;
cell msg = begin_cell().store_uint(0x10, 6).end_cell();
a~udict_set_ref(32, x, msg);
}
17:54
In reply to this message
Anyone know the difference?
M
17:55
Max
In reply to this message
I actually tried the first one but when there's a multiple assignment using a global var like (global, local1, local2) = ... then it doesn't work too
17:55
maybe the second one translates into (a) = udict_set_ref which involves tensor unpacking too and maybe that causes the issue
NN
18:17
Nick Nekilov
In reply to this message
SV
18:20
Samuel Vivien
I saw a ~debug that dumps the value. Is there a ~print that dumps a slice by interpreting it as a string ?
M
18:23
Max
In reply to this message
there's ~strdump
A
18:26
Average Gosaste Enjoyer
Do you know any good documentation about how to handle strings in func?
(How to read them, how they're represented, etc.)
M
18:27
Max
In reply to this message
Description of task3 contains a link to docs where you'll find that
A
18:41
Average Gosaste Enjoyer
In reply to this message
I read that and understood nothing😂
I probably should first choose which string type to use (which I don't know yet), in order to be able to have random access to i'th character and also have it's size.
Also I don't know how to read and store this string from an internal message to my program.
Do you know any code examples?
M
18:42
Max
so have you seen the Snake string type or not?
A
18:44
Average Gosaste Enjoyer
In reply to this message
You mean like:
"Blah blah"s
?
18:48
In reply to this message
?
M
18:48
Max
In reply to this message
well here is an example of a string representation from documentation
this one is a format used for "simple comment transfers" i.e. transfers of TON with just a string comment
root_cell("0x00000000" - 32 bit, "string" up to 123 bytes)
↳1st_ref("string continuation" up to 127 bytes)
↳1st_ref("string continuation" up to 127 bytes)
↳....

the 0x00000000 is the op which you don't need if you just want a string
it does not provide random access however, and really I don't know what you could do to get random string access - we don't really have arrays in func
unless your string is <=255 chars long, then you can parse it into a tuple and get chars using indices
another (ugly) solution would be a dictionary that contains keys as indices and chars as values
k
19:50
kevin
hello guys, we are looking for a Russian CM for our project, if any buddy here interested to work with us, send me a DM
D
20:56
Diako
I need to save data with this struct
userAddress => intValue
can i use Hashmap ?
NN
20:59
Nick Nekilov
In reply to this message
You can, but if it’s supposed to have many users you should avoid sticking this approach.
D
21:00
Diako
In reply to this message
so what should i do for many users ?
BK
21:00
Bahram KESHAVARZ
In reply to this message
Hello buddy
How is membership and collaboration with your project?
NN
21:01
Nick Nekilov
The approach is used for jettons. A separate contract for each user.
BK
21:17
Bahram KESHAVARZ
Friends, did you ask about the sale of Telegram usernames here or not?
21:18
Deleted Account
Hi guys. I started to learn FunC. I'm onboarding now. I'm reading https://blog.ton.org/func-journey this article and found link to instruction to install toncli. In that instruction they wrote that I shoud download .dll from here: https://disk.yandex.ru/d/BJk7WPwr_JT0fw. Seriously in yandex disk?! Is it scam? Where can I find the official guide to install func or should I compile it by myself?
AT
21:33
Andrey Tvorozhkov
In reply to this message
👋, you can download libcrypto wherever you want, this is just example. You can provide an official link to openssl website or other official place where it can be founded. The docs of toncli is open source, so feel free to contribute

I'm not pro-windows user (prefer ArchLinux, you know, it's much easier to develop on it), so that's why I've provided link to yadisk. Also you can use docker image of toncli, it’s easier to run toncli on windows from it: https://github.com/Trinketer22/func_docker
К
21:53
Кутузов
Hi! Where I can get free ton for test? Testgiver doesn't work for me(
M
22:11
Mark Okhman on TON
In reply to this message
22:12
In reply to this message
or you could use this repo, it references to compiled binaries ready to use https://github.com/ton-defi-org/tonstarter-contracts
h
22:23
hellxfxded
In reply to this message
does this boilerplate have embedded functions to send dictionaries in messages to smart?
SM
22:52
Saulis Meiris
Hello. What is the TON contract.
D
22:59
Diako
do i need implement function for withdraw balance of contract ? or deployer have access to withdraw ?
DS
23:00
Daniil Sedov
In reply to this message
?
7 December 2022
DG
00:23
Draco Gram
In reply to this message
This is a software program written in FunC language and deployed on TON Blockchain. It can contain not only data like is found on a distributed ledger of payment transactions but also it can contain executable code and business rules that act on that data. It runs within the TON Virtual Machine.
00:24
If you had a smart contract representing a vending machine it would not only keep track of the amount spent but contain the rules and logic of what item should be dispensed for what amount of TON Coin is the classic example.
V
00:24
V
hello, how can I check send_raw_message using ton-cli tests?
V
00:41
V
In reply to this message
tnx ^^
I
00:44
Iván
Hey guys, testnet is still down?
D
01:48
D a v i d e
In reply to this message
what can be the problem
B
02:04
Boogie.man.07
It seems that good news! Just checked again my test wallet balance and tons was there + tried to deploy contract to testnet and all succeeded! It seems that finally it's up again! 🙂
V
02:33
V
Guys, is there any library or documentation for working on Strings?
NN
03:27
Nick Nekilov
In reply to this message
DS
09:01
Durga(kishan) Sharma
Any idea:
thrown: "LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted
Cannot run message on account: inbound external message rejected by transaction
i
09:16
isoscele 💎
In reply to this message
Maybe check your PC clock time
DS
09:31
Durga(kishan) Sharma
Time is correct
DP
09:58
Dead Pool
any one from kerala
j
10:09
jessez
In reply to this message
testnet?
DS
10:56
Durga(kishan) Sharma
In reply to this message
Yes
j
11:00
jessez
In reply to this message
This is "normal". Last week(?) the testnet is very buggy. You should handle this error and run the code further if u can
DS
11:01
Durga(kishan) Sharma
I failed to make transaction:
thrown: "LITE_SERVER_UNKNOWN: cannot apply external message to current state : External message was not accepted
Cannot run message on account: inbound external message rejected by transaction E5AE823F3A9F3070FCB9CB215F14B4D890B23520FF90CBFFED3A3625CC5A3E78:
exitcode=33, steps=33, gas_used=0
VM Log (truncated):
...OW
execute XCHG s1,s3
execute LEQ
execute THROWIF 35
execute PUSH c4
execute CTOS
execute LDU 32
execute LDU 32
execute LDU 256
execute ENDS
execute XCPU s3,s2
execute EQUAL
execute THROWIFNOT 33
default exception handler, terminating vm with exit code 33
"
11:01
11:02
In reply to this message
I got this error in below line
const response= this.api.provider.sendBoc(boc);
К
12:49
Кутузов
Hi! Can someone help me to fix this error, please?
12:49
image_2022-12-07_14-49-37.png
Not included, change data exporting settings to download.
97.0 KB
12:49
image_2022-12-07_14-49-37.png
Not included, change data exporting settings to download.
149.1 KB
12:58
toncli deploy -n testnet
D
14:25
Diako
i get transactions of my contract
and there is "data" field
how can i decode this field ?
S_
14:53
Sponsor _Volks _Nelly
Hello I have a telegram account that I have been using for business adv. Please how do I start registering for ton
D
15:14
Damien
Hello, I am always getting this error

Check that correct include path is set by -I or by FIFTPATH environment variable, or disable standard preamble by -n.

Fiftlib is installed in /usr/local/lib/fiftlib/
M
17:29
Mikhail
In reply to this message
pls
KK
17:41
Kobe 24 / 8 Karym ♌️
Hi
17:42
Is the maintenance of toncli deploy -n testnet finish ?
h
17:49
hellxfxded
how can i send boc(via toncli fift sendboc) in mainnet to highload wallet?
A
18:23
Average Gosaste Enjoyer
Is % the regular modulo operator?
D
20:01
Damien
FATAL ERROR: 'func' with version >= 0.2.0 executable is not found, is it installed and in path?

Please help
AR
20:07
Asad R
Hello everyone!
What does "Is inited" means in toncli? Is it necessary to be "true" for deployment?
A
20:11
AntonIX
In reply to this message
Thats mean that code was not uploaded to blockchain.
20:11
I guess
AR
20:12
Asad R
so when I deploy smartcontract it will be "true"?
AR
20:31
Asad R
Got those errors, while trying to deploy smart contract.

I guess there is some problem with lite-client, but I don't know what exactly I need to do?
k
21:16
kirpi
hey there, could i create phone number as a simple user on TON network
A
21:24
Average Gosaste Enjoyer
Check `ptr && "deferencing null Ref"` failed
what does this error mean guys?
H
21:28
Hacker Hills
Hello everyone, did someone see the contract by numbers with their eyes?
D
22:03
Diako
in tonweb, there is "cell.bits.writeBytes" function.
but in ton libaray there not writeBytes function.
what should i do ?
22:11
In reply to this message
i use this, and i think it's work !

cell.bits.writeBuffer(Buffer.from(serializeUri(uri)));
8 December 2022
zs
03:40
zerx sees
Is there any c# library or sdk for the ton network api calls?
DG
08:51
Draco Gram
In reply to this message
I don't know of any but you might be able to use https://ironpython.net
I
09:44
Ivan
How to create cell from text in ton-contract-executor? Should I use bocToCell()?
D
15:03
Damien
[ 1][t 1][2022-12-08 11:57:41.316944][lite-client.cpp:153][!testnode] liteserver error: [Error : 0 : cannot apply external message to current state : Failed to get account state]
[ 1][t 1][2022-12-08 11:57:41.317123][lite-client.cpp:165][!testnode] fatal error executing command-line queries, skipping the rest
15:03
Hello, I get this error when deploying on testnet with toncli. Any ideas?
A
15:48
AntonIX
In reply to this message
Do you find answer?
AR
15:48
Andy Russo
no
A
16:55
Average Gosaste Enjoyer
What is the mod operator in funC?
Like this:
13 modulo 5 = 3
16:55
% gives me errors
d
17:01
doni
(int) math::mod (int x, int y) asm "MOD”;
17:01
math::mod(int x, int y)
17:02
this taken from tonoxDefi lib
A
17:07
Average Gosaste Enjoyer
In reply to this message
Ummm,
Isn't there anything in stdlib?
I just want to add two numbers then take modulo some prime :(
But thanks!
d
17:28
doni
in general this means the the opcode MOD exists
wehter it is a part of stdlib or not is a differnet story ( i guess it should be but it doesnt)
and you can declare any opcode if you want
17:29
to find out more data on the op code it self ,
i look at the big project
17:30
you can search the opcode itslef and find the cpp implemntaion
A
18:02
Average Gosaste Enjoyer
Does the following code swap values of a and b? (Both ints)
(a, b) = (b, a);
S
18:10
Step
is there any group for tonjs library related discussion?
18:19
const { compileContract } = require("ton-compiler");
const fs = require("fs");


(async () => {

let result = await compileContract({ files: ['counter.fc'], stdlib: true, version: 'latest' });
if (result.ok) {
console.log(result.fift); // Compiled Fift assembler
console.log(result.cell); // Compiled cell Buffer
} else {
console.warn(result.logs); // Output logs
}
})();
n
18:53
nocriz
I have a global variable

global slice expressionToParse;

why is

slice ca = expressionToParse;
cell cb = ca~load_ref();

compiable but

cell cb = expressionToParse~load_ref();

not?
18:53
Can anyone help me out?
S
19:04
Step
how to convert fift to cell/binary using ton-compiler library?
NA
19:05
Narek Abovyan
What do you mean?
S
19:07
Step
In reply to this message
@Narek this code is giving fift output. how to convert to cell?
NA
19:08
Narek Abovyan
there should be “cell” field
S
19:08
Step
In reply to this message
not there
NA
19:08
Narek Abovyan
In reply to this message
> console.log(result.cell);
19:09
this one
19:09
.output is cell?
19:10
all tutorials and docs are outdated not sync with current version of library. 😫
NA
19:10
Narek Abovyan
hm
19:11
Could you try this one?
Should be OK

https://github.com/ton-community/func-js
S
19:12
Step
In reply to this message
NA
19:12
Narek Abovyan
looks like output is what you need
19:12
it’s a BOC
S
19:14
Step
In reply to this message
it is what i need to deploy as smart contract?
NA
19:14
Narek Abovyan
It’s the code of your contract
19:15
You combine that with data and deploy to the network
S
19:16
Step
In reply to this message
init data?
NA
19:18
Narek Abovyan
Yep
wh
19:42
whiki / holders
How do I create my ton wallet address?
a
20:05
armin
hi when i use' toncli deploy -n testnet' or any other commands recive this error can somone help me with this??
U
21:21
Un gars bien
In reply to this message
Getting thesame issue 😞
D
21:42
Dr. T
Looking for a strong recruiter within web3 that can scout for an ideal technical co-founder. The recruiter most have technical experience as well.

If that's you, please reach out.
D
23:17
Dani
Hey Guys,
Two 2 questions:
1. Are there any working marketplaces for TON ?
2. Is there an example smart contract (ERC721 - NFT like) somewhere ?
Thanks!
JD
23:19
John Doe
In reply to this message
D
23:23
Dani
ah, funC will not be my fav.
23:23
😄
23:23
veery diff to any i've seen so far, maybe except lip
23:23
lisp
9 December 2022
T
00:42
The queen of Galilee
Hello
DZ
00:46
Denis Zhbankov
In reply to this message
why not look for an ideal cofounder straight away? 🙂
U
00:50
Un gars bien
In reply to this message
solved this ?
SD
00:57
Sage Dozzy
Also looking for a savvy co-founder that will join me in a project i’m building on Ton Blockchain
F
00:58
Farmer
funC support BLS?
00:59
or only ed25519?
AP
01:32
Andrey Pfau
In reply to this message
Only ed25519
FI
05:43
F Imo
In reply to this message
Can you repond me in prv?
해박
06:47
해성 박
Hello, how to run full node? I have installed mytonctrl, but the status seems to be out of sync.
T
07:16
Tim
In reply to this message
You need to start from dump
07:17
해박
07:26
해성 박
In reply to this message
thank you. I’ll try it
TC
07:35
Tran Chinh
hello guys
I have a problem when run func in terminal
what should I do
(Sorry if it's stupid question, I'm a newbie)
N
07:37
Nick
go settings, secure, than u can find notification about it, u should press "allow" or something like this
TC
07:39
Tran Chinh
ty bro
a
08:07
armin
In reply to this message
not yet
D
09:02
Dr. T
In reply to this message
We obviously do as well, but get too many inquiries that aren't very serious for the size and technical scope of the project, when searching in chats like these.
SD
09:40
Sage Dozzy
In reply to this message
Depends on what you are building
EA
09:56
Elshad Aghazade
hey everyone. Who can check testnet? I think testnet is down!
A
11:54
Average Gosaste Enjoyer
hi,
I'm recently getting this error while using glitch to compile, I understand that I should define the FIFPATH variable, does anyone know the value I should put inside it?
S
12:13
Step
what does this error mean?

i tried to deploy counter.fc smart contract a tutorial by tal kol it shows above error in transaction lookup.
KK
12:31
Kobe 24 / 8 Karym ♌️
Hi guys , I wish to export FIFTPATH to the tonstarter contract. How do we proceed pls
DZ
12:37
Denis Zhbankov
In reply to this message
Do you have at least a short description of the role you're searching for? and the project
12:37
In reply to this message
Same question for you, Sage
SD
12:40
Sage Dozzy
In reply to this message
Searching for a co founder with good knowledge about the ton blockchain, nodes and smart contracts
DZ
12:48
Denis Zhbankov
In reply to this message
I don't think anyone would consider such a description seriously. It's like "I need a doctor with good knowledge about pills, tablets and capsules" 🙂 No offense, just trying to help.
SD
13:00
Sage Dozzy
In reply to this message
I need a cofounder that will be part of my team, someone technical with Ton Blockchain, Nodes and APIs
S
13:03
Step
In reply to this message
co founders are busy in fragment auction
SD
13:04
Sage Dozzy
In reply to this message
The whole 630 developers online here are busy with fragment?
S
13:04
Step
here i need to scream like 10times to receive a reply on my help request.
13:05
In reply to this message
ton foundation has 630 devs?
SD
13:09
Sage Dozzy
In reply to this message
I’m not requesting for ton foundation developers, I’m looking for a dev here interested in joining our team
S
13:09
Step
In reply to this message
main library has no documentation at all if even there something its outdated.
C
14:27
Cpperg
In reply to this message
Are you looking for developers?
EA
14:58
Elshad Aghazade
In reply to this message
set FIFTPATH environment variable before the compilation
f
19:54
fraffo
hello, how can i buy a telegram nft number without using tonkeeper?
19:54
i don't want to install a wallet on my phone, with the dns auction i can place bet with every wallet, just a comment is needed
S
19:57
Step
In reply to this message
auction or for sale or random? which one you are trying to buy?
20:03
In reply to this message
i think only for sale number you can buy without tonkeeper.
random requires special payload message.
M
21:13
MysteryMan
Hello! I have now staked my TONCOIN coins and just started GPU mining too! :) But what this command does: eth_stratum_mode=nicehash
l
21:14
lookin
In reply to this message
Tonkeeper is the only option.
S
21:15
Step
In reply to this message
can not do with ton js library?
21:19
if anybody know please tell how do we send payload like this
te6ccgECBQEAARoABLlGNyibmVnFmqheUamvMdfWIC7-uqFkFD0k2iA05HJ-CH_SamsTw3DDg_SPm_H2XhVftF0NTOQuxymeZQAdiFeKaJboAgAAAAxjk3taY5N78As4ODgwMjQ2MTU3M-ABAgMEAGIBaHR0cHM6Ly9uZnQuZnJhZ21lbnQuY29tL251bWJlci84ODgwMjQ2MTU3My5qc29uAGuACBG0dlFtgMtLJ8IHIk03VVOL8ZXXgY07PhVXdWVTJK1qBDDiNACgQw4jQACgAAHCAAEnUBAASwAFAGSACBG0dlFtgMtLJ8IHIk03VVOL8ZXXgY07PhVXdWVTJK1wAEPADQI3rPgO9gUnvwzGpO45tZYhpv65B-VhYVPO8WySTv-0 in ton transaction using ton js library?
l
21:20
lookin
In reply to this message
You can always avoid using Tonkeeper with fragment, but in that case you have to do a mumbo-jumbo dance.
S
21:28
Step
In reply to this message
?
21:30
Is this a dev chat or sleeping hall? 😴
d
21:43
doni
In reply to this message
checkout toncenter wagger page
and use
sendboc endpoint
f
21:49
fraffo
In reply to this message
The One that allows me to use any wallet
S
21:58
Step
In reply to this message
payload has nothing to do with normal transaction?
22:02
In reply to this message
{"version":"0","body":{"type":"sign-raw-payload","params":{"valid_until":1670609904,"messages":[{"address":"EQAOQdwdw8kGftJCSFgOErM1mBjYPe4DBPq8-AhF6vr9si5N","amount":9000000000,"payload":"te6ccgECBQEAARoABLlGNyibmVnFmqheUamvMdfWIC7-uqFkFD0k2iA05HJ-CH_SamsTw3DDg_SPm_H2XhVftF0NTOQuxymeZQAdiFeKaJboAgAAAAxjk3taY5N78As4ODgwMjQ2MTU3M-ABAgMEAGIBaHR0cHM6Ly9uZnQuZnJhZ21lbnQuY29tL251bWJlci84ODgwMjQ2MTU3My5qc29uAGuACBG0dlFtgMtLJ8IHIk03VVOL8ZXXgY07PhVXdWVTJK1qBDDiNACgQw4jQACgAAHCAAEnUBAASwAFAGSACBG0dlFtgMtLJ8IHIk03VVOL8ZXXgY07PhVXdWVTJK1wAEPADQI3rPgO9gUnvwzGpO45tZYhpv65B-VhYVPO8WySTv-0"}],"response_options":{"callback_url":"https:\/\/fragment.com\/tonkeeper\/rawResponse?id=BUkffmawEhmx2Uboh2NWuMiD&qr=1","broadcast":true},"expires_sec":1670609904}}

when tonkeeper scans qr code it gets this response from the fragment.
d
22:22
doni
yes
thats the boc fragment genrates and sends to the tonkeepr wallet for signing
22:23
the user signs the transaction in the wallet , and the wallet publishes the transaction
22:30
In reply to this message
here no stateInit ? Ton.base64ToCell(message.stateInit),
22:32
only documentation we have is, just looking at source codes. 🤣
10 December 2022
B
04:23
BURINI TeamMobile
In reply to this message
help please
04:25
I called @andreypfau In private and he blocked me, I just need some help, nothing more
04:26
I can't talk to any admin
B
05:37
BURINI TeamMobile
administrators do not respond, I have a problem with a bridge, but no one responds
I
06:52
Ilja
Hey guys, is there a way to see how many username and number NFTs were created in total? I checked several explorer but couldnt find any numbers
KW
09:01
King WANG
I have the same problem @Kash1988
N⁢
09:26
Neo... ⁢
What is the best way to add logs in FunC for testing?
KK
10:32
Kobe 24 / 8 Karym ♌️
In reply to this message
Thanks, please sorry for disturbing . How do we set the FIFTPATH environment ??
10:35
In reply to this message
S
10:35
Step
In reply to this message
better to try ton-compiler?
10:39
In reply to this message
if you are on windows
goto my computer » properties » advanced system settings » environment variables » new » variable name FIFTPATH variable value absolute path to folder that contains fift executable
KK
10:50
Kobe 24 / 8 Karym ♌️
In reply to this message
👌🏾
AS
12:08
Abdoul Sidibe
♥️
A
12:31
Antoxa
Hello everyone, how do I get the coin rate according to the API?
U
12:33
Un gars bien
Hi! just viewed this and got some questions about FunC dictionaries :

1) Can we indefinitely add key/value pairs to a dictionary ? If no what's the limit ?

2) Does FunC supports nesting a dictionary in a dictionary (like in Python) ? Something like :

dict test {
id1 : value1,
id2 : value2,
id3 :
id31 : value31,
id32 : value32,
id33 :
id331:value331
}
I
15:45
Ilja
Is there anybody from fragment who could help with some questions about anonymous numbers?
M
16:01
Max
In reply to this message
1) your kv pair count would be limited by the key length. Say you choose key length 4 (bits) for your dict, that gives 2^4=16 possible keys, therefore 16 possible kv pairs

2) I guess so, since func dictionaries are represented by cells, and you can store cells in dictionaries (although I would probably recommend *_set_ref primitives for that, it might not be necessary however). However, I believe there is a 1024 cell depth limit, so be careful not to hit that.
11 December 2022
MI
09:30
Md Zaan Islam
Hi
EA
09:55
Elshad Aghazade
In reply to this message
https://github.com/ton-defi-org/ton-binaries

from this source download the binaries which version is appropriate to your operating system and put them into the same folder
09:57
In reply to this message
and later download the zip file from this link: https://github.com/ton-defi-org/ton-binaries/releases/download/fiftlib/fiftlib.zip
unarchive and put the extracted folder to somewhere. And now you can set FIFTPATH environment before the compilation. Just type in the terminal: export FIFTPATH=[path to your extracted folder]