
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
eliza-plugin-tron
Advanced tools
Core Tron blockchain plugin for Eliza OS that provides essential services and actions for token operations, trading, and DeFi integrations.
Core Tron blockchain plugin for Eliza OS that provides essential services and actions for token operations, trading, and DeFi integrations.
The TRON plugin provides comprehensive functionality for interacting with TRON blockchain, including token transfers, cross-chain bridging, and token swaps using Symbiosis integration.
yarn install eliza-plugin-tron
# Required
TRON_PRIVATE_KEY=your-private-key-here
# Optional - Custom RPC URLs
TRON_PROVIDER_URL=https://your-custom-tron-rpc-url
By default, the RPC URL is inferred from the viem/chains config. To use a custom RPC URL add the following to your .env file:
TRON_PROVIDER_URL=https://your-custom-tron-rpc-url
Example usage:
TRON_PROVIDER_URL=https://tron-network.rpc.thirdweb.com
The Wallet Provider initializes with the TRON. It:
Transfer native tokens on the same chain:
// Example transfer 100 TRX from the connected address to another address
const message: Memory = {
content: {
text: "Send 100 TRX to TH9husb1dF7q8KSe7PVdmZYKqfnuYw5KWL",
action: transferAction.name,
},
agentId: runtime.agentId,
userId: stringToUuid("test"),
roomId: stringToUuid("test"),
};
const state = await runtime.composeState(message);
const result = await runtime.processActions(message, [message], state);
Bridge tokens between different chains using Symbiosis:
// Example Bridge 10 USDC from TRON to ETH
const message: Memory = {
content: {
text: "Bridge 10 USDC from TRON to ETHEREUM",
action: bridgeAction.name,
},
agentId: runtime.agentId,
userId: stringToUuid("test"),
roomId: stringToUuid("test"),
};
const state = await runtime.composeState(message);
const result = await runtime.processActions(message, [message], state);
Swap tokens on the same chain using SunSwap:
// Example: Swap 10 TRX for USDT on TRON
const message: Memory = {
content: {
text: "Swap 10 TRX to USDT",
action: swapAction.name,
},
agentId: runtime.agentId,
userId: stringToUuid("test"),
roomId: stringToUuid("test"),
};
const state = await runtime.composeState(message);
const result = await runtime.processActions(message, [message], state);
yarn install
yarn run build
yarn test
WalletProvider
Actions
FAQs
Core Tron blockchain plugin for Eliza OS that provides essential services and actions for token operations, trading, and DeFi integrations.
We found that eliza-plugin-tron demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.