Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@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 4,240 weekly downloads. As such, @chainsafe/lodestar-api popularity was classified as 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.