Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Benjamin-cup/jupiter-cpi
About solana jupiter cpi test, swap spl tokens in pda
https://github.com/Benjamin-cup/jupiter-cpi
Last synced: 7 days ago
JSON representation
About solana jupiter cpi test, swap spl tokens in pda
- Host: GitHub
- URL: https://github.com/Benjamin-cup/jupiter-cpi
- Owner: Benjamin-cup
- Created: 2024-12-23T14:51:23.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-23T15:06:07.000Z (about 2 months ago)
- Last Synced: 2024-12-23T16:22:05.478Z (about 2 months ago)
- Language: TypeScript
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-jupiter - Swap with CPI example
- awesome-jupiter - Swap with CPI example
README
# SOL Swap with Jupiter CPI
This is a test project for Jupiter CPI
## Contact me
gmail : [email protected]discord : @.benjamincup
## 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