#ZKSwap V2 Token Listing Feedback HPGC & GCryp Tokens#
The tokens that I added were:
HPGC contract: 0x48f76287db8ac330ec9c6a78f05119dc453a2a94
Gcryp contract: 0x94532b1f05387bff39eb83bf4e63171c210ad9c3
For speed I used the following template I found for deploying the tokens on the testnet: Necessary code to generate an ERC20 Token · GitHub
The first issue was with adding liquidity to a new token and how it calculated the value after creating the LP tokens. For example in each case (of adding custom tokens to zkswap) I first generated a total token supply of 10 Million. Next I would add the token to ZKS by searching the contract address of my newly generated token and manually listing it. Once listed I would then proceed to deposit 2000000 of said token to ZKS Layer 2. After the deposit I would proceed to add liquidity by creating an LP token that consisted of my 2000000 token deposit and 2 Eth. In each instance I noted the following behavior. Lets assume the price of ETH in USD is $2,000.00 per Eth. I add 2 Eth (worth $4,000 USD total using our assumption) and 2000000 of my token worth $0.00 USD and combine them into an LP token my expected value of that token is $4,000.00. However in actuality the value would show $8,000 or maybe $7996.41 or something incredibly close to double the initial value of liquidity.
Here are screen shots that demonstrate what I mean.
This is the screenshot of just after having deposited 2,000,000 freshly minted Gcryp tokens. What is missing is the following deposit of 0.4 more Eth as I wanted to add 2 Eth to the liquidity pool I created with Gcryp. Here the computed value of Eth value is approximately $9655.01.
— I had to break this into multiple posts due to image limit for new users, so please continue reading in responses below –