Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@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.
The npm package @jup-ag/deltafi-sdk receives a total of 264 weekly downloads. As such, @jup-ag/deltafi-sdk popularity was classified as not popular.
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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.