
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@ethers-ancillary/bsc
Advanced tools
An ethers-compatible provider for BSC using the bscscan.com third-party service.
Experimental: This packages is still in the early stages of the ancillary package template and the library has not been thoroughly tested.
An ancillary package for the Binance Smart Chain (BSC).
Node
/home/ricmoo> npm install @ethers-ancillary/bsc
// JavaScript
const { BscscanProvider } = require("@ethers-ancillary/bsc");
// TypeScript
import { BscscanProvider } from "@ethers-ancillary/bsc";
Browser
Include the ESM module (ethers-bscscan-provider.esm.js) in the same folder as the core library (i.e. ethers.esm.js) and import using:
<script type="module">
import { BscscanProvider } from "./bsc.esm.js";
</script>
getDefaultProvider(networkish?)
Create a new default provider connected to networkish, which may
be a chain name (i.e. "bsc-mainnet" or "bsc-testnet") or chain ID.
This will create a FallbackProvider, backed by all popular Third-Party BSC services (currently only Bsccsan).
BscscanProvider
The API for this provider is identical to the EtherscanProvider, except uses bscscan.com (which is owned and operated by the same company as Etherscan and has the same underlying API) as its source for the BSC (Binance Smart Chain) network.
See EtherscanProvider.
MIT License.
FAQs
An ethers-compatible provider for BSC using the bscscan.com third-party service.
We found that @ethers-ancillary/bsc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.