
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@ledgerhq/hw-app-trx
Advanced tools
GitHub, Ledger Devs Discord, Developer Portal
Ledger Hardware Wallet TRX JavaScript bindings.
You may be using this package to communicate with the TRX Nano App.
For a smooth and quick integration:
Tron API
transport Transport scrambleKey (optional, default "TRX")import Trx from "@ledgerhq/hw-app-trx";
const trx = new Trx(transport)
get Tron address for a given BIP 32 path.
const address = await tron.getAddress("44'/195'/0'/0/0").then(o => o.address)
Returns Promise<{publicKey: string, address: string}> an object with a publicKey and address
sign a Tron transaction with a given BIP 32 path and Token Names
path string a path in BIP 32 formatrawTxHex string a raw transaction hex stringtokenSignatures Array<string> Tokens Signatures arrayconst signature = await tron.signTransaction("44'/195'/0'/0/0", "0a02f5942208704dda506d59dceb40f0f4978f802e5a69080112650a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412340a1541978dbd103cfe59c35e753d09dd44ae1ae64621c7121541e2ae49db6a70b9b4757d2137a43b69b24a445780188ef8b5ba0470cbb5948f802e", [], 105);
Returns Promise<string> a signature as hex string
sign a Tron transaction hash with a given BIP 32 path
const signature = await tron.signTransactionHash("44'/195'/0'/0/0", "25b18a55f86afb10e7aca38d0073d04c80397c6636069193953fdefaea0b8369");
Returns Promise<string> a signature as hex string
get the version of the Tron app installed on the hardware device
const result = await tron.getAppConfiguration();
{
"version": "0.1.5",
"versionN": "105".
"allowData": false,
"allowContract": false,
"truncateAddress": false,
"signByHash": false
}
Returns Promise<{allowContract: boolean, truncateAddress: boolean, allowData: boolean, signByHash: boolean, version: string, versionN: number}> an object with a version
sign a Tron Message with a given BIP 32 path
const signature = await tron.signPersonalMessage("44'/195'/0'/0/0", "43727970746f436861696e2d54726f6e5352204c6564676572205472616e73616374696f6e73205465737473");
Returns Promise<string> a signature as hex string
get Tron address for a given BIP 32 path.
const signature = await tron.getECDHPairKey("44'/195'/0'/0/0", "04ff21f8e64d3a3c0198edfbb7afdc79be959432e92e2f8a1984bb436a414b8edcec0345aad0c1bf7da04fd036dd7f9f617e30669224283d950fab9dd84831dc83");
FAQs
Ledger Hardware Wallet Tron Application API
The npm package @ledgerhq/hw-app-trx receives a total of 11,309 weekly downloads. As such, @ledgerhq/hw-app-trx popularity was classified as popular.
We found that @ledgerhq/hw-app-trx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.