I present Felina Hub #5258
pacelliv
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
@pacelliv Great! It looks so amazing!❤️🔥 It shows your efforts keep it up 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
-
@pacelliv great job man, i'm impressed. I would love to work with you forward in future. Well, how long you've been learning Blockchain Dev |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This project consist of a faucet and a transaction explorer for my ERC20. It took some time, effort and pain to put this together so I guess I should show it lol.
I'm going to start with this remainder:⚠️ NEVER USE A WALLET WITH REAL MONEY TO TEST A PROJECT LIKE THIS ONE⚠️ .
Let me give, hopefully, a brief description of this project:
The site consist of three pages:
In this page you can request tokens, the token is deployed on Mumbai and Sepolia so you must connect your wallet to one of these chains in order to request tokens. Besides the connect button there's is a button to select a chain.
After picking a chain you can request tokens by clicking on the request button. A request will be submitted and a modal will pop up to display the status of the request. After the transaction is mined you will be able to add your tokens to your wallet using the
add token to wallet
button.The requests are handled through a server I built with Node and Express and to interact with the blockchain I used Etherjs. Basically you make a request and after passing a few checks the server calls the
transfer
method of the token contract and the tokens are send to your wallet.This page show a table of the transactions of the token. It's a minimal version of Etherscan.
For now this page only presents a few cards with stats.
The site is responsive except the table component that has proven to be quite challenging.
The loading of the data is slow, I guess not paying to host the API has its cons so give it a couple of seconds to load everything.
I have not provided any error component or a 404 page in case of an error. Nothing should break but in the weird case it happens. All I have to say is: I'm sorry lol.
Live Demo:
Repos:
I understand that security is important so these are the addresses of the token in their respective chains, in case anyone wants to see what the contracts have: https://github.com/pacelliv/felina-hub/blob/master/src/constants/felinaTokenContractAddresses.json
In my mind it has more things but there's so much I can do alone so I'll see If I can add more in the future.
Beta Was this translation helpful? Give feedback.
All reactions