Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@project-serum/anchor
Advanced tools
TypeScript client for Anchor programs.
@project-serum/anchor
depends on node.js native modules. Therefore, webpack 5 will not work with current version. You will either need to rollback to webpack 4, or use a polyfill for each missing dependency.[0.25.0] - 2022-07-05
realloc
, realloc::payer
, and realloc::zero
as a new constraint group for program accounts (#1986).PartialEq
and Eq
for anchor_lang::Error
(#1544).--skip-build
to anchor publish
(#1786).--program-keypair
to anchor deploy
(#1786).build
now adds docs to idl. This can be turned off with --no-docs
(#1561).b
and t
aliases for build
and test
respectively (#1823).TokenAccount
to Mint
(#1818).sync_native
token program CPI wrapper function (#1833).anchor run
(#1914).program.coder.types
for encoding/decoding user-defined types (#1931).send_with_spinner_and_config
function to RequestBuilder (#1926).ANCHOR_WALLET
variable when using NodeWallet.local()
(#1958).MethodsBuilder#accountsStrict
for strict typing on ix account input (#2019).anchor keys list
reading the target
folder in the wrong path (#2063).overflow-checks
into workspace Cargo.toml
so that it will not be ignored by compiler (#1806).init
or zero
(#1800).BROWSER
env variable to ANCHOR_BROWSER
(#1233).EventCallback
parameters (#1851).EventParser#parseLogs
implementation to be a generator instead of callback function (#2018).&mut reallocs: BTreeSet<Pubkey>
argument to Accounts::try_accounts
(#1986).FAQs
Anchor client
The npm package @project-serum/anchor receives a total of 89,869 weekly downloads. As such, @project-serum/anchor popularity was classified as popular.
We found that @project-serum/anchor 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.