A secure and decentralized messaging platform built on blockchain technology using Vue 3, Vite, and Ethereum Smart Contracts.
View Demo • Features • Getting Started • Contributing
- Wallet Integration: Connect with MetaMask and other Web3 wallets
- Decentralized Messaging: Direct peer-to-peer messaging via smart contracts
- User Profiles: Create and manage your blockchain identity
- Favorites System: Add frequent contacts to favorites for quick access
- Real-time Updates: Instant message delivery and status updates
- Responsive Design: Seamless experience across all devices
- Vue.js: A progressive JavaScript framework for building user interfaces.
- Vite: A build tool that significantly improves the front-end development experience.
- Solidity: A programming language for writing smart contracts on the Ethereum blockchain.
- Web3.js: A library for interacting with the Ethereum blockchain.
- Clone the repository:
git clone https://github.com/gautham2k3/CipherLink.git
cd CipherLink- Install dependencies:
npm install- Start development server:
npm run dev- Build for production:
npm run buildThe application uses the following smart contract functions:
createAccount(string name): Register new usergetUserName(): Get current user's namegetAllAppUsers(): List all registered userssendMessage(address friend_key, string _msg): Send messagereadMessage(address friend_key): Retrieve chat historycheckUserExists(address pubkey): Verify user registration
The application requires:
- MetaMask or compatible Web3 wallet
- Connection to Ethereum network
- Smart contract deployed and configured
The application is configured for deployment on Vercel with the following specifications:
- Build Command:
npm run build - Output Directory:
dist - Framework Preset: Vite
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to your branch
- Open a Pull Request
This project is for demonstration and educational purposes. Use in production environments requires additional security measures and auditing.
This project is licensed under the MIT License - see the LICENSE file for details.