Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
balance-crypto
Advanced tools
Readme
Get wallet balance for 5.8K+ cryptocurrencies with a single function.
# pnpm
pnpm i balance-crypto
# yarn
yarn add balance-crypto
# npm
npm i balance-crypto
To use the module in Deno import it like this: import { balance } from 'https://deno.land/x/balance_crypto/deno/mod.ts'
import { balance } from 'balance-crypto'
import fetch from 'node-fetch'
balance('3PxedDftWBXujWtr7TbWQSiYTsZJoMD8K5', 'BTC', {
keys: {
etherscan: process.env.ETHERSCAN_KEY,
blockcypher: process.env.BLOCKYCPHER_KEY
},
verbose: true
}).then((res) => console.log(res))
import { balance } from 'https://deno.land/x/balance_crypto/deno/mod.ts'
balance('3PxedDftWBXujWtr7TbWQSiYTsZJoMD8K5', 'BTC', {
keys: {
etherscan: Deno.env.get('ETHERSCAN_KEY'),
blockcypher: Deno.env.get('BLOCKYCPHER_KEY')
},
verbose: true
}).then((res) => console.log(res))
Result:
{ "balance": 0, "asset": "BTC" }
Asset | Service | API key |
---|---|---|
ETH, ERC-20 tokens | https://etherscan.io | ✔️ |
BTC, DASH, LTC, DOGE | https://blockcypher.com | ✔️ (optional) |
BTC-based tokens | https://chainz.cryptoid.info | |
ADA | https://explorer.cardano.org |
The best way to support the project is to stake it on DEV. Note that you also get rewarded by staking, as well as the project author.
These 3 addresses were rewarded with 10DEV as a bonus for staking:
FAQs
Get wallet balance for 5.8K+ cryptocurrencies with a single function.
The npm package balance-crypto receives a total of 16 weekly downloads. As such, balance-crypto popularity was classified as not popular.
We found that balance-crypto 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.