Inspiration
Initially we were thinking of building a cross-border payment platform using crypto rails, but after one of us had a terrible encounter with a pharmacy (missing medication, out-of-stock options), we wondered why prescriptions were still using antiquated methods and resolved to find a solution.
What it does
Imagine collecting your medicine at any pharmacy you want by just scanning a QR code.
We convert prescriptions to fractional NFTs (Non-fungible tokens), that doctors mint to patients as their "Prescription", which is done in seconds and involves only the need to scan the patient's QR code. Patients can then redeem their prescription at any pharmacy that has stock by transferring the amount of medication they require to the pharmacist.
How we built it
Long-time users of the sequence API, we decided to use that because of its intuitive UI and low entry barrier for new users to sign up (such as "Sign in with Google!").
Once we decided on the concept of using fractional tokens (ERC-20 tokens for each unit of medication inside a single ERC-721 token acting as the prescription), it was a simple matter of using smart contracts in solidity to make permissions enabled and transferring easy.
Challenges we ran into
We ran into a tough situation with the history feature (allowing users to see theirs/their patient's medication history), and also with encrypting data.
To safeguard user's data, we plan to encrypt all medication data inside the tokens so it remains private - something we couldn't achieve due to time constraints.
Accomplishments that we're proud of
We're immensely proud of our concept, application UI, and general simplicity. Taking the idea of an age-old system that has so many verification and fraudulence issues, and solving it is something we hope everyone can see has immense value for all.
What we learned
As a first, we learnt about the difficulties and intricacies involved in the medication process. From understanding current solutions (like data mining for prescription fraud detection)
What's next for safeRx
Security & Data Analysis.
- We have unprecedented access to invaluable insights into medication control, drug interactions, and patient behaviors
- This data can be analysed and used to improve patient-care, optimize health costs, and ultimately benefit patients.
Built With
- alchemyapi
- hardhat
- next.js
- nft
- node.js
- polygon
- sequence
- solidity
- typescript
- vercel

Log in or sign up for Devpost to join the conversation.