{"repo":"ilkamo/jupiter-go","free":true,"listed":false,"github":"https://github.com/ilkamo/jupiter-go","clone":"git clone https://github.com/ilkamo/jupiter-go.git","description":"Go client for Jupiter (https://jup.ag/)","language":"Go","stars":126,"topics":["blockchain","go","golang","golang-library","jupiter","solana","swap","trading"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Jupiter-go Go library to interact with Jupiter to get quotes, perform swaps and send them on-chain This library provides a simple way to interact with the Jupiter API to get quotes and perform swaps. It also provides: - A solana client to send the swap transaction on-chain and check its status. - A solana monitor to wait for a transaction to reach a specific commitment status. Installation Usage Here's a simple example to get a quote and the related swap instructions from Jupiter: Once you have the swap instructions, you can use the solana client to sign and send the transaction on-chain. Please remember, when a transaction is sent on-chain it doesn't mean that the swap is completed. The instruction could error, that's why you should monitor the transaction status and confirm the transaction is finalized without errors. A full swap example is available in the examples/swap folder. For a swap with Jito tips, check the examples/jitoswap folder. A transaction monitoring example using websocket is available in the examples/txmonitor folder. API Key Usage To use Jupiter's API, you need an API key. The recommended way is to configure the client once with WithRequestEditorFn , which automatically injects the API key into every request: With this approach, you don't need to pass the API key to individual method calls—it's handled automatically. Jupiter client The Jupiter client is generated from the official Jupiter openapi definition and provides the following methods to interact wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/ilkamo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ilkamo/jupiter-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}