
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
ethers-provider-init
Advanced tools
This module helps to initialize an ethers provider based on environment variables.
npm i ethers-provider-init --save
Depending of the environment variables the provider might use:
ethers.provider.getDefaultProvider() if no provider is configuredconst { getProvider } = require("ethers-provider-init");
const provider = getProvider();
// alternatively you can pass an object with the environment variables:
// const provider = getProvider({ CLOUDFLARE_ENABLED: "1" });
ETHEREUM_NETWORK: Name of the ethereum network, default to mainnet.FALLBACK_QUORUM: The quorum the backend responses must agree upon before a result will be resolved when using more than one provider. By default this is half the sum of the weights.ETHERSCAN_API_KEY: The api key for etherscan provider.INFURA_PROJECT_ID: The project id for the infura providerINFURA_PROJECT_SECRET: The project secret for the infura providerALCHEMY_API_KEY: The api key for alchemy provider.CLOUDFLARE_ENABLED: Set any string other than "false" to enable the cloudflare provider which doesn't require any api key.POCKET_APPLICATION_ID: The application id for the pocket provider.POCKET_APPLICATION_SECRET_KEY: The application secret for the pocket provider.ANKR_API_KEY: The api key for alchemy provider.JSON_RPC_URL: The api key for alchemy provider.MIT 2022 - José Romaniello
FAQs
Initialize ethers provider based on environment variables
The npm package ethers-provider-init receives a total of 2 weekly downloads. As such, ethers-provider-init popularity was classified as not popular.
We found that ethers-provider-init 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
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.