Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@premia/v3-sdk
Advanced tools
The latest version of the SDK is used in production in the Premia Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the #engineering
channel of the Discord.
Pull requests are welcome!
In-depth documentation on this SDK is available at docs.premia.blue.
Auto-generated documentation is available at docs-sdk.premia.finance.
Feedback is welcome!
API_KEY_ALCHEMY
, API_KEY_INFURA
and TESTNET_PRIVATE_KEY
to a .env
file (see example)yarn install
to download dependencieschmod ug+x .husky/*
to make the husky precommit script an executable.In order to use Anvil as a local blockchain for dev purposes, Forge needs to be installed. Instructions on how to install are here.
anvil --fork-url <INSERT RPC URL> --fork-block-number <INSERT BLOCK NUMBER>
ctrl + z
to pause and then type bg
to run the fork in the backgroundyarn test
through the command lineFAQs
The official SDK for building applications on Premia V3.
The npm package @premia/v3-sdk receives a total of 1,061 weekly downloads. As such, @premia/v3-sdk popularity was classified as popular.
We found that @premia/v3-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.