Purple Pay
Scan and pay payment protocol to send and accept cryptocurrency payments globally
Screenshots





Problem Statement
Purple Pay is built on Polygon for instantaneous transactions, fees that are fractions of a penny, and a net-zero environmental impact.The original use case for cryptocurrency was Bitcoin- self-sovereign money. Bitcoin’s core ability to make cross-border payments happen without an intermediary was revolutionary.Despite a decade of innovation in the space, it has continued to be a speculative asset with limited real-world usage. The ability of people to transact with each other ensures we have access to products, services, and an incentive for people to build those products/services.Payment infrastructure, ie. the ability to allow people to send and receive payments is a fundamental need. We believe crypto payment infrastructure will be pivotal in helping people get access to credit.Here is how people can use Purple Pay:Send and receive crypto:Create unique links to receive funds in your walletAccept Payments:Merchants can accept payments now through Purple Pay APIScan and pay:Clean payments with scan and pay infrastructure, no more lengthy wallet addressesView reports:Manage payments and view reports at the click of a button. No need to spend time evaluating block explorer transactionsTo make it easier for folks to make payments going forward we want to integrate Biconomy’s relayer protocol along to make transactions gasless. We also seek to provide multi-chain and multi-coin support by using Etherspot’s SDK and LiFi’s bridge API.Our belief is that most governments have a strong anti-crypto stand because they see it as a way for money-laundering activities and other tax evasion practices.Our vision with Purple Pay is to solve regulatory concerns by creating a KYC-compliant protocol through ZK-enabled-decentralized identity that adheres to money-laundering regulations globally. At the same time, it does not reveal the identity and other details of the people making those transactions.
Solution
Building a payment protocol is hard. Building one for scale is harder. Here are a few challenges that we came across while building out Purple Pay:Secure authentication:Challenge: Ensure maximum amount of security so no fraudulent transactions can take placeSolution: Using the Django framework that is battle tested for its security including CSRF token, click-jacking, and cors protectionSession-based paymentsChallenge: Tracking the status of the payment on a real-time basis while having a limited validitySolution: Created a session-based payment system for the user to have 60 minutes to make payment.Permissionless money flow : Leveraging smart contract to move the money to the merchantChallenge: Finding a permissionless way to disburse amount to the merchant while taking a commission in a secure non-custodial waySolution: Made a factory contract that served as a permissionless way to carry out transactions to a merchant smart contract wallet during merchant onboardingAnonymity for merchant information:Challenge: Restricting merchant informationSolution: We are only collecting email address and phone numberDatabase architectureChallenge: Multiple stakeholders and moving parts- merchants, smart contract, authenticationSolution: Designed the tables to reduce repetitive and redundant queriesAPI contract design with respect to speed/scalability and securityChallenge: There’s a trade-off because the number of validations and verifications we increase, the more bottlenecks it introduces and reduces the velocity of transactions and adds friction to the systemSolution: Introduced industry standard JSON token which allows you the flexibility of limited time validity of the token enabling modulating the time it is valid- reducing the chances of unauthorized usage.
Hackathon
ETHIndia 2022
2022
Prizes
- 🏆
🏊 The Graph — Pool Prize