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.
@jup-ag/deltafi-sdk
Advanced tools
This repository contains deltafi-dex-v2 anchor client and example to do swap on deltafi-dex-v2.
This repository contains deltafi-dex-v2 anchor client and example to do swap on deltafi-dex-v2.
Install packages first:
yarn install
Then run the example with test keypair on testnet
yarn ts-node src/example/example.ts swap -k ./keypairs/testnet-keypair.json -n testnet
You can also use your own keypair on mainnet-beta to swap 1
token between USDC
and USDT
yarn ts-node src/example/example.ts swap -k <your_keypair> -n mainnet-beta
Deposit 1
token to USDC-USDT
pool.
yarn ts-node src/example/example.ts deposit -k <your_keypair> -n mainnet-beta
Withdraw 1
token from USDC-USDT
pool.
yarn ts-node src/example/example.ts withdraw -k <your_keypair> -n mainnet-beta
The config in this repo may not be up to date. You can read the latest config with our public api.
yarn ts-node src/example/example.ts get-config
The response will contain all available swap pools.
FAQs
This repository contains deltafi-dex-v2 anchor client and example to do swap on deltafi-dex-v2.
We found that @jup-ag/deltafi-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.