🚨 Shai-Hulud Strikes Again:More than 500 packages and 700+ versions compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@tronweb3/tronwallet-adapter-binance-evm

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tronweb3/tronwallet-adapter-binance-evm

Wallet adapter for Binance wallet app on EVM.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
2
Created
Source

@tronweb3/tronwallet-adapter-binance-evm

This package provides an adapter to enable DApps to connect to the Binance Wallet App.

Demo

import { BinanceEvmAdapter } from '@tronweb3/tronwallet-adapter-binance-evm';

const adapter = new BinanceEvmAdapter();
// 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);

Documentation

API

  • Constructor()

    import { BinanceEvmAdapter } from '@tronweb3/tronwallet-adapter-binance-evm';
    const adapter = new BinanceEvmAdapter();
    

Caveat

  • Currently Binance wallet app does not support addChain().

More detailed API can be found in Abstract Adapter.

Keywords

EVM

FAQs

Package last updated on 25 Sep 2025

Did you know?

Socket

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.

Install

Related posts