EDU Wallet is a Telegram Mini App that allows users to create and manage a wallet for EDU tokens on the Open Campus Codex Sepolia network. This app provides a user-friendly interface for creating wallets, sending and receiving EDU tokens, and viewing wallet balances.
Try the bot here: https://t.me/EduWalletBot/eduwallet
- Create a new EDU wallet
- View wallet balance
- Send EDU tokens to other addresses
- Receive EDU tokens (generate QR code for wallet address)
- Copy wallet address to clipboard
- Scan QR codes for easy address input
- React.js
- Ethers.js
- TailwindCSS
- react-qr-scanner
- Node.js (v14 or later)
- npm (v6 or later)
-
Clone the repository:
git clone https://github.com/kaankacar/edu-wallet-telegram-app.git cd edu-wallet-telegram-app
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory and add your RPC URL:REACT_APP_RPC_URL=https://open-campus-codex-sepolia.drpc.org
To run the app in development mode:
npm start
Open http://localhost:3000 to view it in the browser.
To build the app for production:
npm run build
This will create a build
folder with the production-ready app.
-
Deploy the built app to a hosting service of your choice (e.g., Netlify, Vercel, GitHub Pages).
-
Set up a Telegram Bot:
- Create a new bot via BotFather on Telegram
- Use the
/newapp
command to create a Web App for your bot - Set the Web App URL to the URL where you hosted your app
- Open the Telegram bot: https://t.me/EduWalletBot/eduwallet
- Start the bot to access the EDU Wallet Mini App
- Use the interface to create a wallet, send/receive EDU tokens, and manage your balance
This is a basic implementation and should not be used for managing large amounts of tokens without further security enhancements. Consider the following for a production environment:
- Implement proper key management and storage
- Add more robust error handling
- Implement proper transaction signing (possibly on a backend)
- Add more user feedback for operations
- Implement proper state management (e.g., with Redux)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
This app is for educational purposes only. Use at your own risk. The developers are not responsible for any loss of funds or other issues that may arise from using this application.