Methods to Generate a TRON Address
There are three main ways to generate a TRON mainnet address: using a wallet application, the TronWeb JavaScript SDK, or the official wallet-cli command-line tool.
Method 1: TronLink Browser Wallet
- Install the TronLink extension from the official website.
- Click Create Account and follow the setup wizard.
- Write down your 12-word mnemonic phrase and store it securely offline.
- Your new TRON mainnet address (starting with
T) is displayed on the dashboard.
TronLink supports both TRX and all TRC-20 tokens including USDT, USDC, and others.
Method 2: TronWeb SDK (JavaScript)
For developers, TronWeb provides a simple method to create a new key pair:
const TronWeb = require('tronweb');
const tronWeb = new TronWeb({ fullHost: 'https://api.trongrid.io' });
const account = await tronWeb.createAccount();
console.log(account.address.base58); // T... address (34 chars)
console.log(account.privateKey); // 64-char hex private key
Never share your private key. A newly created address does not exist on-chain until it is activated by receiving TRX or a TRC-10 token from an existing account.
Method 3: wallet-cli (Command Line)
The official TRON wallet-cli tool allows offline key generation:
wallet> GenerateAddress
{
"address": "T...", // Base58Check, 34 chars
"privateKey": "b1ba1d..." // Hex, 64 chars
}
Activating a New Address
A freshly generated TRON address is not recorded on-chain until it receives its first transaction. To activate it:
- Transfer any amount of TRX to the new address (activation fee: 1 TRX).
- Transfer any TRC-10 token to the new address.
- Use the
wallet/createaccountAPI from an existing funded account.