
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
Run composer require 021/crypto-wallets
use O21\CryptoWallets\BitcoinWallet;
or
use O21\CryptoWallets\LitecoinWallet;
use O21\CryptoWallets\Configs\BitcoindConfig;
$wallet = new BitcoinWallet(BitcoindConfig::fill(
'username',
'password',
'127.0.0.1',
18333
));
$wallet->isAvailable()
// Return wallet balance
$wallet->getBalance()
// Return transactions count for wallet
$wallet->getTransactionsCount()
// Return typical transaction size for wallet (Constant)
$wallet->getTypicalTransactionSize()
By default, method getRate() will return result from binance.com
use O21\CryptoWallets\Contracts\WalletRate;
// Return USD rate for Bitcoin
$wallet->getRate()
// Return EUR rate for Bitcoin
$wallet->getRate('EUR')
// Return EUR rate for Bitcoin from blockchain.com
$wallet->getRate('EUR', WalletRate::RATE_BLOCKCHAIN)
// Return best rate for last 30 minutes
$wallet->getBestRate('USD', 30)
// Return new addresses
$wallet->getNewAddress()
// Return is address valid
$wallet->validateAddress('wallet_address')
// Return link to blockchair.com for explain address
$wallet->getExploreAddressLink('wallet_address')
To be continued...
FAQs
Package for working with crypto wallets
We found that 021/crypto-wallets 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.