
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
@chainsafe/lodestar-api
Advanced tools
A Typescript implementation of the Ethereum Consensus light client
This package is part of ChainSafe's Lodestar project
Typescript REST client for the Ethereum Consensus API spec
import {getClient} from "@chainsafe/lodestar-api";
import {config} from "@chainsafe/lodestar-config/default";
const api = getClient({
baseUrl: "http://localhost:9596",
}, {config});
api.beacon
.getStateValidator(
"head",
"0x933ad9491b62059dd065b560d256d8957a8c402cc6e8d8ee7290ae11e8f7329267a8811c397529dac52ae1342ba58c95"
)
.then((res) => console.log("Your balance is:", res.data.balance));
You will need to go over the specification. You will also need to have a basic understanding of sharding.
Read our contributors document, submit an issue or talk to us on our discord!
Apache-2.0 ChainSafe Systems
FAQs
A Typescript implementation of the Ethereum Consensus light client
The npm package @chainsafe/lodestar-api receives a total of 968 weekly downloads. As such, @chainsafe/lodestar-api popularity was classified as not popular.
We found that @chainsafe/lodestar-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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 EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.