Blog Post
Read our latest blog posts and stay updated with the latest trends and insights in the blockchain industry.
Explore a wide range of topics and discover valuable information that can help you enhance your knowledge and skills.
By Chaingateway
Feb 18, 2025
We are excited to announce that password-protected wallets are now available for Tron on ChainGateway! 🎉 This long-awaited feature enhances security by encrypting private keys, preventing exposure, and making transactions safer than ever.
Until now, Tron wallets created through our API would return the private key in the response. While this method works for temporary addresses, it is not ideal for long-term security. With our new password-protected wallets, private keys are stored in an encrypted format—only accessible with your password.
When creating a Tron wallet via our API, you can now provide a password parameter. Instead of returning the private key, we store it securely and encrypt it using multiple internal security mechanisms. Key Benefits:
✅ No more exposed private keys in API responses ✅ Stronger security when sending transactions—just use your password instead of the private key ✅ Easier wallet management with password updates and private key retrieval How to Create a Secure Tron Wallet
Creating a password-protected Tron wallet is as simple as making a POST request with a password parameter:
curl --request POST \
--url https://app.chaingateway.io/api/v2/tron/addresses \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"password": "your_secure_password"
}'
Example Response:
{
"status": 201,
"ok": true,
"message": "Address created",
"data": {
"address": "TAbcd1234efgh5678ijkl9012mnop3456qrst7890"
}
}
🔹 Notice: The private key is NOT included in the response. Instead, it is stored securely. Sending Transactions Using a Secure Wallet
When making transactions from a password-protected wallet, simply use your password instead of a private key:
curl --request POST \
--url https://app.chaingateway.io/api/v2/tron/transactions \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"from": "TAbcd1234efgh5678ijkl9012mnop3456qrst7890",
"to": "TDestinationAddress12345",
"amount": "100",
"password": "your_secure_password"
}'
If you ever need to export your private key, use this API request (requires password authentication):
curl --request POST \
--url https://app.chaingateway.io/api/v2/tron/addresses/export/TAbcd1234efgh5678ijkl9012mnop3456qrst7890 \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"password": "your_secure_password"
}'
For more details, visit our updated Tron Wallet Documentation. The docs include:
✔️ API reference for creating & managing wallets
✔️ Code examples in multiple languages (Shell, PHP, JavaScript, Python)
✔️ Best practices for securing your funds
Check out the API Docs and learn more Developer Docs
The launch of secure wallets for Tron marks a major step forward in improving security on ChainGateway. We strongly recommend using password-protected wallets for long-term storage and transactions.
🚀 Start securing your Tron wallets today—Check the Docs Now!
Have questions? Reach out to our support team or join our developer community!
🔒 Stay safe, stay secure!
Share This Post
Enter your email to receive our latest newsletter.
Don't worry, we don't spam
chaingateway
Hey developers! Tron GreatVoyage-v4.7.7 a.k.a. 'Epicurus' is here, packed with must-have upgrades for your blockchain toolkit. From cross-platform precision to smoother shutdowns, this release is all about making your blockchain journey seamless and efficient. Dive in to explore how these changes can supercharge your operations!
Boost your webhook security with Personal Secrets! Ensure authenticity and integrity of notifications in your Blockchain API and Crypto API integrations.
Discover the exciting new features, improved API performance, and seamless migration process in our latest software upgrade.
We use cookies to enhance your experience. By continuing to visit this site, you agree to our use of cookies.