You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/src/framework/components/blockchains/ton.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,15 +28,18 @@ The genesis container supports additional environment variables that can be conf
28
28
The custom_env parameters will override the default genesis container environment variables, allowing you to customize blockchain configuration as needed.
29
29
More info on parameters can be found here <https://github.com/neodix42/mylocalton-docker/wiki/Genesis-setup-parameters>.
30
30
31
+
## Network Configuration
32
+
33
+
The framework provides seamless access to the TON network configuration by embedding the config URL directly in the node URLs. The `ExternalHTTPUrl` and `InternalHTTPUrl` include the full path to `localhost.global.config.json`, which can be used directly with `liteclient.GetConfigFromUrl()` without additional URL formatting.
34
+
31
35
## Default Ports
32
36
33
37
The TON implementation exposes essential services:
34
38
35
39
* TON Simple HTTP Server: Port 8000
36
40
* TON Lite Server: Port derived from base port + 100
37
41
38
-
> Note: `tonutils-go` library is used for TON blockchain interactions, which requires a TON Lite Server connection. `tonutils-go` queries config file to determine the Lite Server connection details, which are provided by the MyLocalTon Docker environment.
39
-
42
+
> Note: `tonutils-go` library is used for TON blockchain interactions, which requires a TON Lite Server connection. The framework embeds the config URL directly in the node URLs for convenient access to the global configuration file needed by `tonutils-go`.
DefaultTonHlWalletMnemonic="twenty unfair stay entry during please water april fabric morning length lumber style tomorrow melody similar forum width ride render void rather custom coin"
23
+
24
+
liteServerPortOffset=100// internal, arbitrary offset for lite server port
0 commit comments