
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
Use the Ethers.js, the Lava way 🌋
This repository contains implementations of Ether.js provider using Lava-SDK to achive decentralized access.
SDK setup requires additional steps at the moment, but we're working on minimizing prerequisites as we progress through the roadmap.
Need help? We've got you covered 😻 Head over to our Discord channel #developers and we'll provide testnet tokens and further support
yarn add lava-sdk-providers
npm install lava-sdk-providers
To use the LavaEthersProvider, you will first need to import and initialize it.
const ethersProvider = await new LavaEthersProvider({
privKey: privKey,
chainID: chainID,
pairingListConfig: localConfigPath, // Optional
networkId: networkID, // Optional
});
privateKey parameter is required and should be the private key of the staked Lava client for the specified chainID.
chainID parameter is required and should be the ID of the chain you want to query. You can find all supported chains with their IDs supportedChains
pairingListConfig is an optional field that specifies the lava pairing list config used for communicating with lava network. Lava SDK does not rely on one centralized rpc for querying lava network. It uses a list of rpc providers to fetch list of the providers for specified chainID and rpcInterface from lava network. If not pairingListConfig set, the default list will be used default lava pairing list
networkId represents chain id of the network we want to query. By default every supported chain has matching chain id (https://github.com/lavanet/lava-sdk-providers/blob/main/ethersjs/supportedChains.json)
Once the LavaEthersProvider is initialized, you can use any method provided by the Ether.js library to interact with the blockchain. For example, to get the latest block number, you can use the following code:
const blockNumber = await ethersProvider.getBlockNumber();
This will return the block number of the latest block on the specified chain. You can find more information on available methods in the official Ether.js documentation
FAQs
Collection of Lava implementation for different providers
We found that nemoeius 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.