进入区块链的大门 — — 取消钱包授权(第五讲)
前面我们有讲到不同钱包的使用方法,和如何访问Dapp。对于经常访问Dapp和使用DeFi应用的人们来说,若想在DeFi协议上使用代币,‘’代币授权‘’是经常性的步骤。什么是代币授权?以太坊链、EVM链(BSC/HECO/OKExChain/Polygon等)和波场链上的Dapp大都涉及到合约操作,授权即表示允许该合约地址提取用户的代币。Dapp需要访问代币才能需要对其操作。比如你想在uniswap卖掉WBTC,则需要‘’Approve‘’ Uniswap的智能合约访问你钱包内WBTC的权限,然后才能通过第二笔交易把WBTC转换成其他代币。在钱包上面,你可以看到该授权。为了提升用户体验,减少授权次数,Dapp会要求无限授权,即该智能合约有权对钱包内的某个币种有不限量的转移权限。对于靠谱的知名平台,如uniswap等,不会恶意操作转移用户的钱包资产。如果该Dapp一开始就是恶意的,则该钱包对于已经授权该平台的所有币种都有极大的安全隐患。即便是成熟的项目,也有可能存在漏洞而被攻击者利用。所以一旦用户给Dapp授权,钱包的该代币就会陷入风险。 虽然硬件钱包可以保护私钥,并且没有人能绕过硬...
进入区块链的大门 — — 网页插件钱包(第三讲)
我们前面讲到了加密货币钱包的概览,上一讲是关于imtoken钱包的使用。本讲的主要内容是Metamask。metamask 有两个版本,一个是在谷歌浏览器chrome的以太坊钱包插件,也是最常用的,另一个是手机的app。这里主要讲最常用的chrome浏览器插件版。 1. 下载谷歌浏览器:https://www.google.com/chrome/ 记住一定要在官网下载,或者在有保障的平台下载,不要下载未知源头下载的谷歌浏览器。 2. 下载metamask的chrome浏览器插件 metamask的官方网站为https://metamask.io/ 点击下载,然后选择Chrome, Install metamask for chrome 这个时候就会跳转到chrome商店然后添加插件到chrome浏览器就可以了。 安装完成后,浏览器的插件栏会出现metamask小狐狸图标,安装完成可以开始使用。 3. 开始使用生成钱包根据引导一步一步走,点击”开始使用”2. 导入或者创建 根据你的钱包习惯,喜欢用自己老的钱包去作为metamask钱包的话,可以直接用助记词导入钱包,在metamas...
进入区块链的大门 — — 硬件钱包的使用(第四讲)
我们前面讲到了加密货币钱包的概览,imtoken和metamask的使用。本讲的主要内容是硬件钱包 — ledger nano X的使用。 为什么选择Ledger? Ledger是法国的硬件钱包品牌,是目前销量最大的硬件钱包。产品经过了市场和安全机构的验证,使用方便。Ledger目前有三款产品,是ledger nano S,Ledger nano S plus 和 ledger nano X。Ledger nano S 只能连接电脑端并且最多安装3个币种的app。Ledger nano X 可以连接电脑端,并且可以通过蓝牙连接手机端。存储空间大,可以同时安装几十个app。因为Ledger nano X可以连接手机,适合对于操作频繁的用户购买。Ledger nano S plus则是 Ledger nano S的升级款,也可以同时安装几十个app,但是无法通过蓝牙与手机连接。在这里我推荐用户购买ledger nano S plus 或者ledger nano X,用户可以按需购买。为了保证安全,这里硬件设备只推荐从官网购买,因为无法判定其他经销商的真伪。避免因为买到假的硬件钱包或者...
<100 subscribers
进入区块链的大门 — — 取消钱包授权(第五讲)
前面我们有讲到不同钱包的使用方法,和如何访问Dapp。对于经常访问Dapp和使用DeFi应用的人们来说,若想在DeFi协议上使用代币,‘’代币授权‘’是经常性的步骤。什么是代币授权?以太坊链、EVM链(BSC/HECO/OKExChain/Polygon等)和波场链上的Dapp大都涉及到合约操作,授权即表示允许该合约地址提取用户的代币。Dapp需要访问代币才能需要对其操作。比如你想在uniswap卖掉WBTC,则需要‘’Approve‘’ Uniswap的智能合约访问你钱包内WBTC的权限,然后才能通过第二笔交易把WBTC转换成其他代币。在钱包上面,你可以看到该授权。为了提升用户体验,减少授权次数,Dapp会要求无限授权,即该智能合约有权对钱包内的某个币种有不限量的转移权限。对于靠谱的知名平台,如uniswap等,不会恶意操作转移用户的钱包资产。如果该Dapp一开始就是恶意的,则该钱包对于已经授权该平台的所有币种都有极大的安全隐患。即便是成熟的项目,也有可能存在漏洞而被攻击者利用。所以一旦用户给Dapp授权,钱包的该代币就会陷入风险。 虽然硬件钱包可以保护私钥,并且没有人能绕过硬...
进入区块链的大门 — — 网页插件钱包(第三讲)
我们前面讲到了加密货币钱包的概览,上一讲是关于imtoken钱包的使用。本讲的主要内容是Metamask。metamask 有两个版本,一个是在谷歌浏览器chrome的以太坊钱包插件,也是最常用的,另一个是手机的app。这里主要讲最常用的chrome浏览器插件版。 1. 下载谷歌浏览器:https://www.google.com/chrome/ 记住一定要在官网下载,或者在有保障的平台下载,不要下载未知源头下载的谷歌浏览器。 2. 下载metamask的chrome浏览器插件 metamask的官方网站为https://metamask.io/ 点击下载,然后选择Chrome, Install metamask for chrome 这个时候就会跳转到chrome商店然后添加插件到chrome浏览器就可以了。 安装完成后,浏览器的插件栏会出现metamask小狐狸图标,安装完成可以开始使用。 3. 开始使用生成钱包根据引导一步一步走,点击”开始使用”2. 导入或者创建 根据你的钱包习惯,喜欢用自己老的钱包去作为metamask钱包的话,可以直接用助记词导入钱包,在metamas...
进入区块链的大门 — — 硬件钱包的使用(第四讲)
我们前面讲到了加密货币钱包的概览,imtoken和metamask的使用。本讲的主要内容是硬件钱包 — ledger nano X的使用。 为什么选择Ledger? Ledger是法国的硬件钱包品牌,是目前销量最大的硬件钱包。产品经过了市场和安全机构的验证,使用方便。Ledger目前有三款产品,是ledger nano S,Ledger nano S plus 和 ledger nano X。Ledger nano S 只能连接电脑端并且最多安装3个币种的app。Ledger nano X 可以连接电脑端,并且可以通过蓝牙连接手机端。存储空间大,可以同时安装几十个app。因为Ledger nano X可以连接手机,适合对于操作频繁的用户购买。Ledger nano S plus则是 Ledger nano S的升级款,也可以同时安装几十个app,但是无法通过蓝牙与手机连接。在这里我推荐用户购买ledger nano S plus 或者ledger nano X,用户可以按需购买。为了保证安全,这里硬件设备只推荐从官网购买,因为无法判定其他经销商的真伪。避免因为买到假的硬件钱包或者...
Share Dialog
Share Dialog


In the crypto bear market, most decentralized spot and perpetual exchanges’ volumes have declined. However, GMX, one of the on-chain exchanges, has seen its TVL grow and almost touch US$400 million. We will analyze GMX by evaluating its strengths, token design, mechanisms, and risks, to find the reasons for its success.

GMX is a decentralized spot and perpetual exchange that supports low swap fees and zero price impact trades. Different from other DEXs, GMX designates a multi-asset pool to be the liquidity provider. Because the liquidity providers risk losses, they can earn fees from market making, swap fees, and leverage trading.

GMX provides leverage trading with up to 30x leverage and spot trading with zero price impact on Arbitrum and Avalanche. Users should transfer their money on their Arbitrum or Avalanche wallets first and connect the wallet to GMX.
Trading Information:
Users can open long or short positions of BTC, ETH, LINK, and UNI.
Users can use one of the ETH, WETH, BTC, LINK, UNI, USDC, USDT, DAI, and FRAX to be their margin.
The entry price, exit price, and liquidation price are shown below. Users can refer to them, and open new positions.

Trading fee: Users should pay 0.1% of the position size when they open and close positions.
Borrow fee: Users should pay the borrowing fee per hour. The fee per hour will vary based on utilization, it is calculated as (assets borrowed) / (total assets in the pool) * 0.01%. The “Borrow Fee” for longing or shorting is shown below the swap box.
Although there are no price impacts for trades, there can be slippage due to price movements between when your trade transaction is submitted and when it is confirmed on the blockchain. Slippage is the difference between the expected price of the trade and the execution price, this can be customized by clicking on the “…” icon next to your address at the top right of the page.
Staked GMX receives three types of rewards: Escrowed GMX, Multiplier Points, ETH / AVAX Rewards.
30% of fees generated from swaps and leverage trading are converted to ETH / AVAX and distributed to staked GMX tokens. If you are staking on Arbitrum you would receive ETH, if you are staking on Avalanche then you would receive AVAX. Note that the fees distributed are based on the number after deducting referral rewards and the network costs of keepers, keeper costs are usually around 1% of the total fees. esGMX needs to be staked for one year to be fully unlocked as GMX, during which time users also need to stake GMX/esGMX or hold GLP. esGMX can also be used for staking and can earn the same benefits as GMX.
For now, staking GMX or esGMX can get around 13.45% APR on Arbitrum and 13.41% on Avalanche.

GLP consists of an index of assets used for swaps and leverage trading. It can be minted using any index asset and burnt to redeem any index asset. The price for minting and redemption is calculated based on (the total worth of assets in the index including profits and losses of open positions) / (GLP supply).
For Arbitrum, holders of the GLP token earn Escrowed GMX rewards and 70% of platform fees distributed in ETH. For Avalanche, holders of the GLP token earn Escrowed GMX rewards and 70% of platform fees distributed in AVAX. Note that the fees distributed are based on the number after deducting referral rewards and the network costs of keepers, keeper costs are usually around 1% of the total fees.
For now, GLP staking rewards are around 23.15% APR on Avalanche and 29.41% on Arbitrum.
As GLP holders provide liquidity for leverage trading, they will make a profit when leverage traders make a loss and vice versa. However, In the history data, the leverage traders keep losing money, so the GLP holders can also get profit from their losses. The long bear market is one of the reasons.

As a new perpetual protocol, the mechanism of GMX is totally different from other perpetual DEXes. It sets a pool for the liquidity providers with a zero price impact. It uses oracle to get prices from many main exchanges to reduce the impact of large transactions on market prices.
For leverage traders, it is a good perpetual protocol, because it provides max 30x leverage trading, 0% price impact, and fair market price.
For people who want to get rewards from staking, it is also a good protocol. GMX staking users can get rewards from a 30% swap and leverage trading fees with a high APR. GLP holders can get a 70% swap and leverage trading fees with a high APR to incentivize users to provide liquidity.
Because of GMX’s mechanisms, it has risks. Because GMX provides liquidity from pools, not from users, the long and short positions are not the same. If there is a significant mismatch between the long positions and short positions, the pools will be borrowed out. When extreme market conditions occur and the overall market falls rapidly, the liquidity pool will continue to reduce its value. If a very big position gets a very large profit by leverage trading, the pool may not pay for the profit.
Users should take into account the capital status and incentive measures of the GMX protocol, and also analyze the current market environment to decide how to use GMX to gain benefits and avoid risks.
Written by: Lucio Lyu
Twitter: @imLucio_eth
In the crypto bear market, most decentralized spot and perpetual exchanges’ volumes have declined. However, GMX, one of the on-chain exchanges, has seen its TVL grow and almost touch US$400 million. We will analyze GMX by evaluating its strengths, token design, mechanisms, and risks, to find the reasons for its success.

GMX is a decentralized spot and perpetual exchange that supports low swap fees and zero price impact trades. Different from other DEXs, GMX designates a multi-asset pool to be the liquidity provider. Because the liquidity providers risk losses, they can earn fees from market making, swap fees, and leverage trading.

GMX provides leverage trading with up to 30x leverage and spot trading with zero price impact on Arbitrum and Avalanche. Users should transfer their money on their Arbitrum or Avalanche wallets first and connect the wallet to GMX.
Trading Information:
Users can open long or short positions of BTC, ETH, LINK, and UNI.
Users can use one of the ETH, WETH, BTC, LINK, UNI, USDC, USDT, DAI, and FRAX to be their margin.
The entry price, exit price, and liquidation price are shown below. Users can refer to them, and open new positions.

Trading fee: Users should pay 0.1% of the position size when they open and close positions.
Borrow fee: Users should pay the borrowing fee per hour. The fee per hour will vary based on utilization, it is calculated as (assets borrowed) / (total assets in the pool) * 0.01%. The “Borrow Fee” for longing or shorting is shown below the swap box.
Although there are no price impacts for trades, there can be slippage due to price movements between when your trade transaction is submitted and when it is confirmed on the blockchain. Slippage is the difference between the expected price of the trade and the execution price, this can be customized by clicking on the “…” icon next to your address at the top right of the page.
Staked GMX receives three types of rewards: Escrowed GMX, Multiplier Points, ETH / AVAX Rewards.
30% of fees generated from swaps and leverage trading are converted to ETH / AVAX and distributed to staked GMX tokens. If you are staking on Arbitrum you would receive ETH, if you are staking on Avalanche then you would receive AVAX. Note that the fees distributed are based on the number after deducting referral rewards and the network costs of keepers, keeper costs are usually around 1% of the total fees. esGMX needs to be staked for one year to be fully unlocked as GMX, during which time users also need to stake GMX/esGMX or hold GLP. esGMX can also be used for staking and can earn the same benefits as GMX.
For now, staking GMX or esGMX can get around 13.45% APR on Arbitrum and 13.41% on Avalanche.

GLP consists of an index of assets used for swaps and leverage trading. It can be minted using any index asset and burnt to redeem any index asset. The price for minting and redemption is calculated based on (the total worth of assets in the index including profits and losses of open positions) / (GLP supply).
For Arbitrum, holders of the GLP token earn Escrowed GMX rewards and 70% of platform fees distributed in ETH. For Avalanche, holders of the GLP token earn Escrowed GMX rewards and 70% of platform fees distributed in AVAX. Note that the fees distributed are based on the number after deducting referral rewards and the network costs of keepers, keeper costs are usually around 1% of the total fees.
For now, GLP staking rewards are around 23.15% APR on Avalanche and 29.41% on Arbitrum.
As GLP holders provide liquidity for leverage trading, they will make a profit when leverage traders make a loss and vice versa. However, In the history data, the leverage traders keep losing money, so the GLP holders can also get profit from their losses. The long bear market is one of the reasons.

As a new perpetual protocol, the mechanism of GMX is totally different from other perpetual DEXes. It sets a pool for the liquidity providers with a zero price impact. It uses oracle to get prices from many main exchanges to reduce the impact of large transactions on market prices.
For leverage traders, it is a good perpetual protocol, because it provides max 30x leverage trading, 0% price impact, and fair market price.
For people who want to get rewards from staking, it is also a good protocol. GMX staking users can get rewards from a 30% swap and leverage trading fees with a high APR. GLP holders can get a 70% swap and leverage trading fees with a high APR to incentivize users to provide liquidity.
Because of GMX’s mechanisms, it has risks. Because GMX provides liquidity from pools, not from users, the long and short positions are not the same. If there is a significant mismatch between the long positions and short positions, the pools will be borrowed out. When extreme market conditions occur and the overall market falls rapidly, the liquidity pool will continue to reduce its value. If a very big position gets a very large profit by leverage trading, the pool may not pay for the profit.
Users should take into account the capital status and incentive measures of the GMX protocol, and also analyze the current market environment to decide how to use GMX to gain benefits and avoid risks.
Written by: Lucio Lyu
Twitter: @imLucio_eth
No comments yet