Hi all, i'm building a mini app for our oracle project via react.js / tonconnect-ui, however, is there anyone knows how can i sign our custom payload with private key as metamask does?

Jan 27, 2024, 4:32 PM
There's no signing custom payloads beyond once on login (tonProof).
It may be implemented in future, though.
Jan 27, 2024, 7:54 PM
Hello. I made a twitter thread in my local language and posted the link in TON society group. It was deleted. So, I asked for reason. They said it is not meeting the requirements. Then I asked about requirements. I was banned. Why is that?  😑😑.
Jan 27, 2024, 9:08 PM
Thanks for your answer, hoping that thay can introduce this feature. I want to bind telegram user to their own wallet address, so user need to prove that they have the control to their private key. Is there any alternatives?
Jan 28, 2024, 4:18 AM
Ton-proofs from TON Connect.
Jan 28, 2024, 8:44 AM
Is there any usecases for productions with python that can verify the proof is valid?
Jan 28, 2024, 8:54 AM
https://docs.ton.org/develop/dapps/ton-connect/sign
Jan 28, 2024, 8:55 AM
Same inquiry here
Are there any library that is similar to signMessage in eth
Hope to hear what you guys are building
Jan 31, 2024, 3:42 AM
I want to link wallet to a user in our app.

I solved it by ton proof and telegram init data hash verification. I implemented a miniapp backend with python which can extract telegram init data from custom header that send from my react frontend.

Then, after checking the header is valid, I get telegram user id from the init data string. Furthermore, I use pytonconnect to generate a ton proof payload, which will be signed later by wallet.


Last but not least, I return the redirect url which is generated from pytonconnect. Sending it directly to the frontend and ask user for clicking that link.

After clicking the link, wallet app will open with ton proof signing prompt. If user clicks confirm then the backend will receive the singed message. Then I can check the validity of this payload and update the relation of user and received wallet addresses.
We’re building first pure decentralized oracle on TON, if you’re interested in the mechanism, please check this channel 🥰

https://t.me/TictonOfficial
Jan 31, 2024, 8:05 AM
I highly doubt that it's the first.
Also, is it intentional that docs are buried in the messages?
Jan 31, 2024, 10:38 AM
We proudly refer to ourselves as the first pure decentralized oracle because our protocol is capable of obtaining the latest asset values with minimal error. The term 'pure' in this context means that there's no need for running an additional decentralized network for quoting or pricing, nor is there a requirement for liquidity pools to obtain a lagged price weighted average.

Regarding our documentation, we are currently in the process of creating more visually appealing document images to facilitate intuitive understanding. The style is likely to be similar to our brief explanatory videos. We plan to release this alongside our mini app and appreciate your patience in the meantime.

At present, we are learning how to effectively manage our community and have plans in place. Our hope is to soon gather a group of professional developers like yourself to help us identify potential vulnerabilities in our protocol, allowing us and the TON blockchain to grow together.
Jan 31, 2024, 1:52 PM
👋 everyone, this is our 2-minute quick understanding video about the quotation mechanism. Those interested can take a look.
Jan 31, 2024, 2:13 PM

© 2024 Draquery.com All rights reserved.