
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@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.
The npm package @ethers-ancillary/bsc receives a total of 335 weekly downloads. As such, @ethers-ancillary/bsc popularity was classified as not popular.
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.