GammaSwap Docs
  • Introduction πŸ‘‹
  • Getting Started
    • πŸ”— | Create & Connect a Wallet
      • Create a Wallet
      • Connect Your Wallet
    • βœ… | Add & Approve Tokens
      • Add Tokens To Your Wallet
      • Approve Tokens
  • Guides
    • 🌊 | Provide Liquidity
      • Why LP in GammaSwap?
      • How to Provide Liquidity
      • How to Remove Liquidity
      • Risks of Providing Liquidity
      • Creating a Pool
    • πŸ“ˆ | Trade Perpetual Options
      • Perpetual Options Explained
      • Opening & Closing Positions
      • Position Details
      • Borrow Rate
      • Trading Fees
      • How to Calculate PnL
      • Risks of Perpetual Options
    • 🀝 | Swap
      • How to Swap
    • πŸ’§ | Liquidations
      • What if I was Liquidated?
      • How Liquidations Work
    • βš™οΈ | Tokenomics
      • Token Distribution
      • Rewards Overview
    • πŸ₯© | esGS Staking
      • Staking Guide
      • Vesting Staking Rewards
    • 🚜 | Farms
      • Farming esGS via Liquidity Mining
      • Vesting escrowed tokens from farms
      • Legacy Farms
  • Resources
    • Contract Addresses
    • Treasury & Timelocks
    • Audits
    • Governance
    • Subgraphs
    • Glossary
    • Partnerships
    • Support
Powered by GitBook
On this page
  1. Getting Started
  2. βœ… | Add & Approve Tokens

Approve Tokens

How to approve tokens for transactions

PreviousAdd Tokens To Your WalletNext🌊 | Provide Liquidity

Last updated 11 months ago

Before you can perform an action on GammaSwap or on any DeFi site, you need to grant access to move some or all of your tokens. The safest, and the highly recommended way, is to only approve the amount you need to currently spend. You have the option of approving infinite tokens, but it is considered less secure, as it gives the specific DeFi contract the ability to move all your coins at once. If you simply want to execute a few transactions, only approving a specific amount will maximize the security of your assets.

  1. There's no need to pre-approve in advance. When you're ready to initiate a transaction on GammaSwap, if a token needs approval, you'll see an "Approve" button. As shown in this screenshot for USDC on GammaSwap.

  1. MetaMask will then ask you to confirm the amount you want to authorize. Enter the amount you want to approve and then click β€œNext” and then β€œApprove” the translation to send it.

  1. That concludes the process. If you were trying to do a trade or perform another action on GammaSwap, look for the β€œConfirm” button. After confirming, proceed to execute the transaction through MetaMask.