PancakeSwap 백서

PancakeSwap

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 50쪽

d on current market conditions, saving you time and reducing the risk of failed trades. With **Auto Slippage**, there's no need to manually adjust your slippage tolerance. This helps prevent common issues such as: * **Setting slippage too low**, which can cause transactions to fail due to minor price changes during execution. * **Setting slippage too high**, which may result in receiving fewer tokens than expected due to accepting a wider price range. {% hint style="info" %} To ensure the best trading experience, auto slippage has been **toggled on automatically**. If a manual slippage tolerance has been set, the new slippage setting will be applied. {% endhint %} ## How does Auto Slippage work? <pre class="language-html"><code class="lang-html"><strong>Auto Slippage (%) = (Gas Cost in USD / Output Token Value in USD) * 100% </strong></code></pre> * If the gas cost is high compared to the output token’s value, Auto Slippage will set a higher slippage to ensure the trade goes through. * If gas is cheap and the output token's value is large, a smaller slippage will be used. Auto Slippage will choose a value between **0.5%** and **5.0%**, depending on token and network conditions. ## Is Auto Slippage available on all networks? No — Auto Slippage is only supported on Layer 1 (L1) chains like BNB Chain, Ethereum, etc. It is not supported on Layer 2 (L2) chains, because: * The auto slippage formula relies on meaningful gas cost values to calculate a useful slippage setting * Since L2 gas fees are very low, applying auto slippage on L2s wouldn’t improve trade success rates {% hint style="success" %} If Auto Slippage is **not supported** on a network: * Your previously used slippage setting will be applied * If you haven't set one before, it will default to 0.5% {% endhint %} # How to Set Slippage on PancakeSwap #### How to Set Slippage on PancakeSwap PancakeSwap offers two options for setting slippage: * Auto Slippage: Automatically adjusts based on the token and market conditions. * Fixed Slippage: Allows you to set a specific slippage percentage for more control. You may access these settings from: 1. Clicking the settings icon (Top right panel of Swap) 2. Edit icon in the Swap details -> Slippage Tolerance <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXew-6qib2x649vtCDOdxY0PXlE2SS-lDhfxHffTsG-_uvTQKgWkh20GOuiqThlJtaXmtHbFQoIdC3TSv6I1Fvh-vmnD15r85KUhiRo-CTG_bM5l3lOMejcfnfEPVHZRpEvdnkdYYg?key=TNLdJ0jw6EBh-FaH6ZdZ7i11" alt=""><figcaption></figcaption></figure> <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcdKTK7ZDgzfsWIuDB7Jm0F4xTBM2utEW3VLhPHLLofg9V4NU64VwgSrUEw-X23B3eH_Zo3JxrBhfXPPk4bE6jc4uzzkCODwWKcTVZ5xHg0JgkfJRSJQXhzxZrAH4gWT6WHy10E1A?key=TNLdJ0jw6EBh-FaH6ZdZ7i11" alt=""><figcaption></figcaption></figure> # Social Login {% hint style="danger" %} Smart Wallets created through Social Login currently support only a [limited set of networks](https://docs.pancakeswap.finance/trading-tools/social-login/social-login-faq#general-overview).\ Transferring assets to a chain that is *not supported* by the Smart Wallet UI or the underlying wallet provider may result in your funds becoming temporarily inaccessible. {% endhint %} ### What is Social Login? PancakeSwap’s **Social Login** allows you to create a secure, self-custodial wallet using your Google, X (Twitter), Discord, or Telegram account — no browser extensions, seed phrases, or complicated setup required. It’s the fastest way to start exploring DeFi, especially for newcomers or those looking to jump in quickly. Your wallet is created automatically in the background and works seamlessly across all supported PancakeSwap chains. #### 🚀 Social Login + Pancake Gifts: A Seamless DeFi Onboarding When paired with **PancakeSwap Gifts**, Social Login delivers the ultimate beginner-friendly experience: * **Receive a gift** (tokens or NFTs) via a simple link * **Sign in instantly** with your social account * **Claim and use your assets** — no wallet setup or tech know-how needed This flow removes the common hurdles of starting in crypto and makes it easier than ever to get onboarded into the PancakeSwap ecosystem. Explore now: * [Pancake Gifts](/trading-tools/pancake-gifts) * [Social login: How-To Guide](/trading-tools/social-login/social-login-how-to-guide) * [Social Login FAQ](/trading-tools/social-login/social-login-faq) # Social login: How-To Guide Get started with DeFi in seconds — no wallet extensions or seed phrases needed. Follow the steps below to create your social login wallet, set a recovery password, and recover your wallet on a new device. ### 1. Creating Your Social Login Wallet 1. Go to pancakeswap.finance 2. Click **Connect Wallet** → Select **Connect with Social Login** <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FwsDd0NBG4MuPtfMD0ZUX%2Fimage.png?alt=media&amp;token=e751847f-b2b9-46aa-9949-0e28b124819e" alt="" width="375"><figcaption></figcaption></figure> 3. Choose your preferred social login method: * **Google** * **X (Twitter)** * **Telegram** * **Discord** > 💡 Each social account creates one unique wallet for use on PancakeSwap. <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2F6CAzeKF1HU9x6IhZnXW3%2Fimage.png?alt=media&amp;token=f02710dc-0c77-4baf-91c1-5b1ead4d6de3" alt="" width="298"><figcaption></figcaption></figure> 4. Log in with your selected social account credentials <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FTPPfNvktOpH6yrjsjClh%2Fimage.png?alt=media&amp;token=a4e456fd-e693-49f3-a11a-468675c32d93" alt="" width="375"><figcaption></figcaption></figure> 5. Once login is successful, your wallet will be created and ready to use <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2F0L9AYr87qT63RQX278s2%2Fimage.png?alt=media&amp;token=b3f03e01-7988-45d9-8c64-0599c8e6567c" alt=""><figcaption></figcaption></figure> *** ### 2. Setting a Recovery Password After your first login, you'll be prompted to set a **recovery password**. This step is optional but highly recommended for full wallet control. 1. Click **Set Recovery Password** when prompted > 🔒 If left unset, the recovery share will be stored by Privy by default > > 🔑 [Learn more about recovery shares](https://docs.privy.io/security/wallet-infrastructure/advanced/user-device#securing-the-recovery-share) {% hint style="success" %} If you dismiss this prompt, it will reappear again after 1 week, as part of PancakeSwap’s commitment to wallet security. {% endhint %} <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FVcLQA3yR1ajVys08jYI3%2Fimage.png?alt=media&amp;token=56a13fcb-d381-4c45-9f20-e7a5eff171d0" alt="" width="263"><figcaption></figcaption></figure> 2. Choose a **memorable password** — you'll need it for logging in on a new device or when your session expires > ⚠️ If forgotten, wallet access may be permanently lost <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FjoVQyWxKqM2eJYJ3o4XS%2Fimage.png?alt=media&amp;token=779c92e7-247c-494e-b958-3f4b627ea93b" alt="" width="280"><figcaption></figcaption></figure> 3. Save your password securely by **copying or downloading** it <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FfP4IEyoiZuR8aRqdcVV8%2Fimage.png?alt=media&amp;token=c5f6a38b-b978-4b8c-a404-8b55e1d70673" alt="" width="274"><figcaption></figcaption></figure> 4. Re-enter your password to confirm > ❗ An error will appear if your passwords don’t match <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FbcgkHvRXRSyax61t7rei%2Fimage.png?alt=media&amp;token=79372548-b77b-4444-ad99-ae2aa03ff697" alt="" width="269"><figcaption></figcaption></figure> <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FMsrt3tPyQymHNnxihDmg%2Fimage.png?alt=media&amp;token=1f6b46b7-317b-43ca-811e-10297533a645" alt="" width="266"><figcaption></figcaption></figure> 5. Review the **disclaimer** and confirm you understand the recovery password risk <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FInG7votTzsS3cIZQLrzc%2Fimage.png?alt=media&amp;token=a2d92888-4466-4b24-a4bf-35cca45a1da5" alt="" width="279"><figcaption></figcaption></figure> 6. 🎉 Success! Your recovery password is now set > Reminder: You’ll be asked to enter it again when your session ends or you switch devices <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2F16cNgs6ywVQEypnVmweX%2Fimage.png?alt=media&amp;token=4e8705aa-8863-4e1c-97ab-d798cbec5814" alt="" width="275"><figcaption></figcaption></figure> > *** ### 3. Recovering Your Wallet (New Device Login) If you access PancakeSwap on a new device, follow these steps to recover your wallet: 1. Log in with your **social account** on the new device 2. When you attempt your first transaction or on-chain action, you’ll be prompted to **enter your recovery password** <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FqWVmFU5vsloYjikuQBoH%2Fimage.png?alt=media&amp;token=b222edf8-a785-4a40-982a-d53476f3bebb" alt="" width="297"><figcaption></figcaption></figure> 3. Once confirmed, you can continue transacting as usual — no further setup required! # Social Login FAQ {% hint style="info" %} For more information view: <https://docs.privy.io/security/wallet-infrastructure/architecture#wallet-transaction> {% endhint %} ### 🔍 General Overview **1. What is PancakeSwap’s social login and why should I use it?** Social login lets you access PancakeSwap using your **Google**, **X (Twitter)**, **Discord**, or **Telegram** account — no wallet extension or seed phrase needed. A self-custodial wallet is created behind the scenes, so you can try DeFi instantly, even with small amounts. This lowers the barrier to entry, especially in time-sensitive moments. **2. What chains does social login support?** Your social login wallet works across all chains currently supported by PancakeSwap: * **BNB Chain** * **Ethereum** * **Base** * **Arbitrum** * **Linea** * **opBNB** All wallets are **EVM-compatible** and can be used across these networks natively through PancakeSwap. If you’d like to see support for other chains (including non-EVM), let us know! **3. Where can I use the social login wallet?** You can use it directly in any desktop or mobile **browser** through the PancakeSwap web app. It is **not compatible** with external wallet apps or dApp browsers. ### 🛠️ Wallet Setup & Usage **4. How is the wallet created and secured?** Your wallet is created automatically upon login and secured using a **2-of-2 key share system**. Both shares are required to reconstruct the key and generate a signature. For more information on share encryption view: * <https://docs.privy.io/security/wallet-infrastructure/architecture> * <https://privy.io/blog/how-privy-embedded-wallets-work> **5. How many wallets can I create?** You get **one wallet per social account per dApp**. For example, if you use your Google login on another app that also uses Privy, it will create a separate wallet. ### 🔐 Security & Privacy **6. Can someone access my wallet if they steal my device?** No. Even if someone gains access to your device, they would still need both your **social login** and (if set) your **recovery password**. **7. What data is stored by PancakeSwap or Privy?** * PancakeSwap **does not store** any wallet-related key shares. * Privy stores the **encrypted Auth Share and Recovery Share (if recovery flow is not set)**. > If you haven’t completed the recovery setup, your Recovery Share remains stored with Privy by default. For more info visit: <https://docs.privy.io/security/wallet-infrastructure/advanced/user-device#securing-the-recovery-share> ### 🔄 Recovery & Session Management **8. Can I use the same wallet on a different device or browser?** Yes! Simply log in with the same social account. If it's a new device, you'll go through the recovery process using your recovery password (if set up). **9. What happens if I switch devices?** You’ll be asked to re-login with your social account and go through the recovery flow (password setup). If you haven’t set up a recovery password, social account login is sufficient. **10. What if I lose access to both my social login and recovery method?** If you lose access to both your social account and your recovery method, **your wallet cannot be recovered**. There’s no seed phrase fallback, and private key export is not currently supported. > ⚠️ Remember: Exporting your private key, if enabled in the future, would grant full control of your wallet to anyone who has it — treat it with extreme caution. **11. How long do active sessions last?** Sessions last for 30 **days**. After that, you’ll be prompted to **log in again** and (if needed) re-enter your recovery credentials. During an active session, you can transact without needing to manually approve each action. ### ⚙️ Compatibility & Limitations **12. Can I export or import wallets?** * **Export**: Not supported by default, for security reasons. This may change in future updates. * **Import**: Not supported. You cannot import external wallets like MetaMask or Phantom. **13. Can I connect this wallet to other dApps using WalletConnect?** Not at this time. The embedded wallet is **limited to PancakeSwap only**. If you're interested in using it more broadly, let us know — future expansions are possible. ### 🚀 Advanced Features **14. Does the social login wallet support Account Abstraction?** Yes. It supports **Account Abstraction features** such as transaction batching and **gas sponsorship** through integrations like Biconomy etc. **15. How are signless transactions enabled?** * After login, your session is active for up to 30 **days**. During this time, PancakeSwap can request Privy to sign transactions on your behalf using your session credentials. * You won’t see a wallet popup for each action — everything is handled in the background. After 30 days, you’ll need to re-login to continue using this signless experience. # Pancake Gifts ### 🎯 What is Pancake Gifts? **Pancake Gifts** lets anyone send tokens — including optional gas — to friends, users, or communities using just a **link** or **QR code**. It’s a simple, secure, and gasless experience for the recipient. It’s built to make onboarding into crypto as easy as sending a message — no wallet funding, no bridging, no upfront fees. ### 🤝 Why We Built Pancake Gifts Onboarding to Web3 is still full of friction. New users often give up before they even get started due to: * **No gas in wallet** → Can’t perform any onchain action * **No funds on the correct chain** → Bridging is required before using dApps * **Need to buy crypto just to get started** → Requires CEX signup or fiat on-ramp Pancake Gifts eliminates these blockers by: * ✅ **Including native gas tokens** in the gift so recipients can interact instantly * ✅ **Sponsoring the gas fee upfront** (sender pays a small fee) * ✅ **Enabling claim via a simple link or QR** — no complex onboarding It’s a tool for both: * New users getting started onchain * Web3-native communities looking to **boost adoption, reward users, or run campaigns** in a friendlier way *** ### ⚙️ Feature Summary | Feature | Description | | ---------------------- | ---------------------------------------------------------------- | | **Chain Support** | BNB Chain (initial launch) | | **Gift Code Types** | Link **or** QR Code | | **One-time Use** | Each code can only be claimed once | | **Token Support** | Max 2 tokens: 1 BEP-20 (required), 1 native gas token (optional) | | **Custom Amounts** | Set different values per token | | **Gift Claim Gas Fee** | Sender prepays gas (\~$0.05 in BNB) | | **Gift History** | Users can view all sent gifts, claim status, expiry | | **Security Checks** | Fee-on-transfer and complex logic tokens are disallowed | ### 🚫 Limitations 1. **One gift per code** — Mass gifting is not yet supported. 2. **Gifts cannot be reinstated** — Once cancelled or expired, they cannot be reused. 3. **Unsupported tokens are blocked** — Tokens with transfer fees or special logic will show an error on creation. 4. **Unsuccessful claims are retried** — Backend retries a few times. If still failed, the gift is marked **unclaimable** and must be cancelled manually to retrieve funds. 5. **Gift must be claimed on the same chain** — e.g. ETH gift must be claimed on Ethereum. Cross-chain claiming is not supported yet. *** ### 🕒 Cancel & Expiry Logic Gifts follow a defined lifecycle based on status and time: #### Manual Cancel * The **creator** can cancel any gift that is still **unclaimed** and **within the expiry window**. * Tokens (minus the initial Gift Claim Gas Fee) will be returned to the sender. * Cancelled gifts **cannot** be reactivated or reused. #### Auto Expiry * Gifts **automatically expire** after a user-defined period (default: 7 days). * Unclaimed tokens will be **auto-returned** to the sender’s wallet. * Expired gifts are also non-reusable. *** ### 🔄 Gift Statuses & What They Mean | Status | Description | | --------------- | ------------------------------------------------------------------------ | | **Pending** | Gift has been created and is awaiting claim | | **Claimed** | Gift was successfully claimed by a recipient | | **Cancelled** | Gift was manually cancelled by the sender | | **Expired** | Gift passed the expiry time without being claimed | | **Unclaimable** | Number of retries exceeded; gift needs to be cancelled to retrieve funds | *** ### ⚠️ Error Handling & Edge Cases 1. **Unsupported Token** * Gift creation is blocked for tokens with transfer fees or special logic. 2. **Gas Mismatch** * If **actual claim gas cost ≥** the sender’s prepaid fee, the claim fails automatically to prevent overuse. This will be retried once gas fee levels are within range. 3. **Failed Claim Attempts** * Retries will be attempted upon first unsuccessful claim. * If still unsuccessful: * Recipient sees “Unclaimable” * Sender must manually cancel the gift to retrieve funds and the recipient will have to request a new gift code. # Pancake Gifts: How-To Guide Pancake Gifts lets you send tokens — including optional gas — to friends, users, or community members using just a **link or QR code**. The process is quick, seamless, and beginner-friendly. This guide walks you through: * ✅ How to **create** a Pancake Gift * ✅ How to **send or share** it * ✅ How to **claim** a gift * ✅ How to **cancel** a gift (if unclaimed) *** ### 🧑‍🍳 Step 1: Create a Gift #### 1. Navigate to the Gift Creation Tab Go to the **Gift tab** inside the PancakeSwap Wallet UI. <figure><img src="https://2908774936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MHREX7DHcljbY5IkjgJ-1972196547%2Fuploads%2FOMsn0r1LfykYO7zJJqNe%2Fimage.png?alt=media&amp;token=8b579f5e-1032-49bc-9120-bb4c43f2b1fe" alt="" width="306"><figcaption></figcaption></figure>
프로젝트로 돌아가기