A real-time wallet-to-wallet messaging application that works across multiple blockchains.
- Real-time messaging using Socket.io
- On-chain messaging for Ethereum, Solana, and Base networks
- Wallet connection and authentication
- Multiple blockchain support
- Modern UI built with React, Tailwind CSS, and Shadcn components
- Responsive design for desktop and mobile
- Node.js 16+ and npm
- MetaMask extension for Ethereum/Base messaging
- Phantom wallet or similar for Solana messaging
- Clone the repository
- Install dependencies:
npm install
You can use the start script to run both the frontend and backend servers:
./start.sh
Or run them separately:
-
Start the backend server:
npm run server -
Start the frontend development server:
npm run dev
The application will be available at http://localhost:8080.
This application supports both Socket.io-based real-time messaging and on-chain messaging through blockchain networks:
- Connect with MetaMask wallet
- Messages are sent through a smart contract (implementation is simplified for demonstration)
- Real-world implementation would use a deployed messaging contract
- Connect with Phantom wallet
- Messages use Solana program (implementation is simplified for demonstration)
- Real-world implementation would use an actual deployed program
- React
- TypeScript
- Vite
- Tailwind CSS
- Socket.io
- Express
- Ethers.js for Ethereum interactions
- @solana/web3.js for Solana interactions
Build the application for production:
npm run build-all
The built application will be in the dist directory.