Overview
This guide walks you through creating TRON wallets using Dynamic’s Node SDK. You’ll learn how to set up different threshold signature schemes and understand the security implications for TRON blockchain operations.
Prerequisites
Before you begin, make sure you have:
Step 1: Choose Your Security Model
Dynamic supports three threshold signature schemes for TRON wallets:
TWO_OF_TWO (Recommended for most use cases)
- Security: Highest, requiring both your server and Dynamic’s infrastructure
- Availability: Lower, since both parties must be online
- Use case: High-value transactions, maximum security
TWO_OF_THREE
- Security: High, requiring 2 out of 3 shares
- Availability: Medium, tolerating one party being offline
- Use case: Balanced security and availability
THREE_OF_FIVE
- Security: High, requiring 3 out of 5 shares
- Availability: Highest, tolerating two parties being offline
- Use case: Maximum fault tolerance and availability
Step 2: Create Your First TRON Wallet
Here’s a complete example of creating a TRON wallet:
Step 3: Handle Errors Gracefully
Always implement proper error handling for TRON wallet creation:
After creating a TRON wallet, you’ll receive important information that should be stored securely:
Step 5: Derive the TRON Address
You can also derive the TRON address from the wallet’s public key using deriveAccountAddress(). This is a synchronous method:
Best Practices
- Password Security: Use strong, unique passwords for each TRON wallet
- Error Handling: Always handle potential errors during wallet creation with the
onError callback
- Monitoring: Log wallet creation events for audit purposes
- Backup Strategy: Implement secure backup strategies for key shares with
backUpToDynamic: true
- Persist
walletMetadata: The SDK is stateless — store the returned walletMetadata alongside your key shares, since every signing, export, and refresh operation requires it
TRON-Specific Considerations
TRON addresses are Base58Check strings starting with T. All TRON networks (Mainnet, Shasta, Nile) share the same address format, so one wallet works on every network — the network is chosen by the full node you build and broadcast transactions against.
Native Unit
TRON uses SUN as the smallest unit: 1 TRX = 1,000,000 SUN.
Next Steps
Now that you’ve created a TRON wallet, you can:
Last modified on October 15, 2026