Vikas Joshi pfp

Vikas Joshi

@vicky2604-

8 Following
370 Followers


ted (not lasso) pfp
ted (not lasso)
@ted
somehow my dad’s favorite podcaster is following me on X he just found out and told me pretty sure this is one of his top 3 proudest moments of me lol
20 replies
10 recasts
137 reactions

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
Learing NextJs useSession from NextAuth.js is a React hook that helps manage user authentication in a Next.js app. It provides session information, including whether a user is authenticated, their details, and the loading state. This makes it easy to control access to protected pages, redirect unauthenticated users, or display user-specific content dynamically. useSWR (Stale-While-Revalidate) is a data-fetching library that improves performance by caching API responses and automatically revalidating data in the background. It reduces unnecessary API calls, ensures users see the latest data without refreshing, and provides built-in error handling. By using mutate(), SWR allows instant UI updates when data changes, making it perfect for real-time applications.
0 reply
1 recast
4 reactions

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
Thank you so much everyone for giving so much love to my last post. I will keep learning and posting my progress. Also, I am looking for a team to learn, grow, and participate in hackathons together. Thank you everyone😇
0 reply
2 recasts
17 reactions

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
I am learning Blockchain and just the idea poped up. here are some benefits Improved Accountability: If a medication error occurs, blockchain records help identify whether the issue stemmed from a doctor’s prescription or a pharmacist’s dispensing. Streamlined Patient Experience: Patients can check online if their prescription has been accepted by the pharmacist, saving them time and reducing unnecessary wait times at pharmacies. Financial Aid for Costly Treatments: Patients can receive donations for expensive treatments, such as cancer therapies, easing financial burdens. Trustworthy Transactions: Using blockchain ensures tamper-proof and secure interactions between all parties involved. Global Accessibility: As it’s deployed on the Base Sepolia Testnet, this project demonstrates the power of decentralization to create accessible solutions for everyone. Data Security with Privy: By utilizing Privy, the system protects sensitive user data while maintaining the transparency and immutability of blockchain
0 reply
0 recast
0 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
ok.., Once the doctor add the Pharmacist in the prescription, then the pharmacist would be able to get the prescription.
0 reply
0 recast
0 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
Good point! Prescriptions are designed to be anonymous, and as long as there's no direct link between the wallet address and personal identity, privacy is preserved. However, we’ll ensure that no identifiable information is inadvertently linked to the wallet to maintain confidentiality
0 reply
0 recast
1 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
Thanks bro
0 reply
0 recast
0 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
Thank you. I appreciate it. I will
0 reply
0 recast
0 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
The prescriptions are directly stored on the blockchain to ensure transparency and accountability. In some cases, a doctor might write the wrong prescription, leading to serious side effects for the patient. If this data were stored on a centralized database, it could be altered to shift the blame—for example, claiming the correct prescription was written but the pharmacist provided the wrong medication. Storing it on the blockchain ensures an immutable record, preventing tampering and making it easier to trace responsibility.
1 reply
0 recast
0 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
Excited to share my latest blockchain project! Using React, Hardhat, Privy, and deployed on the Base Sepolia Testnet, I’ve created a decentralized prescription management system designed to bring transparency and accountability to healthcare. Key Features: 1️⃣ Doctors can securely write and send prescriptions on the blockchain. 2️⃣ Pharmacists can fetch and accept prescriptions assigned to them. 3️⃣ Patients can view prescriptions and track their status online. 4️⃣ Donations: Patients can receive up to 7% of total donations to support costly treatments. Benefits: ✅ Improved Accountability: Quickly identify medication errors. ✅ Convenience: Patients save time by knowing when their prescriptions are ready. ✅ Secure Data with Privy: Sensitive data is encrypted, ensuring privacy while maintaining decentralization. ✅ Social Support: Donations help patients afford expensive treatments. explore here- https://d-pharma.vercel.app/ code- https://github.com/vicky262600/d-pharma-flow-fe
8 replies
27 recasts
124 reactions

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
Decentralized Raffle Smart Contract A decentralized lottery system where users can enter by paying a fee, and a random winner is selected automatically after a specific interval. The randomness and automation are powered by Chainlink services. 💡 Key Takeaways: Fairness with Chainlink VRF: I learned how to use Chainlink VRF to generate secure, verifiable randomness. This ensures the winner is chosen fairly and transparently. Automation with Chainlink Keepers: I implemented Keepers to monitor conditions like time intervals, player count, and contract balance, automating key parts of the process without manual intervention. Error Handling and State Management: I explored managing smart contract states using enums, ensuring smooth transitions between "OPEN" and "CALCULATING" phases while preventing invalid actions like entering the raffle during calculations. Gas Optimization: Optimizing parameters like gasLane and callBackGasLimit was crucial for making the contract efficient and cost-effective.
0 reply
0 recast
2 reactions

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
🌟 Diving into the world of blockchain development with "Mastering Ethereum" by Andreas M. Antonopoulos and Gavin Wood! This book is a treasure trove of knowledge about Ethereum, smart contracts, and decentralized apps. It's incredible to learn about the foundation of the Web3 revolution and how Ethereum is shaping the future of technology. Excited to deepen my understanding and apply these insights to real-world projects. If you're into blockchain or Web3, let's connect and share our learning journeys! 🚀 read here:- https://github.com/ethereumbook/ethereumbook/blob/develop/README.md
0 reply
0 recast
1 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
🌟 Diving into the world of blockchain development with "Mastering Ethereum" by Andreas M. Antonopoulos and Gavin Wood! This book is a treasure trove of knowledge about Ethereum, smart contracts, and decentralized apps. It's incredible to learn about the foundation of the Web3 revolution and how Ethereum is shaping the future of technology. Excited to deepen my understanding and apply these insights to real-world projects. If you're into blockchain or Web3, let's connect and share our learning journeys! 🚀 read here:- https://github.com/ethereumbook/ethereumbook/blob/develop/README.md
0 reply
0 recast
0 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
🚀 Project Completed and Hackathon Ready! 🚀 After days of hard work, I'm thrilled to share that my decentralized healthcare project is now functional! Using technologies like React, ethers.js, Redux, and Privy, I built a decentralized application (dApp) where patients can: ✅ View their prescriptions fetched directly from the blockchain. ✅ Withdraw donations securely, calculated as 7% of the current balance in the contract. Key Features: 1️⃣ Smart Contract Integration: Efficiently fetch and display patient-specific prescriptions stored on-chain. 2️⃣ Secure Donations: Patients can withdraw a portion of the donations, ensuring transparency and reliability. 3️⃣ Modern Stack: Leveraging React, ethers.js, and Privy for seamless user authentication and blockchain interaction I’m now polishing the UI for an even better user experience and participating in an upcoming hackathon with this project! Github- https://github.com/vicky262600/d-pharma-flow-fe
0 reply
0 recast
1 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
🌟 Achievement Unlocked! 🌟 Excited to share that I just successfully deployed my smart contract to the Sepolia Testnet! 🚀 This journey wasn’t without its challenges — debugging, aligning contract configurations, and ensuring seamless deployments taught me a lot about patience and attention to detail. Here's a quick overview of the project: 💡 Smart Contract Name: dPharma 🔗 Purpose: Enables secure and transparent donations for patients and prescription management using blockchain technology. 💻 Tools Used: Solidity for contract logic Hardhat for development and deployment Chainlink Oracles to fetch real-time ETH/USD conversion rates Sepolia Testnet for live testing This project embodies my belief in using blockchain to create meaningful solutions that can empower communities. Next steps include testing user interactions, enhancing features, and preparing for mainnet deployment.
0 reply
0 recast
1 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
Key features: ✅ Prescription Management: Doctors add prescriptions for patients. ✅ Donation Handling: Secure contributions with Chainlink USD conversion. ✅ Eligibility Check: Only listed patients can withdraw, ensuring fairness. ✅ Optimized Gas Usage: Fast lookups via mappings. ✅ Event Logging: Tracks donation transactions.
0 reply
0 recast
2 reactions

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
🚀 Excited to share my updated Solidity smart contract for managing healthcare donations using blockchain! Key features: ✅ Prescription Management: Doctors add prescriptions for patients. ✅ Donation Handling: Secure contributions with Chainlink USD conversion. ✅ Eligibility Check: Only listed patients can withdraw, ensuring fairness. ✅ Optimized Gas Usage: Fast lookups via mappings. ✅ Event Logging: Tracks donation transactions.
0 reply
0 recast
1 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
🚀 Project Update: D-Pharma 💊 I’m excited to share that I’ve completed the smart contract for my D-Pharma project, a blockchain-based solution aimed at revolutionizing how prescriptions are managed and accessed! 🎉 🌟 What’s Implemented? Role-Based Access Control: * Secure role validation ensures that only authorized doctors can add prescriptions. Prescription Management: * Doctors can securely add patient prescriptions to the blockchain. * Each prescription includes details like description, medications, patient, and pharmacy identifiers. User Roles: * Dynamic role assignment for users (e.g., doctor, patient, pharmacy). * Easily query user roles for added transparency. 💻 Next Steps: Building a front-end to interact with the smart contract. Testing the system to ensure secure and seamless prescription handling. I’d love to hear your thoughts or suggestions on how to enhance this project further. Let’s innovate together! 🚀
0 reply
0 recast
3 reactions

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
🚀 Project Update: D-Pharma 💊 I’m excited to share that I’ve completed the smart contract for my D-Pharma project, a blockchain-based solution aimed at revolutionizing how prescriptions are managed and accessed! 🎉 🌟 What’s Implemented? Role-Based Access Control: * Secure role validation ensures that only authorized doctors can add prescriptions. Prescription Management: * Doctors can securely add patient prescriptions to the blockchain. * Each prescription includes details like description, medications, patient, and pharmacy identifiers. User Roles: * Dynamic role assignment for users (e.g., doctor, patient, pharmacy). * Easily query user roles for added transparency. 💻 Next Steps: Building a front-end to interact with the smart contract. Testing the system to ensure secure and seamless prescription handling. I’d love to hear your thoughts or suggestions on how to enhance this project further. Let’s innovate together! 🚀
0 reply
0 recast
1 reaction

Vikas Joshi pfp
Vikas Joshi
@vicky2604-
🌟 Project Complete: Blog Posting App with React & Django REST Framework 🌟 I'm excited to share my latest project—a blog posting app—built with React for the frontend and Django REST Framework (DRF) for the backend! 🚀 This project was a fantastic learning experience, especially transitioning from the MERN stack. I noticed many similarities: Models in Django are like Schemas in Mongoose. DRF views resemble Express.js controllers, handling API logic. URLs in Django work like routes in Express.js. Serializers stood out as they streamline validation and convert Django models into JSON. They simplify API responses and input handling. I also implemented JWT (JSON Web Tokens) for secure user authentication, enabling features like registration, login, and protected blog management. ✨ The Result: A full-stack blog app where users can securely create, view, and manage blogs. This project reinforced my full-Stack development skills and introduced me to the power of DRF. Onward to the next challenge!
0 reply
0 recast
1 reaction