Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xchainjs/xchain-bsc

Package Overview
Dependencies
Maintainers
10
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xchainjs/xchain-bsc

Binance Smart Chain EVM client for XChainJS

  • 0.5.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
10
Created
Source

@xchainjs/xchain-bsc

Modules

  • client - Custom client for communicating with binance smart chain by using ethers

Installation

yarn add @xchainjs/xchain-bsc

Following peer dependencies have to be installed into your project. These are not included in @xchainjs/xchain-bsc.

yarn add @xchainjs/xchain-evm @xchainjs/xchain-client @xchainjs/xchain-crypto @xchainjs/xchain-util axios ethers

Documentation

xchain bsc

How xchain-bsc works
How to use xchain-bsc

Service Providers

This package uses the following service providers:

FunctionServiceNotes
ETH balancesBscScanhttps://api.bscscan.com/api#accounts (module=account, action=balance)
Token balancesBscScanhttps://api.bscscan.com/api#tokens (module=account, action=tokenbalance)
ETH transaction historyBscScanhttps://api.bscscan.com/api#accounts (module=account, action=txlistinternal)
Token transaction historyBscScanhttps://api.bscscan.com/api#accounts (module=account, action=tokentx)
ExplorerBscScanhttps://bscscan.com/

BscScan API rate limits: https://bscscan.com/apis

  • This package uses etherjs library, by default it uses several providers. (https://docs.ethers.io/v5/api-keys/)

Enviroment variables

BSCSCAN_API_KEY={YOUR_BSCSCAN_API_KEY}

Default config can access.

process.env.BSCSCAN_API_KEY

Keywords

FAQs

Package last updated on 15 May 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc