Squads v3 Docs
  • Welcome to Squads
  • Who we are?
  • Basics
    • What's a Multisig?
    • What's a Squad?
  • Getting Started
    • Create a Squad
  • Navigating Your Squad
    • Dashboard
    • Vault
    • Transactions
    • Developers
      • Programs
      • Token Manager
      • Validators
      • TX Builder
    • Creators
    • Apps
    • Owners and Settings
  • Integrations
    • Staking
      • Stakewiz
      • JitoSOL
      • Lido
      • Marinade
      • SolBlaze
    • Tensor
    • Cardinal
    • Dialect
    • Bonfida
    • Jupiter
    • Coinflow
  • Security and audits
    • Security
    • Security Policy & Bug Bounty
    • Audit reports
  • Frequently Asked Questions
    • General
    • Protocol
    • Costs of using Squads
  • Development
    • PDAs
      • Multisig
      • Transaction
      • Instruction
      • Derivation
    • Authorities
    • Anchor IDL
      • Loading the Program
      • Create a Multisig
      • Transactions
        • Create a Transaction
        • Adding Instructions
        • Activating a Transaction
        • Approve / Reject a Transaction
        • Executing
    • SDK
  • Squads Community
    • Self Custody Society (SCS)
    • Community
Powered by GitBook
On this page
  • What is Jupiter?
  • How do Squads Protocol users benefit from this integration?
  • How to swap tokens directly from your Squad?
  1. Integrations

Jupiter

The details of our integration with Jupiter.

PreviousBonfidaNextCoinflow

Last updated 2 years ago

What is Jupiter?

Jupiter is the liquidity aggregator for Solana, offering the widest range of tokens and the best route discovery between any token pair. Jupiter allows users to swap their tokens in the quickest and most efficient manner possible.

How do Squads Protocol users benefit from this integration?

Swaps powered by Jupiter are seamlessly integrated into the Vault tab, allowing users to swap tokens directly from their Squad without the need to withdraw funds to the individual wallets, which increases users' exposure to different attack vectors and puts their Squad funds at risk.

How to swap tokens directly from your Squad?

To swap tokens:

  1. Navigate to the "Vault" tab.

2. Locate the "Swaps" section and select the pair you would like to swap.

For now, users can create single-leg swaps (SOL->USDC).

3. Upon selecting the pair 3 best routes will appear below the pair selection fields.

4. Configure the slippage tolerance. You can select from the predefined options (0.1%, 0,5% and 1%) or input it manually (capped at 15% max).

Trade prices constantly change. Slippage tolerance is designed to determine the minimum amount of the receivable tokens. If the price of the receivable asset deviates above the slippage tolerance percentage, the transaction will fail to execute. In this case, the user will need to initiate a new swap or wait until the exchange rate gets back to the indicated slippage tolerance range.

5. Insert the description of the transactions. This step is optional.

6. Users can also check the price info which indicates:

a. Rate: shows the exchange rate for the selected route;

b. Slippage: shows the slippage tolerance percentage;

c. Price impact: the size of the trade can affect the rate that users are getting. Price impact measures how much the size of the trade is affecting the price.

d. Minimum received: the minimum amount of tokens that a user will receive upon transaction execution. Is based on the slippage tolerance.

e. AMM fees: fees paid to the AMM for routing the swap.

f. Platform fees: fees incurred by Squad platform (0.85%).

7. Launch the transaction. Once the transaction reaches the confirmations threshold and is executed, the swap will be completed.

Squads x Jupiter
Vault tab
Swap pair
Best routes
Slippage tolerance
Price info
Page cover image