Improve visibility and accuracy of Tron Gas-Free configuration
Created by: ihsraham
Description
This PR addresses feedback regarding the discoverability of critical connection details for the Tron Gas-Free module. It creates a dedicated reference table for Service Providers and corrects inaccurate placeholder data in the configuration examples based on official gasfree.io documentation.
Changes
1. Content & Accuracy (sdk/wallet-modules/wallet-tron-gasfree/configuration.md)
- New Section: Added a "Network & Service Providers" table at the top of the page. This pulls critical RPC and Gas-Free URLs out of code comments and into a visible reference.
-
Data Correction:
- Updated Nile Testnet
chainIdfrom3448148to3448148188. (The GasFree service strictly requires this EVM-compatible ID for Nile; the standard ID returns an "unsupported chain" error). - URLs: Updated Provider URLs to match the official GasFree Spec v1.0.2:
- Mainnet: https://open.gasfree.io/tron/
- Testnet: https://open-test.gasfree.io/nile/.
- Contract: Updated Mainnet Verifying Contract to
TFFAMLQZybALab4uxHA9RBE7pxhUAjfF3U.
- Updated Nile Testnet
The changes have been been done in line with the GasFree Spec doc.
Why?
- Visibility: Developers were missing critical connection details buried in code snippets.
- Correctness: The previous testnet examples used incorrect endpoints that would fail in a real integration.
-
Feedback: Directly addresses feedback from @raigal-r regarding the domain inconsistency (
.comvs.io).
Verification
-
Local Testing: Verified connection to Nile Testnet locally. Confirmed that using the correct
chainId(3448148188) allows for successful address generation, whereas the previous ID failed. - Table Rendering: Verified the new Providers table renders cleanly with correct columns.
-
Links: Verified
https://open-test.gasfree.io/nile/matches the official spec. - Copy/Paste: Verified code blocks copy correctly with the updated contract addresses.
-
Misc: Fixed "Gras-Free" typos in
README.md.
Mentions
CC: @raigal-r - Addressed the feedback regarding provider visibility and domain fixes.
Requesting @gatteo and @jonathunne for review.
- To see the specific tasks where the Asana app for GitHub is being used, see below: