Content pfp
Content
@
https://warpcast.com/~/channel/zapper
0 reply
0 recast
0 reaction

Project7 pfp
Project7
@project7
Currently, Mint.club has a โ€œMy Portfolioโ€ tab that directs our users to the /zapper site, and it would be fantastic if they could view Mint.club tokens directly on Zapper.
6 replies
0 recast
5 reactions

Sangohan.base.eth ๐ŸŸ  pfp
Sangohan.base.eth ๐ŸŸ 
@sangohan
I created a small front-end that, when connected with Thirdweb, displays all the Mint Club tokens held on Base and Degen for now. For HAM, Iโ€™m having a bit of trouble due to the stack lock tokens, etc. I canโ€™t figure out where to retrieve them ๐Ÿ˜…. The tabs are dynamic based on the parent tokens. Each parent token displays the list of child tokens. Unfortunately, I donโ€™t have time to refine it and put it online. But I hope to have time this weekend to release at least a small version for testing. Personally, I use it every day and itโ€™s a game-changer for me. But the APIs for prices in $ are expensive too ($NaN) ๐Ÿ˜ซ.
2 replies
0 recast
3 reactions

sebayaki.eth pfp
sebayaki.eth
@if
This is great! 16384 ๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป How do you get all token balances? Do you call token.balanceOf for all 20k tokens on Base, or do you use indexed data from some APIs?
1 reply
0 recast
1 reaction

Sangohan.base.eth ๐ŸŸ  pfp
Sangohan.base.eth ๐ŸŸ 
@sangohan
Tysm ๐Ÿ™ ! Actually, I have a backend that I use as an API for different tests when I develop. At the moment, here's how I do it for the /base page, for example: I retrieve all the tokens held on the base network by the connected wallet I filter out spam I call getReserveToken and return to the front-end only the tokens that have a valid reserveToken In the frontend, based on the unique reserveTokens, I create the tabs dynamically I call getPriceForNextMint to display a value My backend calls Coingecko for the $ value of the reserveToken I store the value to avoid calling the API unnecessarily and I perform the necessary calculations to display the correct values. For the route, itโ€™s nice because for each chain, I just need to modify the beginning of the URL via variables or environment variables since itโ€™s always the same calls to get the list of held tokens (/api?module=account&action=tokenlist&address=${address}) That's how it works for now.๐Ÿ˜„
2 replies
0 recast
2 reactions