Hi there. I installed Full Node with mytonctrl. I couldn't find however how to connect to my full node. What's RPC endpoint, the port? There is no word about it in documentation.
Jan 14, 2024, 7:53 PM
What exactly do you want to connect to your node?
If it's lite-client, then command mytonctrl -> installer -> clcf will help you
If it's lite-client, then command mytonctrl -> installer -> clcf will help you
Jan 14, 2024, 8:02 PM
I have my node.js app where I connect to TON network through the https://toncenter.com/api/v2/jsonRPC endpoint. Now I set up my own full node and want to use it to integrate my app with TON blockchain. Hence I need my full node api json RPC endpoint but there is no word about how to access it. Unless full node (mytonctrl) does not offer RPC endpoint for some reason?
"liteservers" include item with ip port and id. What is the full node rpc endpoint full url? Simply IP:PORT or IP:PORT/api/v2/jsonRPC or something else (for mytonctrl)?
Jan 14, 2024, 8:32 PM
You can connect to a node using only ADNL over TCP
To create an entry point like toncenter you need to raise your local ton-http-api
This can be done in two steps:
1. Update mytonctrl to version 2:
MyTonCtrl> update mytonctrl2
2. Install the required module:
MyTonCtrl> installer
MyTonInstaller> enable PT
To create an entry point like toncenter you need to raise your local ton-http-api
This can be done in two steps:
1. Update mytonctrl to version 2:
MyTonCtrl> update mytonctrl2
2. Install the required module:
MyTonCtrl> installer
MyTonInstaller> enable PT
Jan 14, 2024, 9:06 PM
MyTonCtrl> update mytonctrl2
Error: update error: You are on https://github.com/None/None/tree/mytonctrl2 remote url, to update to the tip use `update https://github.com/None/None/tree/mytonctrl2` command
A little bit confusing. Shall I run
update https://github.com/None/None/tree/mytonctrl2
Error: update error: You are on https://github.com/None/None/tree/mytonctrl2 remote url, to update to the tip use `update https://github.com/None/None/tree/mytonctrl2` command
A little bit confusing. Shall I run
update https://github.com/None/None/tree/mytonctrl2
When I try to enable PT I get this problem https://github.com/ton-blockchain/mytonctrl/issues/140
Do you know how can I run the node with linked patch-2 to solve the issue?
Do you know how can I run the node with linked patch-2 to solve the issue?
Local validator out of sync: 6 s
How to read this? Docs says:
"When it falls below 20, the validator is synchronized."
For example, if my full node is out of sync 15 s, will my transaction sent to my full node be handled / forwarded to validator immediately or after 15 s?
How to read this? Docs says:
"When it falls below 20, the validator is synchronized."
For example, if my full node is out of sync 15 s, will my transaction sent to my full node be handled / forwarded to validator immediately or after 15 s?
Jan 14, 2024, 11:13 PM
It looks like a bug. You need to run this: update https://github.com/ton-blockchain/mytonctrl/tree/mytonctrl2
Out of sync should be less than 60s
Jan 14, 2024, 11:53 PM
This worked. I was able to enable PT. Now, what is the endpoint for RPC for my full node? IP:PORT or IP:PORT/api/v2/jsonRPC or something else?
What is the risk of having MEV bots on TON? Will sandwitch attack be possible? Can the block order be set by any actor or service? will it be ever possible in the future?
Does TON have a mempool-like place to read TXs info before they reach validator?
Jan 15, 2024, 12:29 AM
Did you install it after the update to mytonctrl2?
The api should be available on 8000 port. Also, check the service with command sudo service ton-http-api status
The api should be available on 8000 port. Also, check the service with command sudo service ton-http-api status
Currently, no. You may do it manually
Jan 15, 2024, 1:39 AM