Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
cardano-nftcdn-client
Advanced tools
[!NOTE] Automatically generated Openapi-fetch (Axios) client for XRAY/Graph NFTCDN API based on schema.yaml OpenAPI schema. Cardano native tokens metadata/datums indexer/explorer and images CDN. IPFS gateway included
To install the client with Yarn, run:
yarn install cardano-nftcdn-client
To install the client with NPM, run:
npm i cardano-nftcdn-client
import NftcdnClient from "cardano-nftcdn-client"
const client = NftcdnClient("https://graph.xray.app/output/nftcdn/mainnet/api/v1")
const app = async () => {
const metadata = await client.GET("/metadata/{fingerprint}", {
params: {
path: {
fingerprint: "asset1zwa4chw9xm7xwk7g46ef94qsj28hmnd7qffhgx",
},
},
})
if (metadata.data) {
console.log(tip.data)
}
if (metadata.error) {
console.error(tip.error)
}
}
app()
import NftcdnClient from "cardano-nftcdn-client"
const client = NftcdnClient("https://graph.xray.app/output/nftcdn/mainnet/api/v1")
const app = async () => {
const abortController = new AbortController()
setTimeout(() => {
abortController.abort() // cancel request
console.log('Aborted!')
}, 200)
const assets = await client.GET("/assets", {
signal: abortController.signl,
})
if (assets.data) {
console.log(tip.data?.[0]?.block_no)
}
if (assets.error) {
console.error(tip.error)
}
}
app()
Managed by XRAY/Network (XRAY/Graph, Cloudflare WAF & Load Balancer)
https://graph.xray.app/output/nftcdn/mainnet/api/v1
https://graph.xray.app/output/nftcdn/preprod/api/v1
https://graph.xray.app/output/nftcdn/preview/api/v1
FAQs
TypeScript client for XRAY/Graph NFTCDN API
We found that cardano-nftcdn-client demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.