You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple DApp to dispense Algo Testnet Tokens for developers...
Features:
One Click Dispense: - We have created the DApp such that once we connect the DApp with the wallet, it will store the address in the DApp and you can simply click on Dispense. If the DApp
Recaptcha Verification: - Although it created a lot of headache for me to implement this (nearly took 4 hours🥲 just for verifying the token in the backend), It's a great feature to prevent abusing by requesting more Algos than needed.
Open Source - No Project is perfect. I am creating this Readme while testing the DApp, and I have noticed 3 more fixes. In the same way, you may also notice some issues in the DApp, just fork, code and send a PR. We will review the code and merge if it's a good one. (Don't forget to star⭐ the repo, I need the StarStruck Badge in my GitHub Profile😅)
Live Testnet Balance - For now, I had connected my testnet wallet for the functionality. It will show the balance from my testnet wallet. (In case if no funds are present, please add into it. Wallet Address - BI4UMMBDHUASBHVKHUGJKLGOQDGHN4FOYQZYO7P5LE4XMVIHZYYNCT3VTQ)
Tech Stack Used:
Frontend: React, TypeScript, TailwindCSS
Styling Dependencies: Framer Motion, Lucide React
Wallet: Pera Algo Wallet (will try to add more wallets in upcoming features)
Algorand: AlgoSDK, PeraWalletConnect, Algonode.cloud Testnet API
Backend: Express JS, Node-fetch, Cors
Security: Dotenv package for storing mnemonic, and captcha keys(or else I am doomed)
Captcha Verification: Last but not least, react-google-recaptcha, I just hate this one, but needed for security.
How It Works
User connects wallet or enters a Testnet address manually.
reCAPTCHA is shown and must be completed.
Backend verifies the CAPTCHA using Google Recaptcha.
If valid, the frontend uses algosdk to send 0.1 ALGO to the address.
Transaction ID is displayed and the dispenser balance is updated.