TRON Nile Testnet: Test TRX, Test USDT and Why Energy Differs
Nile is TRON's testnet for new features. Where to get test TRX and USDT, how its parameters differ from mainnet, and why a test transfer uses 14,650 energy.
- Category
- Guides
- Published
- Reading time
- 8 min

Nile is TRON’s public testnet, the one where, in the words of the network docs, “new features and governance proposals are launched first”. Test TRX comes from the official faucet, and the Nile site lists a test USDT contract, so you can rehearse a USDT payment flow without real money. One thing does not carry over: as of Nov 21, 2026 the same USDT transfer costs 14,650 energy on Nile and 64,285 on mainnet, so energy budgets have to be measured on mainnet.
Below: endpoints, the chain parameters that differ, how to get test tokens, one dry run executed on both networks, and why the numbers split.
Nile at a glance
Endpoints from the TRON documentation:
- HTTP API:
https://nile.trongrid.io(alsohttps://api.nileex.io); - JSON-RPC:
https://nile.trongrid.io/jsonrpc; - explorer: nile.tronscan.org;
- network site with the faucet:
nileex.io.
The API is the same java-tron HTTP API as on mainnet, so code written against api.trongrid.io works on Nile after you change the base URL. Both nodes we queried ran java-tron 4.8.2.4; the Nile build carries an extra tag, 4.8.2.4.PQ1_build1.
We called wallet/getchainparameters on both networks on Nov 20, 2026, between 06:25 and 06:28 UTC, and compared every key. Most values match. These do not:
| Parameter | Nile | Mainnet | What it means for tests |
|---|---|---|---|
getUnfreezeDelayDays |
1 | 14 | Unstaked TRX is withdrawable after 1 day instead of 14 |
getMaintenanceTimeInterval |
1,800,000 ms (30 min) | 21,600,000 ms (6 h) | Votes and contract energy factors update every 30 minutes |
getMaxDelegateLockPeriod |
144,000 blocks (5 days) | 864,000 blocks (30 days) | Shorter maximum lock for delegations |
getProposalExpireTime |
600,000 ms (10 min) | 259,200,000 ms (3 days) | Committee proposals resolve in minutes |
getWitnessStandbyAllowance |
100 TRX | 115,200 TRX | Smaller reward pool for standby candidates |
TotalEnergyWeight (from getaccountresource) |
2,451,715,074 TRX | 18,645,566,761 TRX | 73.42 energy per staked TRX a day on Nile, 9.65 on mainnet |
Nile also lists a few switches that the mainnet response does not contain at all, such as getAllowFnDsa512. That fits its role as the place where features appear first.
What matches: 100 SUN per unit of energy burned, 1,000 SUN per unit of bandwidth, 600 free bandwidth a day, 180,000,000,000 total daily energy, the 15,000 TRX fee limit cap and the three dynamic energy parameters (threshold 5,000,000,000, increase factor 2,000, max factor 34,000). The pricing rules are the same; the state of the contracts is not.
Shasta, the second public testnet, is described by the docs as the network “for validating integrations before Mainnet deployment” and keeps the 14-day unstaking delay.
Getting test TRX and test USDT
According to the testnet tokens guide, there are two official routes:
- The faucet page at
nileex.io/join/getJoinPage. On Nov 20, 2026 it offered 1,000 test TRX and 1,000 test USDT per request; the guide says each wallet and IP can request once per 24 hours per token. - The TronFAQBot in the official TRON developer groups on Telegram and Discord:
!nile <address>for test TRX and!nile_usdt <address>for test USDT, up to 2,000 per token every 24 hours.
The faucet page names the test USDT contract: TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf. Its name in getcontractinfo is TetherToken, like the mainnet contract, but it is a separate test deployment with its own address. The mainnet address, TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t, has no contract on Nile. Keep the two in separate config entries so a test address never reaches production code.
A new Nile address has to be activated like a mainnet one, and the faucet transfer does that for you.
One dry run on both networks
wallet/triggerconstantcontract executes a call on a node without broadcasting it and returns the energy it would use. We sent the same call to both networks: transfer(address,uint256) for 1 unit (0.000001 USDT), from an address that holds the token to an address that already holds it. The script below is an illustrative example; we ran it with Node.js 22 on Nov 20, 2026, at 10:11 UTC.
// Illustrative example: the same USDT transfer() dry run on Nile and on mainnet.
// Usage: node estimate.mjs <network> <owner> <to> network = nile | main
const NETS = {
nile: { api: 'https://nile.trongrid.io', usdt: 'TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf' },
main: { api: 'https://api.trongrid.io', usdt: 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t' },
};
const ABC = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';
// Base58 address -> 20-byte hex, left-padded to 32 bytes for the ABI
const toWord = (addr) => {
let n = 0n;
for (const ch of addr) n = n * 58n + BigInt(ABC.indexOf(ch));
return n.toString(16).padStart(50, '0').slice(2, 42).padStart(64, '0');
};
const [net, owner, to] = process.argv.slice(2);
const { api, usdt } = NETS[net];
const res = await fetch(`${api}/wallet/triggerconstantcontract`, {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({
owner_address: owner,
contract_address: usdt,
function_selector: 'transfer(address,uint256)',
parameter: toWord(to) + (1n).toString(16).padStart(64, '0'), // 0.000001 USDT
visible: true,
}),
}).then((r) => r.json());
console.log(net, res.result?.result, 'energy_used:', res.energy_used, 'energy_penalty:', res.energy_penalty ?? 0);
The output:
| Network | energy_used |
energy_penalty |
Base energy (used minus penalty) |
|---|---|---|---|
| Nile | 14,650 | 0 | 14,650 |
| Mainnet | 64,285 | 49,635 | 14,650 |
Broadcast transfers agree with the dry run. On Nile, a1ad1d30… to an existing holder used 14,650 energy, and 3e56907a… to an address with no test USDT used 29,650. On mainnet the same two cases cost 64,285 (6cfb8f53…) and 130,285 (04dc9e62…).
Why the same call costs four times less on Nile
The code path is the same: the base energy, 14,650, matches to the unit. The whole gap is the dynamic energy penalty, and it comes from the state of each contract, not from different rules:
- Mainnet USDT had
energy_factor34,000 ingetcontractinfo, the maximum. The contract is so busy that the network adds a surcharge to its calls (how dynamic energy works). - Nile test USDT had no
energy_factorat all. Its usage in the current cycle was 1,181,335 energy, far below the 5,000,000,000 threshold that switches the surcharge on.
There is a second difference that tests can hide. In both Nile receipts above, origin_energy_usage equals the whole energy used: the deployer of the test contract paid for the call, and the sender spent no energy. The Nile contract does not set consume_user_resource_percent, so callers carry 0%, and its origin_energy_limit is 1,000,000,000. On mainnet the 64,285 receipt shows 64,284 energy charged to the sender and 1 to the deployer. A test wallet with zero energy can therefore send test USDT on Nile without burning TRX for energy while the deployer’s stake lasts, which a mainnet wallet cannot do. Who pays for contract calls is covered in energy for dApps and bots.

What the numbers mean for a budget
A model calculation for one transfer to an existing holder, at 100 SUN per unit of energy burned on both networks as of Nov 21, 2026:
| Nile | Mainnet | |
|---|---|---|
| Energy | 14,650 | 64,285 |
| Burned if the sender pays all energy | 1.465 test TRX | 6.4285 TRX |
| TRX to stake for one such transfer a day | 14,650 / 73.42 = about 200 | about 6,700 |
On Nile the cost is test TRX from the faucet, so it does not matter. On mainnet it does: to cover the 64,285 you burn 6.4285 TRX, stake about 6,700 TRX, or rent energy. At the current rate on Dec 3, 2026, 30 SUN per unit for 1 hour, 65,000 energy costs 1.95 TRX. The rate changes; the exact price is shown in the service before you pay, and reference prices are on the pricing page.
The rule that follows: use Nile to check that your code builds, signs and reads transactions correctly, and take every energy and fee figure from a mainnet dry run. The mainnet method, including fee_limit, is in estimating energy with triggerconstantcontract.

Testing on Nile, step by step
- Create a separate test address and never reuse its key on mainnet.
- Request test TRX and test USDT from the faucet or the bot; check the balance on nile.tronscan.org.
- Point your code at
nile.trongrid.ioand keep the test USDT contract address in config, next to the mainnet one, never hard-coded. - Run the full flow: build, sign, broadcast, then read the receipt with
gettransactioninfobyid. Checkresult,energy_usage_totaland who paid it. - Test the slow paths quickly. With a 1-day unstaking delay and 30-minute maintenance, you can follow a full unstake and withdrawal in a day instead of two weeks.
- Before going live, repeat the energy estimate on mainnet and plan resources from that number. Deployment costs, measured on mainnet, are in smart contract deployment cost; if you will order energy from code, see the API page.
FAQ
Is Nile TRX worth anything? No. Test TRX and test USDT exist only on Nile and cannot be moved to mainnet.
Why does my Nile USDT transfer show no energy spent? Because the test contract’s deployer pays the energy for callers, as the receipts above show. On mainnet the sender pays.
Can I use Nile to estimate mainnet fees? Only for bandwidth and for checking that a call succeeds. Energy for USDT differed by a factor of 4.4 as of Nov 21, 2026, because of the dynamic penalty on mainnet.
Do chain parameters on Nile change?
Yes. Proposals on Nile expire in 10 minutes, and new parameters often appear there first. Compare getchainparameters on both networks before you rely on a value; how changes reach mainnet is in TRON committee proposals.