
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@tronweb3/tronwallet-adapter-tronlink-evm
Advanced tools
@tronweb3/tronwallet-adapter-tronlink-evm
This package provides an adapter to enable DApps to connect to the TronLink Wallet extension.
import { TronLinkEvmAdapter } from '@tronweb3/tronwallet-adapter-tronlink-evm';
const adapter = new TronLinkEvmAdapter();
// connect
await adapter.connect();
// then you can get address
console.log(adapter.address);
// just use the sendTransaction method to send a transfer transaction.
const transaction = {
value: '0x' + Number(0.01 * Math.pow(10, 18)).toString(16), // 0.01 is 0.01ETH
to: 'your target address',
from: adapter.address,
};
await adapter.sendTransaction(transaction);
Constructor()
import { TronLinkEvmAdapter } from '@tronweb3/tronwallet-adapter-tronlink-evm';
const tronLinkEvmAdapter = new TronLinkEvmAdapter();
Caveat Currently TronLink wallet does not support addChain()
and signTypedData()
.
More detailed API can be found in Abstract Adapter.
FAQs
Wallet adapter for TronLink wallet extension.
The npm package @tronweb3/tronwallet-adapter-tronlink-evm receives a total of 106 weekly downloads. As such, @tronweb3/tronwallet-adapter-tronlink-evm popularity was classified as not popular.
We found that @tronweb3/tronwallet-adapter-tronlink-evm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.