Skip to content

Conversation

@jadepark-dev
Copy link
Contributor

@jadepark-dev jadepark-dev commented Sep 5, 2025

This PR updates the framework behavior around TON blockchain, to return lite server configuration file directly. API Client can use the URL directly without appending config json file path.


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The updates improve the interaction with the TON network by embedding the configuration URL directly into the node URLs. This simplification allows for easier access to the TON network configuration, making it more straightforward for developers to use tonutils-go for blockchain interactions without additional URL formatting.

What

  • book/src/framework/components/blockchains/ton.md
    • Added a section on Network Configuration to explain the embedding of the config URL in node URLs.
    • Adjusted the note about tonutils-go library usage to reflect the new method of accessing the global configuration file.
  • framework/.changeset/v0.10.21.md
    • Created a new changeset file to document the update regarding the embedding of LiteServer configuration.
  • framework/components/blockchain/ton.go
    • Modified node URLs to include the full path to localhost.global.config.json for direct use.
    • Removed commented-out code and updated comments to align with the changes.
  • framework/examples/myproject/smoke_ton.toml
    • Removed unnecessary environment variables related to the embedded file HTTP server, as the framework now handles the configuration embedding.
  • framework/examples/myproject/smoke_ton_test.go
    • Updated the test to remove unnecessary URL formatting when accessing the TON network configuration, leveraging the direct inclusion of the config path in the node URLs.

@jadepark-dev jadepark-dev marked this pull request as ready for review September 8, 2025 12:33
@jadepark-dev jadepark-dev requested a review from a team as a code owner September 8, 2025 12:33
@skudasov skudasov merged commit cd13344 into main Sep 8, 2025
72 of 74 checks passed
@skudasov skudasov deleted the ton/include-liteserver-config-url branch September 8, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants