Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microgift/jup-cpi
solana jupiter cpi test, swap spl tokens in pda
https://github.com/microgift/jup-cpi
jupiter solana swap token
Last synced: about 16 hours ago
JSON representation
solana jupiter cpi test, swap spl tokens in pda
- Host: GitHub
- URL: https://github.com/microgift/jup-cpi
- Owner: microgift
- Created: 2024-03-12T20:06:55.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-12T20:15:23.000Z (10 months ago)
- Last Synced: 2025-01-03T01:37:14.866Z (7 days ago)
- Topics: jupiter, solana, swap, token
- Language: TypeScript
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SOL Swap with Jupiter CPI
This is a test project for Jupiter CPI
## How this works?
1. You need to initialize vault first.
2. Deposit some tokens to the vault.
3. Swap spl-tokens on the vault.* Program: `./programs/token-swap/src/lib.rs`
* Test: `./cli/test-swap.ts`
* Transaction: https://solscan.io/tx/5uBvVAxjFNFowDPRV8p1Mxd6jQCmWRknhwiN3v7ipk2Gdqk1KtPUwCnWnUBy4cnYeqSUtibDxvGCwc3kGwqkDp95