Jupiter Plugin for GOAT SDK
A plugin for the GOAT SDK that provides Jupiter DEX aggregator functionality for token swaps on Solana.
Installation
# Install the plugin
poetry add goat-sdk-plugin-jupiter
# Install required wallet dependency
poetry add goat-sdk-wallet-solana
Usage
from goat_plugins.jupiter import jupiter, JupiterPluginOptions
# Initialize the plugin
options = JupiterPluginOptions(
rpc_url="${RPC_PROVIDER_URL}" # Your Solana RPC URL
)
plugin = jupiter(options)
# Get swap quote
quote = await plugin.get_swap_quote(
input_mint="EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", # USDC
output_mint="So11111111111111111111111111111111111111112", # SOL
amount=1000000, # 1 USDC (6 decimals)
slippage_bps=50 # 0.5% slippage tolerance
)
# Execute swap
result = await plugin.swap(
input_mint="EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", # USDC
output_mint="So11111111111111111111111111111111111111112", # SOL
amount=1000000, # 1 USDC (6 decimals)
slippage_bps=50, # 0.5% slippage tolerance
wallet_address="your_wallet_address"
)
Features
- Token price discovery
- Swap quote generation
- Token swap execution
- Best route finding
- Supported tokens:
- All SPL tokens
- Native SOL
- Wrapped SOL (WSOL)
- Features:
- Multi-route swaps
- Split trades
- Price impact protection
- MEV protection
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for goat-sdk-plugin-jupiter 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| goat_sdk_plugin_jupiter-0.1.3.tar.gz | 4.2 kB | Without provenance | Details for goat_sdk_plugin_jupiter-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| goat_sdk_plugin_jupiter-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for goat_sdk_plugin_jupiter-0.1.3-py3-none-any.whl |
Total release size: 9.1 kB
Release files / goat_sdk_plugin_jupiter-0.1.3.tar.gz
| Download URL | goat_sdk_plugin_jupiter-0.1.3.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fa4dfe107ba49eb1233d65f0d3475569179c5cd22f3c5d211506516ff0f8ada
|
|
BLAKE2b-256 checksum How to use checksums |
9e33a52d897b8e94030baf2478e359646b6f71b1ab079b6a5c10225359edd439
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Release files / goat_sdk_plugin_jupiter-0.1.3-py3-none-any.whl
| Download URL | goat_sdk_plugin_jupiter-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35cf209b25a23864a112914fa21d989c078e4fbec949f97016ac064166caca65
|
|
BLAKE2b-256 checksum How to use checksums |
e94e74513eb599da65f24ea058fa62b78b9e430a9bdb2aa075439b5e3efe3b4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Security for goat-sdk-plugin-jupiter 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.