Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@mercurial-finance/mango-v4
Advanced tools
work in progress
See the LICENSE file.
The majority of this repo is MIT licensed, but some parts needed for compiling the solana program are under GPL.
All GPL code is gated behind the enable-gpl
feature. If you use the mango-v4
crate as a dependency with the client
or cpi
features, you use only MIT
parts of it.
The intention is for you to be able to depend on the mango-v4
crate for
building closed-source tools and integrations, including other solana programs
that call into the mango program.
But deriving a solana program with similar functionality to the mango program from this codebase would require the changes and improvements to stay publicly available under GPL.
See DEVELOPING.md
cargo-test-sbf --features enable-gpl
anchor build -- --features enable-gpl
After cloning this repo you'll need to init and update its git submodules.
Consider setting the git option submodule.recurse=true
.
Here are steps followed while performing a program deployment to mainnet-beta
program-v0.0.1
, should match the version the program hasmain
to currently deployed tagmain
into their branch, e.g. ts-client
and deploy-mm
Cargo.toml
on dev branch for next releaseHere are steps followed while performing a npm package release note: the UI currently uses code directly from github, pointing to the ts-client branch
yarn publish
to release a new package, ensure compatibility with program release to mainnet-betafix-npm-tag.sh
, tags should look like this e.g.npm-v0.0.1
, note: the npm package version/tag should not necessarily match the latest program deploymentFAQs
Typescript Client for mango-v4 program.
The npm package @mercurial-finance/mango-v4 receives a total of 835 weekly downloads. As such, @mercurial-finance/mango-v4 popularity was classified as not popular.
We found that @mercurial-finance/mango-v4 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.