hackquest logo

PharosInvoices

A mobile-first invoice financing app built for freelancers and SMEs in emerging markets, leveraging Pharos Blockchain.

Videos

Description

Pharos Invoices

A mobile-first invoice financing app built for individuals and SMEs in emerging markets, leveraging Pharos Blockchain and Self Protocol for KYC.

---

  1. šŸ”— Important Links

- Deck: [Pharos Invoices Deck](https://www.canva.com/design/DAGmHS6bc5M/QQzTOwoVlTHJ4E4NXxDa9A/view?utm_content=DAGmHS6bc5M&utm_campaign=designshare&utm_medium=link2&utm_source=uniquelinks&utlId=h4dc053f498)

- Pitch Recording: [Watch Recording](https://www.canva.com/design/DAGmIlOq2Ww/1EIwsCFKLoCzM9OraIbA2A/watch?utm_content=DAGmIlOq2Ww&utm_campaign=designshare&utm_medium=link2&utm_source=uniquelinks&utlId=h9a7c80ea3c)

- Live App: [pharos-invoices.vercel.app](https://pharos-invoices.vercel.app/)

- Demo Video: [Watch Demo](https://www.canva.com/design/DAGmfWGJh5k/K4rF7Qz3TVOSvtMle5ViTw/watch?utm_content=DAGmfWGJh5k&utm_campaign=designshare&utm_medium=link2&utm_source=uniquelinks&utlId=h2e05997e1f)
- Upto data README: https://github.com/gabrielantonyxaviour/pharos-invoices/blob/main/README.md

---

  1. šŸ“¦ What is Pharos Invoices?

Pharos Invoices is a decentralized invoice financing/payment platform built on the Pharos blockchain. Users can create invoices which are then signed and approved by businesses and their authorized signers. Based on the business's reputation, the protocol provides instant liquidity before the invoice is settled.

> The dApp is designed for a seamless, mobile-first experience using Next.js 15.

  1. ✨ Features

- Secure KYC: Zero-knowledge KYC powered by Self Protocol

- Multi-party Signing: Signatures from businesses and authorized representatives

- Protocol-based Liquidity: Instant stablecoin funding based on trust scores

- Modern UI Stack: Next.js App Router, Tailwind CSS, Shadcn UI, Radix UI

- Smart Contracts: Solidity + Hardhat for backend logic

---

  1. šŸ“œ Contract Deployment (Pharos Testnet)

  1. InvoiceSystem Contract

0xBbc7268f991b6325Ab733f7250da42243900C71a

  1. Stablecoin Tokens

| Token | Address |

| -------- | -------------------------------------------- |

| pBRL | 0x08AC2b69feB202b34aD7c65E5Ac876E901CA6216 |

| pEUR | 0x108A91edD1329e17409A86b54D4204A102534ec3 |

| pGBP | 0xc6b011774FE1393AE254d19456e76F0f1b5B09Eb |

| pGHS | 0xC044FCe37927A0Cb55C7e57425Fe3772181228a6 |

| pINR | 0x09F1aF4e16728fcF340051055159F0f9D5e00b54 |

| pJPY | 0xeC9fF9F59c52F72649EDD99eA2455AdE53eb8f83 |

| pKES | 0xf2c043F3Bd4c6D1a38e27Df2b00bC23b931068DB |

| pNGN | 0xAE82F939962BE8119f29E3a657fF6A07745fd735 |

| pUSD | 0x9Fa2f0872498f56Fec437d92D66842f162c6B922 |

| pZAR | 0x35913884404941d616Ba76a90702572236DaF317 |

---

  1. 🧠 Smart Contract Workflow

- Business Registration:

- Businesses register on-chain and assign authorized signers with a signature threshold.

- Invoice Creation:

- Users create invoices specifying amount, currency, recipient, and metadata.

- Multi-party Signing:

- Authorized signers must approve the invoice to meet the threshold.

- Claiming Funds:

- Once approved, funds in the designated stablecoin can be claimed.

- Settlement:

- Business must repay the liquidity provided by the protocol.

- Security:

- All steps are audited, permissioned, and enforce on-chain rules.

---

  1. šŸ” User Flow

1. Business Onboarding

- Registers + sets signer threshold (e.g., 2 of 3)

2. Invoice Creation

- Individual/freelancer creates invoice → business

3. Approval Process

- Signers notified → approve → reach threshold

4. Claiming Funds

- After approval, creator or business can claim stablecoin

5. Settlement

- Business repays protocol, tracked on-chain

6. Auditability

- All events logged on-chain

---

  1. šŸŽÆ Target Users

- SMEs & freelancers in need of fast invoice liquidity

- Businesses streamlining invoice payment/approval

- Fintechs and lenders looking for decentralized rails

- Developers building with Pharos & Self Protocol

---

  1. šŸš€ Go-To-Market Strategy

- Direct outreach to SME networks

- Partnerships with fintechs and banks

- Community-based growth via grants and hackathons

- Mobile-first rollout to capture emerging market users

---

  1. āš ļø Risks & Mitigations

| Risk | Mitigation |

| ---------------------------------- | ------------------------------------------ |

| Smart contract vulnerabilities | Audits, bug bounties, open-source scrutiny |

| KYC/Compliance risk | ZK KYC via Self Protocol |

| Low liquidity/adoption | Partner incentives, phased launches |

| Regulatory uncertainty | Legal review, modular architecture |

| UX friction | Streamlined flows, onboarding guides |

---

Progress During Hackathon

Built everything from Scratch during the hackathon

Tech Stack

Next
Solidity
Rust
Viem
Wagmi
TheGraph
Node
Web3

Fundraising Status

N/A

Team LeaderGGabriel Antony
Sector
RWADeFiOther