You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can autogenerate a client with openapi-gen and the openapi schema but the structs cannot be directly consumed as solana sdk or appropirate rust types.
3
+
## Introduction
4
4
5
-
The crate `jupiter-swap-api` exposes the API types to allow
5
+
The `jup-swap-api-client` is a Rust client library designed to simplify the integration of the Jupiter Swap API, enabling seamless swaps on the Solana blockchain.
6
6
7
-
If you must use solana 1.16 crates, there is a work in progress to relax tokio pinned too low conflicting with many other crates https://github.com/solana-labs/solana/pull/32943
7
+
### What is jup.ag?
8
+
9
+
[jup.ag](https://jup.ag/) is a powerful platform that provides developers with an easy way to access liquidity on the Solana blockchain. It simplifies the process of executing swaps by allowing you to specify the desired token pairs, amount, and slippage. In return, the API will provide you with the serialized transactions required to execute the swap on the Solana blockchain, complete with the necessary signatures.
10
+
11
+
## Getting Started
12
+
13
+
To use the `jup-swap-api-client` crate in your Rust project, follow these simple steps:
14
+
15
+
Add the crate to your `Cargo.toml`:
16
+
17
+
```toml
18
+
[dependencies]
19
+
jup-swap-api-client = "0.1.0"
20
+
```
21
+
22
+
## Examples
23
+
24
+
Here's a simplified example of how to use the `jup-swap-api-client` in your Rust application:
0 commit comments