
Research
/Security News
PolinRider Spreads Through Compromised GitHub Accounts and Packagist
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.
@injectivelabs/wallet-core
Advanced tools
Affected versions:
Package to use Wallets on Injective via the wallet strategy.
pnpm add @injectivelabs/wallet-core
To instantiate your MsgBroadcaster, you need to pass it an instance of BaseWalletStrategy. You can specify any strategy you want in the BaseWalletStrategy constructor and pass it to the MsgBroadcaster.
import { Wallet } from '@injectivelabs/wallet-base'
import { BaseWalletStrategy, MsgBroadcaster } from '@injectivelabs/wallet-core'
import { PrivateKeyWalletStrategy } from '@injectivelabs/wallet-private-key'
const strategyArgs: WalletStrategyArguments = {} /** define the args */
const strategyEthArgs: ConcreteEthereumWalletStrategyArgs = {} /** if the wallet is an Ethereum wallet */
const strategies = {
[Wallet.PrivateKey]: new PrivateKeyWalletStrategy(strategyEthArgs),
}
export const walletStrategy = new BaseWalletStrategy({ ...strategyArgs, strategies })
const broadcasterArgs: MsgBroadcasterOptions = {} /** define the broadcaster args */
export const msgBroadcaster = new MsgBroadcaster({ ...broadcasterArgs, walletStrategy })
Read more and find example usages on our WalletStrategy Docs
Contribution guides and practices will be available once there is a stable foundation of the whole package set within the injective-ts repo.
Reach out to us at one of the following places!
injective.com@InjectiveDiscordTelegramCopyright © 2021 - 2022 Injective Labs Inc. (https://injectivelabs.org/)
Originally released by Injective Labs Inc. under:
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
FAQs
Core wallet strategy
The npm package @injectivelabs/wallet-core receives a total of 1,084 weekly downloads. As such, @injectivelabs/wallet-core popularity was classified as popular.
We found that @injectivelabs/wallet-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 open source maintainers collaborating on the project.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.