
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
https://www.circle.com/en/multichain-usdc
USDC is available on many of the world's leading blockchains, with more chain integrations expected.
npm install --save usdc
import { stellar } from 'usdc'
stellar.getUSDCBalance({ address: process.env.stellar_usdc_address })
.then(console.log)
const { txid } = await stellar.sendUSDCPayment({
mnemonic: process.env.stellar_usdc_mnemonic,
to: [{
address: process.env.stellar_usdc_address,
amount: 1
}]
})
stellar.checkPaymentStatus({ txid }).then(console.log)
import { ethereum } from 'usdc'
ethereum({ address: process.env.ethereum_usdc_address })
.then(console.log)
const { txid } = await ethereum.sendUSDCPayment({
mnemonic: process.env.ethereum_usdc_mnemonic,
to: [{
address: process.env.ethereum_usdc_address,
amount: 1
}]
})
ethereum.checkPaymentStatus({ txid }).then(console.log)
import { polygon } from 'usdc'
polygon({ address: process.env.polygon_usdc_address })
.then(console.log)
const { txid } = await polygon.sendUSDCPayment({
mnemonic: process.env.polygon_usdc_mnemonic,
to: [{
address: process.env.polygon_usdc_address,
amount: 1
}]
})
polygon.checkPaymentStatus({ txid }).then(console.log)
import { hedera } from 'usdc'
hedera({ address: process.env.hedera_usdc_address })
.then(console.log)
const { txid } = await hedera.sendUSDCPayment({
mnemonic: process.env.hedera_usdc_mnemonic,
to: [{
address: process.env.hedera_usdc_address,
amount: 1
}]
})
hedera.checkPaymentStatus({ txid }).then(console.log)
import { avalanche } from 'usdc'
avalanche({ address: process.env.avalanche_usdc_address })
.then(console.log)
const { txid } = await avalanche.sendUSDCPayment({
mnemonic: process.env.avalanche_usdc_mnemonic,
to: [{
address: process.env.avalanche_usdc_address,
amount: 1
}]
})
avalanche.checkPaymentStatus({ txid }).then(console.log)
import { solana } from 'usdc'
solana({ address: process.env.solana_usdc_address })
.then(console.log)
const { txid } = await solana.sendUSDCPayment({
mnemonic: process.env.solana_usdc_mnemonic,
to: [{
address: process.env.solana_usdc_address,
amount: 1
}]
})
solana.checkPaymentStatus({ txid }).then(console.log)
import { tron } from 'usdc'
tron({ address: process.env.tron_usdc_address })
.then(console.log)
const { txid } = await tron.sendUSDCPayment({
mnemonic: process.env.tron_usdc_mnemonic,
to: [{
address: process.env.tron_usdc_address,
amount: 1
}]
})
tron.checkPaymentStatus({ txid }).then(console.log)
import { flow } from 'usdc'
flow({ address: process.env.flow_usdc_address })
.then(console.log)
const { txid } = await flow.sendUSDCPayment({
mnemonic: process.env.flow_usdc_mnemonic,
to: [{
address: process.env.flow_usdc_address,
amount: 1
}]
})
flow.checkPaymentStatus({ txid }).then(console.log)
import { algorand } from 'usdc'
algorand({ address: process.env.algorand_usdc_address })
.then(console.log)
const { txid } = await algorand.sendUSDCPayment({
mnemonic: process.env.algorand_usdc_mnemonic,
to: [{
address: process.env.algorand_usdc_address,
amount: 1
}]
})
algorand.checkPaymentStatus({ txid }).then(console.log)
FAQs
USDC Multi-Chain Payments SDK
We found that usdc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.