-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitBook: [master] 24 pages and 6 assets modified
- Loading branch information
1 parent
9715438
commit 63796b0
Showing
30 changed files
with
2,226 additions
and
51 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
# Introduction | ||
|
||
## [Zapper](https://www.zapper.fi/dashboard) is the ultimate hub for DeFi. Our mission is to make DeFi accessible and easy to use. | ||
 | ||
|
||
## **Features** | ||
|
||
1. \*\*\*\*[**Dashboard**](invest/dashboard.md)\*\*\*\* | ||
1. \*\*\*\*[**Zapper API**](zapper-api/api-getting-started.md) ****DeFi Data and Transactions builder | ||
2. \*\*\*\*[**Smart Contracts**](zapper-smart-contracts/smart-contracts.md) ****View a list of all the Zapper smart contracts | ||
3. **Learn Zapper** | ||
|
||
Get a snapshot of all your DeFi assets & liabilities. | ||
Find out how to use the Zapper user interface to its fullest | ||
|
||
2. \*\*\*\*[**Exchange**](invest/exchange.md)\*\*\*\* | ||
* [**Dashboard**](learn-zapper/dashboard.md)\*\*\*\* | ||
|
||
Swap assets with our exchange aggregator | ||
Get a snapshot of all your DeFi assets & liabilities. | ||
|
||
3. [**Pool**](invest/pooling/) | ||
* [**Exchange**](learn-zapper/exchange.md)\*\*\*\* | ||
|
||
Invest in unique opportunities available across the always expanding list of available [DeFi platforms](https://zapper.fi/protocols) | ||
Swap assets with our exchange aggregator | ||
|
||
4. [**Farm**](invest/farming.md) ****Generate yield with your assets | ||
5. [**Bridge**](invest/bridge.md)\*\*\*\* | ||
* \*\*\*\*[**Pool** ](learn-zapper/pooling/)\*\*\*\* | ||
|
||
Migrate funds from Ethereum to L2s and sidechains | ||
Invest in unique opportunities available across the expanding list of available [DeFi platforms](https://zapper.fi/protocols) | ||
|
||
6. \*\*\*\*[**Zapper API**](build/zapper-api.md) ****DeFi Data and Transactions builder | ||
* [**Farm**](learn-zapper/farming.md) ****Generate yield with your assets | ||
* [**Bridge**](learn-zapper/bridge.md)\*\*\*\* | ||
|
||
\*\*\*\* | ||
Migrate funds from Ethereum to L2s and sidechains | ||
|
||
|
||
**** | ||
|
||
\*\*\*\* | ||
|
||
If you have questions or would like to learn more to about Zapper feel free to join our [Discord](https://discord.com/invite/5C4wxPr) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
# Brand Assets | ||
|
||
 | ||
## Download | ||
|
||
 | ||
Get the all of the Zapper assets as svgs at the download below. | ||
|
||
 | ||
{% file src="../.gitbook/assets/zapper\_brand\_assets \(1\).zip" caption="Zapper Brand Assets" %} | ||
|
||
 | ||
### Brand Examples | ||
|
||
## Download | ||
 | ||
|
||
Get the all of the Zapper assets as svgs at the download below. | ||
 | ||
|
||
{% file src="../.gitbook/assets/zapper\_brand\_assets \(1\).zip" caption="Zapper Brand Assets" %} | ||
 | ||
|
||
 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Bridge | ||
|
||
{% embed url="https://www.youtube.com/watch?v=VSSaQTMZfIM" caption="Defi Class on how to use the Zapper Bridge" %} | ||
|
||
## What is the Purpose of a Bridge? | ||
|
||
A bridge is an easy way of porting assets from Ethereum to layer 2s and sidechains. By being able to port their assets over, you gain access to lower fees when interacting with different defi protocols. Zapper currently only supports a one way bridge, but there are plans to make it a two way bridge in the near future. | ||
|
||
 | ||
|
||
**Currently Supporting:** | ||
|
||
* **Polygon** | ||
* **Binance Smart Chain** | ||
* **Optimism** - Coming Soon | ||
* **xdai** - Coming Soon | ||
|
||
### Connecting to a Network - Polygon \(Matic\) | ||
|
||
You will need to first set up a custom RPC to connect your wallet to the Matic Mainnet. Then click on the network options in Metamask on the top and select Custom RPC in the dropdown. | ||
|
||
 | ||
|
||
Then enter in the information below to create a custom RPC for Polygon \(Matic\). | ||
|
||
**Network Name:** Matic Mainnet | ||
|
||
**New RPC URL:** [https://rpc-mainnet.matic.network](https://rpc-mainnet.matic.network/) | ||
|
||
**Chain ID:** 137 | ||
|
||
**Symbol:** MATIC | ||
|
||
**Block Explorer URL**: [https://explorer.matic.network/](https://explorer.matic.network/) | ||
|
||
|
||
|
||
## Chainlist | ||
|
||
A list of different chain information can be found [here](https://chainlist.org/). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
description: An overview of your DeFi assets and liabilities | ||
--- | ||
|
||
# Dashboard | ||
|
||
## **Supported Platforms** | ||
|
||
At Zapper, the team is always working on adding on new protocols. Check out our updated list of [supported platforms](https://zapper.fi/protocols) to see the latest additions. If you would like to suggest an addition, or you are building a protocol and would like to see it on Zapper, you can make [requests here](https://features.zapper.fi/). | ||
|
||
**Enter an address or connect a wallet to see your own dashboard at** [**Zapper**](https://zapper.fi)\*\*\*\* | ||
|
||
 | ||
|
||
{% hint style="info" %} | ||
The dashboard updates dynamically in real time reflecting current market conditions. Check out the [live demo](https://zapper.fi/dashboard?address=0x43a5c1331375f1f34bd774ecaee51501e9ca2db5) | ||
{% endhint %} | ||
|
||
## Supported Wallets | ||
|
||
Zapper supports a wide range of wallets to enable anyone to access DeFi. If your favorite wallet is not listed here, feel free to [make a request](https://features.zapper.fi/feature-requests). | ||
|
||
 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
description: Zapper DEX Aggregator | ||
--- | ||
|
||
# Exchange | ||
|
||
## The best swaps in DeFi. | ||
|
||
Zapper is a [decentralized exchange](https://zapper.fi/exchange) that does not require you to deposit tokens like centralized exchanges \(e.g. Coinbase\). Signups are not required to use the exchange and all trades are executed trustlessly in a peer-to-peer manner. | ||
|
||
In order to source and execute the best available swaps in DeFi, the exchange sources deep liquidity among all of the top exchanges at once, intelligently routing and executing swaps for any of the hundreds of tokens supported by Zapper. | ||
|
||
### [Zapper Exchange](https://zapper.fi/exchange) | ||
|
||
* Search over 18 exchanges at once, selecting the best swap to minimize slippage and gas fees. | ||
* Intelligently route your swap, splitting the input among multiple exchanges and tapping into PMMs if necessary in order to optimize the trade. | ||
|
||
|
||
|
||
 | ||
|
||
## Video Walkthrough | ||
|
||
{% embed url="https://youtu.be/Jl6uLLO62j8?t=1205" %} | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Farm | ||
|
||
## **What does 'Yield Farming' mean?** | ||
|
||
**Utilizing your assets to generate governance tokens.** | ||
|
||
{% embed url="https://youtu.be/SUoaaqQCs6g" caption="How to get Started Yield Farming" %} | ||
|
||
## How does Farming work? | ||
|
||
Let's say that there is a new token called Bleep Token \(BLP\) and they are hoping to gain liquidity on different decentralized exchanges. Ideally, as a new token it is important to have liquid markets because it allows for larger trades without slippage. | ||
|
||
 | ||
|
||
In this example, a way for the Bleep Token \(BLP\) creators to get liquidity on Uniswap could be incentivize it through a rewards program where anyone that locks up ETH/BLP Uniswap Liquidity provider tokens in a rewards contract will reward Bleep Token \(BLP\) over time until they remove their liquidity provider tokens. | ||
|
||
 | ||
|
||
## Farming on Zapper | ||
|
||
You can add assets to different liquidity pools under the pool tab. The example below shows how you can invest into the WBTC/ETH pool on Sushiswap. | ||
|
||
 | ||
|
||
Once you has invested into a pool, you can then take your liquidity provider tokens and lock them into a rewards contract. In this example, the SUSHI liquidity provider tokens can be locked into the reward contracts to earn SUSHI as a reward for providing liquidity to Sushiswap. | ||
|
||
 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Pool | ||
|
||
{% embed url="https://youtu.be/kbGhu1dxRhM" caption="How to Become a Liquidity Provider" %} | ||
|
||
## What does "Pooling" mean | ||
|
||
> **Providing liquidity to** [_**constant function market makers**_](https://medium.com/bollinger-investment-group/constant-function-market-makers-defis-zero-to-one-innovation-968f77022159) _**& earning proportional exchange fees in return.**_ | ||
> | ||
> ### Traditional Finance: | ||
> | ||
> * Most exchanges _**maintain an order book**_ and facilitate matches between buyers and sellers. | ||
> * For each successful match, traders are charged _**exchange fees**_ which go directly to exchange operators. | ||
> | ||
> ### The DeFi Difference: | ||
> | ||
> * _**Smart contracts hold liquidity**_ reserves of various tokens, and trades are executed directly against these reserves. | ||
> * _**Prices are set automatically**_ using the constant product market maker mechanism, which keeps overall reserves in relative equilibrium. | ||
> * Reserves are pooled between a network of liquidity providers who supply the system with tokens and receive a _**proportional share of transaction fees**_ accrued. | ||
> * **IMPORTANT NOTE:** With fluctuating prices, liquidity providers may incur [**“impermanent loss”**](https://medium.com/@pintail/understanding-uniswap-returns-cc593f3499ef)**.** | ||
## Adding Liquidity | ||
|
||
In the example below a user is supplying ETH and DAI to a Uniswap pool. After adding their assets, they receive Uniswap liquidity provider tokens which represent a share of the underlying assets in the smart contract. When supplying liquidity to Uniswap, the assets need to be provided in 50/50 proportions. For example, if adding $1000 in liquidity to the ETH-DAI pool, $500 worth of DAI and $500 worth of ETH must be added. | ||
|
||
 | ||
|
||
## Zapper allows for access to the best pooling opportunities with a single click | ||
|
||
Zapper allows you to add liquidity in a single transaction. For example, if you only has ETH, but would like to to supply to the ETH-DAI Uniswap pair with Zapper you don't have to worry about manually converting half the ETH into DAI and then submit another transaction to add the liquidity. | ||
|
||
 | ||
|
||
Instead the Zapper contracts will handle this under the hood and will swap to exactly half the amount of ETH into DAI and will then add both assets to the Uniswap pool. Lastly, the contract will pass the liquidity provider tokens back to your address at the end of the transaction, both steps done in one transactions. | ||
|
||
 | ||
|
||
## Impermanent Loss TLDR | ||
|
||
Impermanent loss sounds like a scary term, but can be broken down into a simple balance between the amount of fees collected by a pool vs the amount of price shift between the supplied assets. Pairs that earn large amounts of fees tend to be the ones that have the most price divergence between the underlying assets. | ||
|
||
 | ||
|
||
In simple terms, when supplying liquidity it is easiest to think that when entering a pool that the liquidity provider tokens are a weighted index of the pool you are in. So when you zaps in your ETH into the ETH-DAI Uniswap pool they now hold an LP token that is somewhat like a 50/50 weighted index between ETH and DAI. This pool tends to earn lots of fees due to people frequently trading between the assets. However, as a liquidity provider, you no longer has full price exposure to ETH. | ||
|
||
## Explore Different Pooling Opportunities | ||
|
||
{% page-ref page="uniswap.md" %} | ||
|
||
{% page-ref page="curve.md" %} | ||
|
||
{% page-ref page="balancer.md" %} | ||
|
Oops, something went wrong.