Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@cardano-graphql/cli
Advanced tools
npm i -g @cardano-graphql/cli
cgql --help
yarn & yarn add-global
cgql --help
Depending on your local environment, you may need to add the yarn global bin to your PATH. The following command is useful for a single terminal session:
export PATH="$(yarn global bin):$PATH"
cgql --help
2.0.0
This new major version brings the first round of Shelley-era features to the API, introduces a new genesis file API package, and hardens the migrations and metadata handling. This version is required for transitioning through the upcoming Shelley hard fork.
cardano-node
: 1.18.0
cardano-db-sync
: 3.1.0
- Note: The database must be recreated using the new version.stakePools
, stakePools_aggregate
delegations
, delegations_aggregate
stakeRegistrations
, stakeRegistrations_aggregate
stakeDeregistrations
, stakeDeregistrations_aggregate
withdrawals
, withdrawals_aggregate
genesis
cardano-db-sync
restart. using the
Hasura CLI, which
is included in the Dockerfile and NixOS
service, however outside of this you must install and place hasura
on PATH.@cardano-graphql/api-genesis
allows
access to the network genesis files. It's integrated into the server, with the config exposed
as environment variables. As usual, the docker-compose.yaml serves as a good reference.config
and committing
to source control gives you full control over the services using their native interface.Cardano.networkName
removed. Use network magic from the genesis API identify networks.Cardano.protocolConst
, Cardano.slotDuration
, Cardano.startTime
, Cardano.slotsPerEpoch
removed. Access this info from the Genesis API.cardanoDbSync.slotDiffFromNetworkTip
removed in reponse to a change in strategy for determining
sync status with cardano-db-sync
determining sync status relies on a chain
that has produceDates we're previously formatted to ISO 3339, however ISO 8601 is being adopted with this release for alignment with the Shelley genesis file format and simplification when the precision is not required.
2017-10-03T21:43:51.000Z
-> 2017-10-03T21:43:51Z
Block.createdBy
-> Block.slotLeader
links to an object, with a nullable stakePool
field. For
previous behaviour, Block.slotLeader.description
can be used, however the description prefixes have
changed upstream from SlotLeader
to ByronGenesis
Block.createdAt
-> Block.forgedAt
Block.slotWithinEpoch
-> Block.slotInEpoch
FAQs
Management tool for managing a Cardano GraphQL deployment
The npm package @cardano-graphql/cli receives a total of 15 weekly downloads. As such, @cardano-graphql/cli popularity was classified as not popular.
We found that @cardano-graphql/cli 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.