A decentralized social platform built on Solana blockchain where users can share their achievements and milestones in the Web3 space.
- Create and share posts about your blockchain/Web3 achievements
- Tag posts with relevant categories
- Real-time updates using Solana's fast blockchain
- Secure authentication using Solana wallets
- Modern UI with gradient effects and glass-morphism design
- Responsive layout for all devices
- Frontend: Vue.js 3
- Blockchain: Solana
- Smart Contract: Rust with Anchor Framework
- Wallet Integration: Solana Wallet Adapter
- Styling: Tailwind CSS
- Node.js (v16 or higher)
- Rust (latest stable version)
- Solana CLI tools
- Anchor Framework
- A Solana wallet (Phantom recommended)
- Clone the repository:
git clone https://github.com/RohanSai22/solX.git
cd solX- Install frontend dependencies:
cd app
npm install- Install Solana program dependencies:
cd ../program-rust
npm install- Build the Solana program:
anchor build- Deploy the program:
anchor deploy- Start the frontend application:
cd ../app
npm run serveThe frontend is built with Vue.js 3 and uses the following key components:
PostForm.vue: Form for creating new postsPostCard.vue: Component for displaying individual postsPostList.vue: List of posts with sorting and filteringPageProfile.vue: User profile pagePageUsers.vue: User discovery page
The Solana program is written in Rust using the Anchor framework:
lib.rs: Main program logicPost: Account structure for storing postssendPost: Instruction for creating new postsupdatePost: Instruction for updating existing posts
- Update program ID in
Anchor.toml:
[programs.devnet]
sol_linked = "YOUR_PROGRAM_ID"-
Update program ID in
app/src/idl/sol_linked.json -
Configure your Solana wallet to use Devnet
The application is configured to use Solana's Devnet by default. To switch networks:
- Update the cluster URL in
app/src/composables/useWorkspace.js - Update your wallet network settings
- Redeploy the program if necessary
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE.txt file for details.
- Solana for the blockchain platform
- Anchor Framework for the development framework
- Vue.js for the frontend framework
- Tailwind CSS for the styling
For support, please open an issue in the GitHub repository or contact the maintainers.
- v1.0.0: Initial release with basic post creation and viewing functionality
- v1.1.0: Added post editing and user profiles
- v1.2.0: Implemented tag-based filtering and search
Made with ❤️ by Rohan